Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Examples.InverseXRegularized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Examples.InverseXRegularized") translateModel(Buildings.Utilities.Math.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Examples.InverseXRegularized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001084/0.001084, allocations: 100.9 kB / 16.27 MB, free: 6.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001168/0.001168, allocations: 189.8 kB / 17.2 MB, free: 5.953 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.534/1.534, allocations: 205.1 MB / 223.1 MB, free: 12.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.819/1.819, allocations: 292.3 MB / 0.5495 GB, free: 17.53 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001471/0.001471, allocations: 71.89 kB / 0.6722 GB, free: 6.559 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2651/0.2665, allocations: 114.6 MB / 0.784 GB, free: 3.883 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.InverseXRegularized): time 0.002976/0.2696, allocations: 1.429 MB / 0.7854 GB, free: 2.438 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0014/0.271, allocations: 0.835 MB / 0.7862 GB, free: 1.594 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.819e-05/0.271, allocations: 0 / 0.7862 GB, free: 1.594 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 4.092e-05/0.2711, allocations: 3.938 kB / 0.7862 GB, free: 1.59 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 5.909e-05/0.2712, allocations: 3.938 kB / 0.7862 GB, free: 1.586 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004725/0.2717, allocations: 127.5 kB / 0.7864 GB, free: 1.461 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 8.204e-05/0.2717, allocations: 31.92 kB / 0.7864 GB, free: 1.43 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 9.967e-05/0.2719, allocations: 4 kB / 0.7864 GB, free: 1.426 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 5.445e-05/0.2719, allocations: 19.92 kB / 0.7864 GB, free: 1.406 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 6.858e-05/0.272, allocations: 19.97 kB / 0.7864 GB, free: 1.387 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.259e-05/0.272, allocations: 4 kB / 0.7864 GB, free: 1.383 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000465/0.2725, allocations: 327.3 kB / 0.7868 GB, free: 1.062 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 2.649e-05/0.2725, allocations: 7.938 kB / 0.7868 GB, free: 1.055 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 3.187e-05/0.2726, allocations: 15.92 kB / 0.7868 GB, free: 1.039 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0003122/0.2729, allocations: 191.9 kB / 0.787 GB, free: 0.8516 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.2729, allocations: 0 / 0.787 GB, free: 0.8516 MB / 0.6544 GB Notification: Performance of FrontEnd: time 4.659e-06/0.2729, allocations: 0 / 0.787 GB, free: 0.8516 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 7.574e-06/0.2729, allocations: 3.938 kB / 0.787 GB, free: 0.8477 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005892/0.2735, allocations: 367.5 kB / 0.7873 GB, free: 452 kB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.899e-05/0.2735, allocations: 16.03 kB / 0.7873 GB, free: 436 kB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004825/0.274, allocations: 64.84 kB / 0.7874 GB, free: 372 kB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001463/0.2742, allocations: 168.3 kB / 0.7876 GB, free: 164 kB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.61e-05/0.2742, allocations: 384 / 0.7876 GB, free: 164 kB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.687e-05/0.2742, allocations: 4.359 kB / 0.7876 GB, free: 160 kB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003112/0.2746, allocations: 85.94 kB / 0.7876 GB, free: 68 kB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.884e-06/0.2746, allocations: 4 kB / 0.7876 GB, free: 64 kB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.374e-05/0.2746, allocations: 4 kB / 0.7876 GB, free: 60 kB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.2746, allocations: 0 / 0.7876 GB, free: 60 kB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.4976/0.7723, allocations: 83.12 kB / 0.7877 GB, free: 48.91 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006055/0.7729, allocations: 309.4 kB / 0.788 GB, free: 48.64 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003795/0.7733, allocations: 92.41 kB / 0.7881 GB, free: 48.62 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001992/0.7735, allocations: 56.89 kB / 0.7882 GB, free: 48.61 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.168e-05/0.7735, allocations: 3.375 kB / 0.7882 GB, free: 48.61 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.076e-05/0.7736, allocations: 33.19 kB / 0.7882 GB, free: 48.57 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=2): time 2.595e-06/0.7736, allocations: 0 / 0.7882 GB, free: 48.57 MB / 0.6544 GB Notification: Performance of matching and sorting (n=2): time 0.0007031/0.7743, allocations: 166.5 kB / 0.7884 GB, free: 48.54 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.683e-05/0.7743, allocations: 51.41 kB / 0.7884 GB, free: 48.48 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.729e-05/0.7744, allocations: 102.9 kB / 0.7885 GB, free: 48.38 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.355e-05/0.7744, allocations: 27.7 kB / 0.7885 GB, free: 48.35 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 3.527e-05/0.7744, allocations: 80.64 kB / 0.7886 GB, free: 48.27 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.94e-05/0.7745, allocations: 16.03 kB / 0.7886 GB, free: 48.27 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.288e-05/0.7745, allocations: 19.28 kB / 0.7886 GB, free: 48.25 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 5.55e-05/0.7746, allocations: 311.8 kB / 0.7889 GB, free: 47.94 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001937/0.7748, allocations: 46.61 kB / 0.789 GB, free: 47.94 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001862/0.775, allocations: 43.94 kB / 0.789 GB, free: 47.94 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003628/0.7754, allocations: 94.89 kB / 0.7891 GB, free: 47.93 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.7754, allocations: 3.594 kB / 0.7891 GB, free: 47.93 MB / 0.6544 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0004088/0.7758, allocations: 128.6 kB / 0.7892 GB, free: 47.9 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.79e-05/0.7758, allocations: 6.406 kB / 0.7893 GB, free: 47.9 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.7758, allocations: 2.25 kB / 0.7893 GB, free: 47.9 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.871e-05/0.7758, allocations: 0 / 0.7893 GB, free: 47.9 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001633/0.776, allocations: 23.16 kB / 0.7893 GB, free: 47.9 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.333e-06/0.776, allocations: 2.969 kB / 0.7893 GB, free: 47.9 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001059/0.7761, allocations: 17.78 kB / 0.7893 GB, free: 47.9 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.764e-06/0.7762, allocations: 2.5 kB / 0.7893 GB, free: 47.9 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.922e-05/0.7762, allocations: 105.8 kB / 0.7894 GB, free: 47.79 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.766e-05/0.7763, allocations: 12.66 kB / 0.7894 GB, free: 47.78 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.566e-05/0.7763, allocations: 9.953 kB / 0.7894 GB, free: 47.78 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.547e-06/0.7763, allocations: 2.656 kB / 0.7894 GB, free: 47.78 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/0.7763, allocations: 0 / 0.7894 GB, free: 47.78 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-06/0.7763, allocations: 1.969 kB / 0.7894 GB, free: 47.78 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001283/0.7765, allocations: 169.3 kB / 0.7896 GB, free: 47.59 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.532e-06/0.7765, allocations: 3.938 kB / 0.7896 GB, free: 47.59 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001365/0.7766, allocations: 23.94 kB / 0.7896 GB, free: 47.59 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.385e-06/0.7766, allocations: 1.266 kB / 0.7896 GB, free: 47.59 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.137e-05/0.7766, allocations: 6.812 kB / 0.7896 GB, free: 47.59 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.41e-07/0.7766, allocations: 0 / 0.7896 GB, free: 47.59 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.7766, allocations: 0 / 0.7896 GB, free: 47.59 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004357/0.7771, allocations: 218.8 kB / 0.7898 GB, free: 47.46 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.339e-05/0.7771, allocations: 81.05 kB / 0.7899 GB, free: 47.36 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.128e-05/0.7771, allocations: 9.156 kB / 0.7899 GB, free: 47.36 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001321/0.7773, allocations: 15.89 kB / 0.7899 GB, free: 47.36 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.125e-05/0.7773, allocations: 2.688 kB / 0.7899 GB, free: 47.36 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.63e-06/0.7774, allocations: 3.656 kB / 0.7899 GB, free: 47.36 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 2.392e-05/0.7774, allocations: 82.48 kB / 0.79 GB, free: 47.29 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7774, allocations: 0 / 0.79 GB, free: 47.29 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002399/0.7776, allocations: 15.47 kB / 0.79 GB, free: 47.29 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001702/0.7778, allocations: 108.8 kB / 0.7901 GB, free: 47.2 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.000456/0.7783, allocations: 95.19 kB / 0.7902 GB, free: 47.2 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.7783, allocations: 0 / 0.7902 GB, free: 47.2 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0002007/0.7785, allocations: 54.62 kB / 0.7903 GB, free: 47.2 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003242/0.7788, allocations: 11.81 kB / 0.7903 GB, free: 47.19 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005349/0.7794, allocations: 188.7 kB / 0.7905 GB, free: 47.06 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001157/0.7795, allocations: 0.6765 MB / 0.7911 GB, free: 46.36 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.211e-05/0.7795, allocations: 10.47 kB / 0.7911 GB, free: 46.36 MB / 0.6544 GB Notification: Performance of SimCode: time 2.21e-07/0.7795, allocations: 0 / 0.7911 GB, free: 46.36 MB / 0.6544 GB Notification: Performance of Templates: time 0.002439/0.782, allocations: 0.8838 MB / 0.792 GB, free: 46.32 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Examples.InverseXRegularized.makefile (rm -f Buildings_8_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Examples.InverseXRegularized.sim & ./Buildings_8_Buildings.Utilities.Math.Examples.InverseXRegularized -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe 2>&1)