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.006697/0.006697, allocations: 102.3 kB / 15.73 MB, free: 5.578 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.001278/0.001279, allocations: 192.6 kB / 16.67 MB, free: 5.52 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.383/1.383, allocations: 222.9 MB / 240.4 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8432/0.8432, allocations: 132.2 MB / 422.7 MB, free: 6.559 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00123/0.00123, allocations: 66.39 kB / 0.5813 GB, free: 23.84 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1778/0.1791, allocations: 80.21 MB / 0.6596 GB, free: 10.41 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling): time 0.004058/0.1832, allocations: 2.022 MB / 0.6616 GB, free: 8.379 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001491/0.1847, allocations: 0.5454 MB / 0.6621 GB, free: 7.828 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002495/0.185, allocations: 0 / 0.6621 GB, free: 7.828 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0002171/0.1852, allocations: 27.72 kB / 0.6622 GB, free: 7.801 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002149/0.1855, allocations: 39.58 kB / 0.6622 GB, free: 7.762 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003721/0.1859, allocations: 59.86 kB / 0.6623 GB, free: 7.703 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0003255/0.1862, allocations: 183.2 kB / 0.6624 GB, free: 7.523 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002458/0.1865, allocations: 74.3 kB / 0.6625 GB, free: 7.449 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002346/0.1867, allocations: 75.75 kB / 0.6626 GB, free: 7.375 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001843/0.1869, allocations: 79.62 kB / 0.6627 GB, free: 7.297 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 6.401e-05/0.187, allocations: 15.94 kB / 0.6627 GB, free: 7.281 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 4.154e-05/0.187, allocations: 16 kB / 0.6627 GB, free: 7.266 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 5.556e-05/0.1871, allocations: 31.91 kB / 0.6627 GB, free: 7.234 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001049/0.1872, allocations: 87.53 kB / 0.6628 GB, free: 7.148 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002829/0.1875, allocations: 171.3 kB / 0.663 GB, free: 6.98 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 8.857e-06/0.1875, allocations: 4 kB / 0.663 GB, free: 6.977 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.355e-06/0.1875, allocations: 4 kB / 0.663 GB, free: 6.973 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.124e-05/0.1875, allocations: 0 / 0.663 GB, free: 6.973 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.0009763/0.1885, allocations: 486.8 kB / 0.6634 GB, free: 6.449 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.179e-05/0.1886, allocations: 12.03 kB / 0.6635 GB, free: 6.438 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.138e-05/0.1886, allocations: 16.75 kB / 0.6635 GB, free: 6.422 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002297/0.1889, allocations: 212 kB / 0.6637 GB, free: 6.176 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.174e-05/0.189, allocations: 42.25 kB / 0.6637 GB, free: 6.129 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.486e-05/0.189, allocations: 12.38 kB / 0.6637 GB, free: 6.117 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004104/0.1894, allocations: 153.7 kB / 0.6639 GB, free: 5.961 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.193e-05/0.1895, allocations: 0 / 0.6639 GB, free: 5.961 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.98e-05/0.1895, allocations: 4 kB / 0.6639 GB, free: 5.957 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.993e-06/0.1895, allocations: 4 kB / 0.6639 GB, free: 5.953 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004916/0.19, allocations: 157.1 kB / 0.664 GB, free: 5.801 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009877/0.191, allocations: 0.5269 MB / 0.6645 GB, free: 5.211 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004792/0.1915, allocations: 130.6 kB / 0.6647 GB, free: 5.074 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002442/0.1917, allocations: 80.8 kB / 0.6647 GB, free: 4.992 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.098e-05/0.1918, allocations: 8 kB / 0.6648 GB, free: 4.984 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.626e-05/0.1918, allocations: 30.56 kB / 0.6648 GB, free: 4.945 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=12): time 4.549e-06/0.1918, allocations: 0 / 0.6648 GB, free: 4.945 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12): time 0.0007935/0.1926, allocations: 228.1 kB / 0.665 GB, free: 4.719 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.361e-05/0.1927, allocations: 55.34 kB / 0.6651 GB, free: 4.652 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001411/0.1928, allocations: 155.1 kB / 0.6652 GB, free: 4.492 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.086e-05/0.1928, allocations: 25.7 kB / 0.6652 GB, free: 4.461 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 8.797e-05/0.1929, allocations: 128.1 kB / 0.6653 GB, free: 4.328 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.031e-05/0.193, allocations: 47.39 kB / 0.6654 GB, free: 4.281 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.04e-05/0.1931, allocations: 25.72 kB / 0.6654 GB, free: 4.25 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001206/0.1932, allocations: 322.8 kB / 0.6657 GB, free: 3.926 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002176/0.1934, allocations: 67.88 kB / 0.6658 GB, free: 3.859 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002337/0.1936, allocations: 82.52 kB / 0.6659 GB, free: 3.77 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004152/0.1941, allocations: 147.8 kB / 0.666 GB, free: 3.617 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.908e-06/0.1941, allocations: 3.938 kB / 0.666 GB, free: 3.613 MB / 0.4981 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005117/0.1946, allocations: 189.3 kB / 0.6662 GB, free: 3.422 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.094e-05/0.1946, allocations: 11.98 kB / 0.6662 GB, free: 3.41 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.621e-06/0.1946, allocations: 0 / 0.6662 GB, free: 3.41 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.902e-05/0.1947, allocations: 0 / 0.6662 GB, free: 3.41 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001989/0.1949, allocations: 39.97 kB / 0.6662 GB, free: 3.371 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.207e-06/0.1949, allocations: 0 / 0.6662 GB, free: 3.371 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001471/0.195, allocations: 23.83 kB / 0.6663 GB, free: 3.348 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.566e-05/0.1951, allocations: 12.05 kB / 0.6663 GB, free: 3.336 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 0.0001176/0.1952, allocations: 133.7 kB / 0.6664 GB, free: 3.195 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.181e-05/0.1952, allocations: 19.89 kB / 0.6664 GB, free: 3.176 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.746e-05/0.1953, allocations: 12.72 kB / 0.6664 GB, free: 3.156 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.358e-06/0.1953, allocations: 4 kB / 0.6664 GB, free: 3.152 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.1953, allocations: 0 / 0.6664 GB, free: 3.152 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.544e-06/0.1953, allocations: 3.984 kB / 0.6664 GB, free: 3.148 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002927/0.1956, allocations: 237.4 kB / 0.6667 GB, free: 2.867 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.993e-06/0.1956, allocations: 0 / 0.6667 GB, free: 2.867 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001947/0.1958, allocations: 39.97 kB / 0.6667 GB, free: 2.828 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.1959, allocations: 0 / 0.6667 GB, free: 2.828 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.71e-05/0.1959, allocations: 7.984 kB / 0.6667 GB, free: 2.82 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.1959, allocations: 0 / 0.6667 GB, free: 2.82 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.1959, allocations: 0 / 0.6667 GB, free: 2.82 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007566/0.1966, allocations: 342.5 kB / 0.667 GB, free: 2.473 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.971e-05/0.1967, allocations: 92.89 kB / 0.6671 GB, free: 2.363 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.761e-05/0.1968, allocations: 8 kB / 0.6671 GB, free: 2.355 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000158/0.1969, allocations: 15.97 kB / 0.6672 GB, free: 2.34 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.236e-05/0.197, allocations: 15.98 kB / 0.6672 GB, free: 2.324 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.046e-05/0.197, allocations: 3.984 kB / 0.6672 GB, free: 2.32 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 8.789e-05/0.1971, allocations: 115.3 kB / 0.6673 GB, free: 2.207 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1971, allocations: 0 / 0.6673 GB, free: 2.207 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002805/0.1974, allocations: 31.91 kB / 0.6673 GB, free: 2.176 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.0001465/0.1975, allocations: 103.2 kB / 0.6674 GB, free: 2.066 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0005336/0.1981, allocations: 148 kB / 0.6676 GB, free: 1.922 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.1981, allocations: 3.938 kB / 0.6676 GB, free: 1.918 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002215/0.1983, allocations: 71.89 kB / 0.6676 GB, free: 1.848 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004196/0.1988, allocations: 29.88 kB / 0.6677 GB, free: 1.82 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008749/0.1996, allocations: 395.9 kB / 0.668 GB, free: 1.41 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003241/0.2, allocations: 0.7235 MB / 0.6687 GB, free: 0.6602 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 7.459e-05/0.2001, allocations: 12.56 kB / 0.6687 GB, free: 0.6484 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.203e-05/0.2001, allocations: 11.44 kB / 0.6688 GB, free: 0.6367 MB / 0.4981 GB Notification: Performance of SimCode: time 3.01e-07/0.2001, allocations: 0 / 0.6688 GB, free: 0.6367 MB / 0.4981 GB Notification: Performance of Templates: time 0.004639/0.2048, allocations: 1.593 MB / 0.6703 GB, free: 15.05 MB / 0.5137 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)