Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001295/0.001295, allocations: 114.3 kB / 18.94 MB, free: 2.934 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001414/0.001414, allocations: 215.6 kB / 22.25 MB, free: 5.074 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.339/1.339, allocations: 230.6 MB / 256 MB, free: 8.004 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7867/0.7867, allocations: 134 MB / 446.4 MB, free: 10.2 MB / 350.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/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating,fileNamePrefix="IDEAS_IDEAS_Controls_Discrete_Examples_HysteresisRelease_Heating",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating,fileNamePrefix="IDEAS_IDEAS_Controls_Discrete_Examples_HysteresisRelease_Heating",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001905/0.001905, allocations: 62.75 kB / 0.6185 GB, free: 7.207 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1665/0.1684, allocations: 85.91 MB / 0.7024 GB, free: 1.379 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating): time 0.003506/0.1719, allocations: 2.079 MB / 0.7044 GB, free: 15.29 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001027/0.1729, allocations: 0.6076 MB / 0.705 GB, free: 14.68 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.882e-05/0.173, allocations: 0 / 0.705 GB, free: 14.68 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001354/0.1731, allocations: 31.72 kB / 0.7051 GB, free: 14.64 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 9.317e-05/0.1732, allocations: 43.58 kB / 0.7051 GB, free: 14.6 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002563/0.1735, allocations: 67.8 kB / 0.7052 GB, free: 14.54 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0002423/0.1737, allocations: 187.2 kB / 0.7054 GB, free: 14.35 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001571/0.1739, allocations: 58.67 kB / 0.7054 GB, free: 14.29 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001946/0.1741, allocations: 83.7 kB / 0.7055 GB, free: 14.21 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001381/0.1742, allocations: 79.67 kB / 0.7056 GB, free: 14.13 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.801e-05/0.1743, allocations: 19.94 kB / 0.7056 GB, free: 14.11 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 5.875e-05/0.1743, allocations: 23.94 kB / 0.7056 GB, free: 14.09 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 3.321e-05/0.1743, allocations: 31.92 kB / 0.7056 GB, free: 14.06 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 8.8e-05/0.1744, allocations: 83.53 kB / 0.7057 GB, free: 13.98 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002503/0.1747, allocations: 183.2 kB / 0.7059 GB, free: 13.8 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.666e-06/0.1747, allocations: 0 / 0.7059 GB, free: 13.8 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.412e-06/0.1747, allocations: 0 / 0.7059 GB, free: 13.8 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.821e-06/0.1747, allocations: 0 / 0.7059 GB, free: 13.8 MB / 0.5294 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.0007936/0.1755, allocations: 421.5 kB / 0.7063 GB, free: 13.36 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.987e-05/0.1755, allocations: 12.03 kB / 0.7063 GB, free: 13.34 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.437e-05/0.1756, allocations: 42.75 kB / 0.7063 GB, free: 13.29 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001482/0.1757, allocations: 32.78 kB / 0.7064 GB, free: 13.26 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002617/0.176, allocations: 162.2 kB / 0.7065 GB, free: 13.08 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.46e-05/0.1761, allocations: 63.97 kB / 0.7066 GB, free: 13 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.191e-05/0.1761, allocations: 12.38 kB / 0.7066 GB, free: 12.99 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003911/0.1765, allocations: 169.5 kB / 0.7068 GB, free: 12.82 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.252e-05/0.1765, allocations: 0 / 0.7068 GB, free: 12.82 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.862e-05/0.1765, allocations: 8 kB / 0.7068 GB, free: 12.81 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.087e-06/0.1766, allocations: 11.92 kB / 0.7068 GB, free: 12.8 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004519/0.177, allocations: 139.9 kB / 0.7069 GB, free: 12.66 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007986/0.1778, allocations: 0.4948 MB / 0.7074 GB, free: 12.11 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004197/0.1782, allocations: 130.6 kB / 0.7075 GB, free: 11.98 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002162/0.1784, allocations: 68.81 kB / 0.7076 GB, free: 11.91 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.282e-05/0.1785, allocations: 0 / 0.7076 GB, free: 11.91 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.468e-05/0.1785, allocations: 42.5 kB / 0.7076 GB, free: 11.86 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=12): time 1.203e-06/0.1785, allocations: 0 / 0.7076 GB, free: 11.86 MB / 0.5294 GB Notification: Performance of matching and sorting (n=12): time 0.0006863/0.1792, allocations: 221.5 kB / 0.7078 GB, free: 11.63 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.362e-05/0.1792, allocations: 55.34 kB / 0.7079 GB, free: 11.57 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001443/0.1794, allocations: 151.3 kB / 0.708 GB, free: 11.41 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.424e-05/0.1794, allocations: 33.7 kB / 0.7081 GB, free: 11.37 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 9.101e-05/0.1795, allocations: 128.2 kB / 0.7082 GB, free: 11.23 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 4.158e-05/0.1795, allocations: 47.62 kB / 0.7082 GB, free: 11.19 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.563e-05/0.1796, allocations: 29.7 kB / 0.7083 GB, free: 11.15 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001419/0.1797, allocations: 322.8 kB / 0.7086 GB, free: 10.83 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001982/0.1799, allocations: 55.95 kB / 0.7086 GB, free: 10.77 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002041/0.1801, allocations: 89.19 kB / 0.7087 GB, free: 10.68 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003781/0.1805, allocations: 157.4 kB / 0.7089 GB, free: 10.52 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.1805, allocations: 0 / 0.7089 GB, free: 10.52 MB / 0.5294 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004455/0.181, allocations: 189.4 kB / 0.709 GB, free: 10.33 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.615e-05/0.181, allocations: 8 kB / 0.7091 GB, free: 10.32 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.098e-06/0.181, allocations: 0 / 0.7091 GB, free: 10.32 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.255e-05/0.181, allocations: 0 / 0.7091 GB, free: 10.32 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001827/0.1812, allocations: 40.03 kB / 0.7091 GB, free: 10.28 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.474e-06/0.1812, allocations: 4 kB / 0.7091 GB, free: 10.28 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001306/0.1813, allocations: 27.92 kB / 0.7091 GB, free: 10.25 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.616e-06/0.1813, allocations: 0 / 0.7091 GB, free: 10.25 MB / 0.5294 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.0001151/0.1814, allocations: 137.7 kB / 0.7093 GB, free: 10.11 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.859e-05/0.1815, allocations: 15.91 kB / 0.7093 GB, free: 10.09 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.606e-05/0.1815, allocations: 21.39 kB / 0.7093 GB, free: 10.07 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.1815, allocations: 4 kB / 0.7093 GB, free: 10.07 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.1815, allocations: 0 / 0.7093 GB, free: 10.07 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.1815, allocations: 0 / 0.7093 GB, free: 10.07 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002518/0.1818, allocations: 212.6 kB / 0.7095 GB, free: 9.816 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.1818, allocations: 0 / 0.7095 GB, free: 9.816 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001837/0.182, allocations: 39.97 kB / 0.7095 GB, free: 9.777 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.704e-06/0.182, allocations: 0 / 0.7095 GB, free: 9.777 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.149e-05/0.182, allocations: 0 / 0.7095 GB, free: 9.777 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.182, allocations: 4 kB / 0.7095 GB, free: 9.773 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.182, allocations: 7.938 kB / 0.7095 GB, free: 9.766 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006944/0.1827, allocations: 335.2 kB / 0.7099 GB, free: 9.422 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 2.881e-05/0.1827, allocations: 15.98 kB / 0.7099 GB, free: 9.406 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.441e-05/0.1827, allocations: 8 kB / 0.7099 GB, free: 9.398 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001462/0.1829, allocations: 15.98 kB / 0.7099 GB, free: 9.383 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.754e-05/0.1829, allocations: 15.97 kB / 0.7099 GB, free: 9.367 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.616e-06/0.1829, allocations: 4 kB / 0.7099 GB, free: 9.363 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 8.915e-05/0.183, allocations: 120.9 kB / 0.71 GB, free: 9.246 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7e-08/0.183, allocations: 0 / 0.71 GB, free: 9.246 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002462/0.1833, allocations: 35.94 kB / 0.7101 GB, free: 9.211 MB / 0.5294 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.0009598/0.1842, allocations: 0.8763 MB / 0.7109 GB, free: 8.309 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0004289/0.1847, allocations: 139.5 kB / 0.7111 GB, free: 8.176 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.1847, allocations: 0 / 0.7111 GB, free: 8.176 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0002037/0.1849, allocations: 75.88 kB / 0.7111 GB, free: 8.102 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002987/0.1852, allocations: 24.06 kB / 0.7112 GB, free: 8.078 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002631/0.1878, allocations: 1.982 MB / 0.7131 GB, free: 6.004 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003298/0.1881, allocations: 0.7238 MB / 0.7138 GB, free: 5.254 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 5.424e-05/0.1882, allocations: 8.484 kB / 0.7138 GB, free: 5.246 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.724e-05/0.1883, allocations: 47.42 kB / 0.7139 GB, free: 5.199 MB / 0.5294 GB Notification: Performance of SimCode: time 2.8e-07/0.1883, allocations: 0 / 0.7139 GB, free: 5.199 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03331/0.2216, allocations: 3.508 MB / 0.7173 GB, free: 1.84 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.6/10.83, allocations: 18.55 kB / 0.7173 GB, free: 1.828 MB / 0.5294 GB " [Timeout remaining time 649] (rm -f IDEAS_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating.pipe ; mkfifo IDEAS_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating.pipe >> ../files/IDEAS_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Controls_Discrete_Examples_HysteresisRelease_Heating_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Controls_Discrete_Examples_HysteresisRelease_Heating.fmu > IDEAS_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.156124158995226] Failed to read output from testmodel.py, exit status != 0: 10.9245595051907 10.939593371 10.762020318 Calling exit ...