Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00136/0.001361, allocations: 113.3 kB / 17.08 MB, free: 6.012 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001333/0.001333, allocations: 193.2 kB / 20.03 MB, free: 3.082 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.436/1.436, allocations: 222.9 MB / 245.7 MB, free: 4.219 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.177/1.177, allocations: 173.4 MB / 471.3 MB, free: 6.641 MB / 366.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_Heating,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating") translateModel(IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001929/0.001929, allocations: 73.12 kB / 0.6489 GB, free: 23 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1675/0.1695, allocations: 89.53 MB / 0.7364 GB, free: 3.676 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating): time 0.003314/0.1728, allocations: 2.018 MB / 0.7384 GB, free: 1.645 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0009081/0.1738, allocations: 0.5414 MB / 0.7389 GB, free: 1.098 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.106e-05/0.1739, allocations: 8 kB / 0.7389 GB, free: 1.09 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001159/0.174, allocations: 19.73 kB / 0.7389 GB, free: 1.07 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 9.511e-05/0.1741, allocations: 39.58 kB / 0.7389 GB, free: 1.031 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002167/0.1743, allocations: 63.84 kB / 0.739 GB, free: 0.9688 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0002478/0.1746, allocations: 179.3 kB / 0.7392 GB, free: 0.793 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001823/0.1748, allocations: 66.31 kB / 0.7392 GB, free: 0.7227 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001338/0.1749, allocations: 75.72 kB / 0.7393 GB, free: 0.6484 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001282/0.175, allocations: 83.61 kB / 0.7394 GB, free: 0.5664 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.71e-05/0.1751, allocations: 16 kB / 0.7394 GB, free: 0.5508 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 3.252e-05/0.1751, allocations: 12 kB / 0.7394 GB, free: 0.5391 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 5.347e-05/0.1752, allocations: 39.84 kB / 0.7395 GB, free: 0.5 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 9.243e-05/0.1753, allocations: 83.59 kB / 0.7395 GB, free: 428 kB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002298/0.1755, allocations: 171.3 kB / 0.7397 GB, free: 256 kB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.1755, allocations: 0 / 0.7397 GB, free: 256 kB / 0.545 GB Notification: Performance of FrontEnd: time 1.503e-06/0.1755, allocations: 0 / 0.7397 GB, free: 256 kB / 0.545 GB Notification: Performance of Transformations before backend: time 9.258e-06/0.1755, allocations: 0 / 0.7397 GB, free: 256 kB / 0.545 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.0008497/0.1764, allocations: 498.6 kB / 0.7402 GB, free: 15.71 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.125e-05/0.1764, allocations: 8.031 kB / 0.7402 GB, free: 15.71 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.242e-05/0.1765, allocations: 20.84 kB / 0.7402 GB, free: 15.69 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002275/0.1767, allocations: 212.1 kB / 0.7404 GB, free: 15.44 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.99e-05/0.1768, allocations: 34.27 kB / 0.7404 GB, free: 15.4 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.352e-05/0.1768, allocations: 20.38 kB / 0.7405 GB, free: 15.38 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004198/0.1773, allocations: 161.6 kB / 0.7406 GB, free: 15.22 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.24e-05/0.1773, allocations: 0 / 0.7406 GB, free: 15.22 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.735e-05/0.1773, allocations: 4 kB / 0.7406 GB, free: 15.21 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.536e-06/0.1773, allocations: 4 kB / 0.7406 GB, free: 15.21 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005301/0.1779, allocations: 151.8 kB / 0.7408 GB, free: 15.06 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008425/0.1787, allocations: 0.5192 MB / 0.7413 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004619/0.1792, allocations: 142.6 kB / 0.7414 GB, free: 14.33 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002401/0.1794, allocations: 80.78 kB / 0.7415 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.244e-05/0.1795, allocations: 4 kB / 0.7415 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.512e-05/0.1795, allocations: 34.56 kB / 0.7415 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=12): time 1.252e-06/0.1795, allocations: 0 / 0.7415 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of matching and sorting (n=12): time 0.0007605/0.1803, allocations: 229.3 kB / 0.7417 GB, free: 13.97 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.127e-05/0.1803, allocations: 55.41 kB / 0.7418 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001316/0.1805, allocations: 154.2 kB / 0.7419 GB, free: 13.75 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.937e-05/0.1805, allocations: 29.7 kB / 0.742 GB, free: 13.71 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 8.839e-05/0.1806, allocations: 128.2 kB / 0.7421 GB, free: 13.58 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.215e-05/0.1807, allocations: 43.64 kB / 0.7421 GB, free: 13.54 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.948e-05/0.1807, allocations: 29.7 kB / 0.7422 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001556/0.1809, allocations: 322.8 kB / 0.7425 GB, free: 13.18 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002231/0.1811, allocations: 63.89 kB / 0.7425 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002338/0.1814, allocations: 88.2 kB / 0.7426 GB, free: 13.02 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004304/0.1818, allocations: 138.4 kB / 0.7427 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/0.1818, allocations: 3.938 kB / 0.7427 GB, free: 12.87 MB / 0.5606 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005132/0.1823, allocations: 189.4 kB / 0.7429 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.327e-05/0.1823, allocations: 8 kB / 0.7429 GB, free: 12.67 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.987e-06/0.1824, allocations: 4.062 kB / 0.7429 GB, free: 12.67 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.312e-05/0.1824, allocations: 0 / 0.7429 GB, free: 12.67 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001975/0.1826, allocations: 35.97 kB / 0.743 GB, free: 12.63 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.688e-06/0.1826, allocations: 7.938 kB / 0.743 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001441/0.1827, allocations: 27.91 kB / 0.743 GB, free: 12.6 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.228e-05/0.1828, allocations: 4 kB / 0.743 GB, free: 12.59 MB / 0.5606 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 0.0001194/0.1829, allocations: 125.1 kB / 0.7431 GB, free: 12.46 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.786e-05/0.1829, allocations: 19.91 kB / 0.7432 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.911e-05/0.183, allocations: 24.7 kB / 0.7432 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.183, allocations: 0 / 0.7432 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.183, allocations: 0 / 0.7432 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.959e-06/0.183, allocations: 4 kB / 0.7432 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002804/0.1833, allocations: 245.4 kB / 0.7434 GB, free: 12.12 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.1833, allocations: 0 / 0.7434 GB, free: 12.12 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002028/0.1835, allocations: 35.91 kB / 0.7434 GB, free: 12.09 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.1835, allocations: 3.938 kB / 0.7434 GB, free: 12.08 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.358e-05/0.1836, allocations: 8 kB / 0.7435 GB, free: 12.07 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-06/0.1836, allocations: 4 kB / 0.7435 GB, free: 12.07 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.1836, allocations: 0 / 0.7435 GB, free: 12.07 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007721/0.1843, allocations: 339.2 kB / 0.7438 GB, free: 11.72 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 6.368e-05/0.1844, allocations: 89.05 kB / 0.7439 GB, free: 11.62 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.457e-05/0.1844, allocations: 4 kB / 0.7439 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001629/0.1846, allocations: 19.97 kB / 0.7439 GB, free: 11.59 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.479e-05/0.1847, allocations: 11.98 kB / 0.7439 GB, free: 11.58 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.021e-05/0.1847, allocations: 4 kB / 0.7439 GB, free: 11.58 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 8.406e-05/0.1848, allocations: 111.2 kB / 0.744 GB, free: 11.47 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.933e-06/0.1848, allocations: 0 / 0.744 GB, free: 11.47 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002644/0.1851, allocations: 47.89 kB / 0.7441 GB, free: 11.42 MB / 0.5606 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.000119/0.1852, allocations: 106.4 kB / 0.7442 GB, free: 11.31 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0005024/0.1857, allocations: 135.8 kB / 0.7443 GB, free: 11.18 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.087e-06/0.1857, allocations: 4.125 kB / 0.7443 GB, free: 11.18 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.000238/0.186, allocations: 79.94 kB / 0.7444 GB, free: 11.1 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003397/0.1863, allocations: 23.86 kB / 0.7444 GB, free: 11.07 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008127/0.1871, allocations: 430.5 kB / 0.7448 GB, free: 10.62 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003696/0.1875, allocations: 0.7158 MB / 0.7455 GB, free: 9.879 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.164e-05/0.1876, allocations: 19.42 kB / 0.7455 GB, free: 9.859 MB / 0.5606 GB Notification: Performance of SimCode: time 3.41e-07/0.1876, allocations: 0 / 0.7455 GB, free: 9.859 MB / 0.5606 GB Notification: Performance of Templates: time 0.003764/0.1913, allocations: 1.807 MB / 0.7473 GB, free: 8.055 MB / 0.5606 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating.pipe >> ../files/IDEAS_dev_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating.sim & ./IDEAS_dev_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.083888469962403] Failed to read output from testmodel.py, exit status != 0: 0.19819555501453578 0.212074278 0.033950869 Calling exit ...