Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling") translateModel(IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007966/0.007966, allocations: 106.2 kB / 15.74 MB, free: 6 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.00174/0.00174, allocations: 198.2 kB / 16.68 MB, free: 5.918 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.371/1.371, allocations: 222.9 MB / 240.4 MB, free: 4.168 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7875/0.7875, allocations: 132.2 MB / 422.7 MB, free: 1.609 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00131/0.001311, allocations: 66.11 kB / 0.5813 GB, free: 0.8633 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1748/0.1761, allocations: 80.21 MB / 0.6596 GB, free: 13.51 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling): time 0.003521/0.1797, allocations: 2.019 MB / 0.6616 GB, free: 11.47 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.000968/0.1807, allocations: 0.5415 MB / 0.6621 GB, free: 10.93 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001364/0.1808, allocations: 4 kB / 0.6621 GB, free: 10.92 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001309/0.181, allocations: 19.73 kB / 0.6622 GB, free: 10.9 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001132/0.1811, allocations: 43.58 kB / 0.6622 GB, free: 10.86 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002372/0.1814, allocations: 55.86 kB / 0.6623 GB, free: 10.8 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002226/0.1816, allocations: 187.2 kB / 0.6624 GB, free: 10.62 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001789/0.1818, allocations: 70.31 kB / 0.6625 GB, free: 10.55 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001541/0.1819, allocations: 79.7 kB / 0.6626 GB, free: 10.47 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001277/0.1821, allocations: 79.61 kB / 0.6627 GB, free: 10.39 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 4.346e-05/0.1821, allocations: 20 kB / 0.6627 GB, free: 10.38 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 2.943e-05/0.1822, allocations: 16 kB / 0.6627 GB, free: 10.36 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.18e-05/0.1822, allocations: 27.92 kB / 0.6627 GB, free: 10.33 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 8.801e-05/0.1823, allocations: 83.53 kB / 0.6628 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002153/0.1825, allocations: 183.2 kB / 0.663 GB, free: 10.07 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.1825, allocations: 0 / 0.663 GB, free: 10.07 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.393e-06/0.1825, allocations: 0 / 0.663 GB, free: 10.07 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.683e-06/0.1826, allocations: 0 / 0.663 GB, free: 10.07 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0008108/0.1834, allocations: 490.8 kB / 0.6634 GB, free: 9.543 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.764e-05/0.1834, allocations: 8.031 kB / 0.6635 GB, free: 9.535 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.581e-05/0.1835, allocations: 20.75 kB / 0.6635 GB, free: 9.516 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001993/0.1837, allocations: 204 kB / 0.6637 GB, free: 9.277 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.617e-05/0.1838, allocations: 38.27 kB / 0.6637 GB, free: 9.234 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.375e-05/0.1838, allocations: 16.38 kB / 0.6637 GB, free: 9.219 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000378/0.1842, allocations: 161.6 kB / 0.6639 GB, free: 9.055 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.211e-05/0.1842, allocations: 0 / 0.6639 GB, free: 9.055 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.829e-05/0.1842, allocations: 8 kB / 0.6639 GB, free: 9.047 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.1843, allocations: 0 / 0.6639 GB, free: 9.047 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006452/0.1849, allocations: 145.2 kB / 0.664 GB, free: 8.906 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008747/0.1858, allocations: 0.5347 MB / 0.6645 GB, free: 8.309 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004549/0.1863, allocations: 145.7 kB / 0.6647 GB, free: 8.16 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000221/0.1865, allocations: 76.8 kB / 0.6648 GB, free: 8.082 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.554e-05/0.1865, allocations: 3.984 kB / 0.6648 GB, free: 8.078 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.852e-05/0.1866, allocations: 34.56 kB / 0.6648 GB, free: 8.035 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=12): time 1.332e-06/0.1866, allocations: 0 / 0.6648 GB, free: 8.035 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12): time 0.0007638/0.1873, allocations: 225.2 kB / 0.665 GB, free: 7.809 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.177e-05/0.1874, allocations: 59.41 kB / 0.6651 GB, free: 7.738 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001899/0.1876, allocations: 148.4 kB / 0.6652 GB, free: 7.586 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.085e-05/0.1876, allocations: 29.7 kB / 0.6652 GB, free: 7.551 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 8.051e-05/0.1877, allocations: 128.2 kB / 0.6654 GB, free: 7.418 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.421e-05/0.1877, allocations: 39.39 kB / 0.6654 GB, free: 7.379 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001274/0.1879, allocations: 33.7 kB / 0.6654 GB, free: 7.34 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001499/0.188, allocations: 322.8 kB / 0.6657 GB, free: 7.016 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000204/0.1882, allocations: 59.95 kB / 0.6658 GB, free: 6.957 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003634/0.1886, allocations: 90.52 kB / 0.6659 GB, free: 6.859 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003858/0.189, allocations: 141.2 kB / 0.666 GB, free: 6.715 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.648e-06/0.189, allocations: 7.938 kB / 0.666 GB, free: 6.707 MB / 0.4981 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0006052/0.1896, allocations: 189.3 kB / 0.6662 GB, free: 6.516 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.512e-05/0.1897, allocations: 4 kB / 0.6662 GB, free: 6.512 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.529e-06/0.1897, allocations: 0 / 0.6662 GB, free: 6.512 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.892e-05/0.1897, allocations: 4 kB / 0.6662 GB, free: 6.508 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000192/0.1899, allocations: 40.03 kB / 0.6662 GB, free: 6.469 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.262e-06/0.1899, allocations: 3.938 kB / 0.6662 GB, free: 6.465 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001371/0.19, allocations: 31.81 kB / 0.6663 GB, free: 6.434 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.979e-05/0.1901, allocations: 4 kB / 0.6663 GB, free: 6.43 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 2 (con.y_boolean,$PRE.con.y_boolean) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 16 * 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 9.994e-05/0.1902, allocations: 128.4 kB / 0.6664 GB, free: 6.297 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.323e-05/0.1902, allocations: 11.84 kB / 0.6664 GB, free: 6.285 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.793e-05/0.1903, allocations: 20.7 kB / 0.6664 GB, free: 6.258 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.1903, allocations: 4 kB / 0.6664 GB, free: 6.254 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.1903, allocations: 0 / 0.6664 GB, free: 6.254 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.1903, allocations: 0 / 0.6664 GB, free: 6.254 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002959/0.1906, allocations: 249.4 kB / 0.6667 GB, free: 5.961 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.923e-06/0.1906, allocations: 0 / 0.6667 GB, free: 5.961 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000192/0.1908, allocations: 35.91 kB / 0.6667 GB, free: 5.926 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/0.1908, allocations: 0 / 0.6667 GB, free: 5.926 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.681e-05/0.1908, allocations: 4 kB / 0.6667 GB, free: 5.922 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.1908, allocations: 0 / 0.6667 GB, free: 5.922 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.031e-06/0.1908, allocations: 0 / 0.6667 GB, free: 5.922 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006817/0.1915, allocations: 343.2 kB / 0.667 GB, free: 5.57 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.705e-05/0.1916, allocations: 96.89 kB / 0.6671 GB, free: 5.457 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.033e-05/0.1916, allocations: 4.062 kB / 0.6671 GB, free: 5.453 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001571/0.1918, allocations: 23.97 kB / 0.6672 GB, free: 5.43 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.716e-05/0.1919, allocations: 7.984 kB / 0.6672 GB, free: 5.422 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.118e-05/0.1919, allocations: 8 kB / 0.6672 GB, free: 5.414 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 8.644e-05/0.192, allocations: 111.2 kB / 0.6673 GB, free: 5.305 MB / 0.4981 GB Notification: Performance of sort global known variables: time 3.21e-07/0.192, allocations: 0 / 0.6673 GB, free: 5.305 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004117/0.1924, allocations: 32 kB / 0.6673 GB, free: 5.273 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (cap.T) * Number of discrete variables: 1 (con.y_boolean) * Number of discrete states: 1 (con.y_boolean) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 12 * 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.000122/0.1925, allocations: 107.2 kB / 0.6674 GB, free: 5.16 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0005296/0.1931, allocations: 139.8 kB / 0.6675 GB, free: 5.023 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.408e-06/0.1931, allocations: 0 / 0.6675 GB, free: 5.023 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002113/0.1933, allocations: 80 kB / 0.6676 GB, free: 4.945 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004744/0.1938, allocations: 19.92 kB / 0.6676 GB, free: 4.926 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007786/0.1946, allocations: 396.7 kB / 0.668 GB, free: 4.516 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003219/0.1949, allocations: 0.7158 MB / 0.6687 GB, free: 3.773 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 6.187e-05/0.195, allocations: 8.547 kB / 0.6687 GB, free: 3.766 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.243e-05/0.195, allocations: 15.44 kB / 0.6687 GB, free: 3.75 MB / 0.4981 GB Notification: Performance of SimCode: time 4.548e-06/0.195, allocations: 0 / 0.6687 GB, free: 3.75 MB / 0.4981 GB Notification: Performance of Templates: time 0.004581/0.1996, allocations: 1.621 MB / 0.6703 GB, free: 2.148 MB / 0.4981 GB make -j1 -f IDEAS_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling.makefile (rm -f IDEAS_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling.pipe ; mkfifo IDEAS_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling.pipe >> ../files/IDEAS_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling.sim & ./IDEAS_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling.pipe 2>&1)