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.001415/0.001415, allocations: 110.8 kB / 17.54 MB, free: 4.641 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.001437/0.001437, allocations: 189.9 kB / 20.71 MB, free: 1.484 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.285/1.285, allocations: 225.6 MB / 249.3 MB, free: 3.168 MB / 190.1 MB " [Timeout remaining time 179] 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 0.9738/0.9738, allocations: 175.7 MB / 480.1 MB, free: 2.777 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: "" <> buildModelFMU(IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating,fileNamePrefix="IDEAS_dev_IDEAS_Controls_Discrete_Examples_HysteresisRelease_Heating",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating,fileNamePrefix="IDEAS_dev_IDEAS_Controls_Discrete_Examples_HysteresisRelease_Heating",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001785/0.001785, allocations: 67.2 kB / 0.6677 GB, free: 10.99 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1589/0.1607, allocations: 94.53 MB / 0.76 GB, free: 0.8438 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating): time 0.003312/0.164, allocations: 2.061 MB / 0.762 GB, free: 14.77 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.000969/0.165, allocations: 0.5376 MB / 0.7626 GB, free: 14.23 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.914e-05/0.1651, allocations: 0 / 0.7626 GB, free: 14.23 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0001314/0.1652, allocations: 31.72 kB / 0.7626 GB, free: 14.2 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.000103/0.1653, allocations: 39.58 kB / 0.7626 GB, free: 14.16 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002359/0.1655, allocations: 59.84 kB / 0.7627 GB, free: 14.1 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0002382/0.1658, allocations: 179.3 kB / 0.7629 GB, free: 13.93 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001442/0.1659, allocations: 54.33 kB / 0.7629 GB, free: 13.87 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001417/0.1661, allocations: 71.7 kB / 0.763 GB, free: 13.8 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001309/0.1662, allocations: 83.62 kB / 0.7631 GB, free: 13.71 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.322e-05/0.1662, allocations: 16 kB / 0.7631 GB, free: 13.7 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 3.023e-05/0.1662, allocations: 12 kB / 0.7631 GB, free: 13.69 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 4.819e-05/0.1663, allocations: 43.83 kB / 0.7631 GB, free: 13.64 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 8.559e-05/0.1664, allocations: 79.59 kB / 0.7632 GB, free: 13.57 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002235/0.1666, allocations: 167.3 kB / 0.7634 GB, free: 13.4 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.1666, allocations: 0 / 0.7634 GB, free: 13.4 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.213e-06/0.1666, allocations: 3.938 kB / 0.7634 GB, free: 13.4 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.532e-06/0.1666, allocations: 4 kB / 0.7634 GB, free: 13.39 MB / 0.5762 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.0007964/0.1674, allocations: 494.6 kB / 0.7639 GB, free: 12.86 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.359e-05/0.1674, allocations: 8.031 kB / 0.7639 GB, free: 12.86 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.469e-05/0.1675, allocations: 46.73 kB / 0.7639 GB, free: 12.8 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.696e-05/0.1675, allocations: 20.84 kB / 0.7639 GB, free: 12.78 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002167/0.1678, allocations: 216.1 kB / 0.7641 GB, free: 12.53 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.853e-05/0.1678, allocations: 46.23 kB / 0.7642 GB, free: 12.48 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.542e-05/0.1679, allocations: 16.38 kB / 0.7642 GB, free: 12.46 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000399/0.1683, allocations: 157.5 kB / 0.7643 GB, free: 12.3 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.17e-05/0.1683, allocations: 0 / 0.7643 GB, free: 12.3 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.986e-05/0.1683, allocations: 7.984 kB / 0.7643 GB, free: 12.3 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.512e-06/0.1683, allocations: 11.94 kB / 0.7644 GB, free: 12.29 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004977/0.1688, allocations: 143.9 kB / 0.7645 GB, free: 12.14 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008979/0.1697, allocations: 0.5309 MB / 0.765 GB, free: 11.55 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004354/0.1701, allocations: 126.6 kB / 0.7651 GB, free: 11.42 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002273/0.1704, allocations: 72.81 kB / 0.7652 GB, free: 11.34 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.695e-05/0.1704, allocations: 0 / 0.7652 GB, free: 11.34 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.5e-05/0.1704, allocations: 38.56 kB / 0.7652 GB, free: 11.3 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=12): time 8.91e-07/0.1704, allocations: 0 / 0.7652 GB, free: 11.3 MB / 0.5762 GB Notification: Performance of matching and sorting (n=12): time 0.0007252/0.1711, allocations: 233.3 kB / 0.7655 GB, free: 11.06 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.544e-05/0.1712, allocations: 51.41 kB / 0.7655 GB, free: 11 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001345/0.1713, allocations: 157.5 kB / 0.7657 GB, free: 10.84 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.209e-05/0.1713, allocations: 25.7 kB / 0.7657 GB, free: 10.81 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 9.129e-05/0.1714, allocations: 132.2 kB / 0.7658 GB, free: 10.67 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.081e-05/0.1715, allocations: 43.64 kB / 0.7659 GB, free: 10.63 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.848e-05/0.1715, allocations: 29.72 kB / 0.7659 GB, free: 10.59 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001491/0.1717, allocations: 326.8 kB / 0.7662 GB, free: 10.27 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002098/0.1719, allocations: 59.94 kB / 0.7663 GB, free: 10.21 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002206/0.1721, allocations: 84.62 kB / 0.7663 GB, free: 10.12 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004193/0.1725, allocations: 146.4 kB / 0.7665 GB, free: 9.965 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.1725, allocations: 0 / 0.7665 GB, free: 9.965 MB / 0.5762 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004951/0.173, allocations: 193.4 kB / 0.7667 GB, free: 9.77 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.288e-05/0.173, allocations: 4 kB / 0.7667 GB, free: 9.766 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.173, allocations: 4 kB / 0.7667 GB, free: 9.762 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.241e-05/0.1731, allocations: 0 / 0.7667 GB, free: 9.762 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001906/0.1732, allocations: 35.97 kB / 0.7667 GB, free: 9.727 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/0.1732, allocations: 0 / 0.7667 GB, free: 9.727 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001418/0.1734, allocations: 27.91 kB / 0.7667 GB, free: 9.699 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.085e-05/0.1734, allocations: 12 kB / 0.7667 GB, free: 9.688 MB / 0.5762 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.0001144/0.1735, allocations: 125.8 kB / 0.7669 GB, free: 9.555 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.645e-05/0.1736, allocations: 11.91 kB / 0.7669 GB, free: 9.543 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.513e-05/0.1736, allocations: 20.66 kB / 0.7669 GB, free: 9.516 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.194e-06/0.1736, allocations: 4 kB / 0.7669 GB, free: 9.512 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.92e-06/0.1736, allocations: 0 / 0.7669 GB, free: 9.512 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.539e-06/0.1736, allocations: 3.984 kB / 0.7669 GB, free: 9.508 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002703/0.1739, allocations: 241.5 kB / 0.7671 GB, free: 9.223 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.1739, allocations: 0 / 0.7671 GB, free: 9.223 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001921/0.1741, allocations: 43.91 kB / 0.7672 GB, free: 9.18 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.649e-06/0.1741, allocations: 7.922 kB / 0.7672 GB, free: 9.172 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.199e-05/0.1741, allocations: 0 / 0.7672 GB, free: 9.172 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.637e-06/0.1741, allocations: 4 kB / 0.7672 GB, free: 9.168 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.1741, allocations: 0 / 0.7672 GB, free: 9.168 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007533/0.1749, allocations: 339.2 kB / 0.7675 GB, free: 8.82 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 5.971e-05/0.1749, allocations: 89.05 kB / 0.7676 GB, free: 8.715 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.408e-05/0.1749, allocations: 7.984 kB / 0.7676 GB, free: 8.707 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001539/0.1751, allocations: 15.98 kB / 0.7676 GB, free: 8.691 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.869e-05/0.1751, allocations: 15.97 kB / 0.7676 GB, free: 8.676 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.996e-06/0.1752, allocations: 8.062 kB / 0.7676 GB, free: 8.668 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 8.69e-05/0.1752, allocations: 112.1 kB / 0.7677 GB, free: 8.559 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.1752, allocations: 3.938 kB / 0.7677 GB, free: 8.555 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002556/0.1755, allocations: 39.89 kB / 0.7678 GB, free: 8.516 MB / 0.5762 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.001023/0.1765, allocations: 0.8685 MB / 0.7686 GB, free: 7.621 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.000467/0.177, allocations: 144 kB / 0.7688 GB, free: 7.48 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.177, allocations: 0 / 0.7688 GB, free: 7.48 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002152/0.1772, allocations: 75.88 kB / 0.7688 GB, free: 7.406 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003167/0.1775, allocations: 19.98 kB / 0.7689 GB, free: 7.387 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002833/0.1804, allocations: 1.988 MB / 0.7708 GB, free: 5.312 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003474/0.1807, allocations: 0.7119 MB / 0.7715 GB, free: 4.574 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 6.772e-05/0.1808, allocations: 20.53 kB / 0.7715 GB, free: 4.555 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.634e-05/0.1809, allocations: 39.42 kB / 0.7716 GB, free: 4.516 MB / 0.5762 GB Notification: Performance of SimCode: time 4.6e-07/0.1809, allocations: 0 / 0.7716 GB, free: 4.516 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02668/0.2075, allocations: 3.309 MB / 0.7748 GB, free: 1.301 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.166/7.374, allocations: 6.203 kB / 0.7748 GB, free: 1.297 MB / 0.5762 GB " [Timeout remaining time 653] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Controls_Discrete_Examples_HysteresisRelease_Heating_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Controls_Discrete_Examples_HysteresisRelease_Heating.fmu > IDEAS_dev_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.756341645988869]