Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001165/0.001165, allocations: 112.9 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.001174/0.001174, 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.282/1.282, allocations: 225.6 MB / 249.3 MB, free: 3.176 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.9752/0.9752, allocations: 175.7 MB / 480.1 MB, free: 2.762 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_Cooling,fileNamePrefix="IDEAS_dev_IDEAS_Controls_Discrete_Examples_HysteresisRelease_Cooling",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling,fileNamePrefix="IDEAS_dev_IDEAS_Controls_Discrete_Examples_HysteresisRelease_Cooling",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001796/0.001796, allocations: 62.81 kB / 0.6677 GB, free: 10.99 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.159/0.1608, allocations: 94.53 MB / 0.76 GB, free: 0.8359 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling): time 0.003044/0.1638, allocations: 2.053 MB / 0.762 GB, free: 14.77 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0008633/0.1647, allocations: 0.5376 MB / 0.7626 GB, free: 14.23 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.776e-05/0.1648, allocations: 4 kB / 0.7626 GB, free: 14.23 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0001104/0.1649, allocations: 23.72 kB / 0.7626 GB, free: 14.2 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 8.746e-05/0.165, allocations: 39.58 kB / 0.7626 GB, free: 14.16 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002128/0.1652, allocations: 59.86 kB / 0.7627 GB, free: 14.11 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0002198/0.1654, allocations: 183.3 kB / 0.7629 GB, free: 13.93 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001404/0.1655, allocations: 50.33 kB / 0.7629 GB, free: 13.87 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001377/0.1657, allocations: 79.7 kB / 0.763 GB, free: 13.79 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001299/0.1658, allocations: 75.62 kB / 0.7631 GB, free: 13.72 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.855e-05/0.1658, allocations: 16 kB / 0.7631 GB, free: 13.7 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 3.061e-05/0.1659, allocations: 16 kB / 0.7631 GB, free: 13.69 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 4.184e-05/0.1659, allocations: 39.83 kB / 0.7631 GB, free: 13.65 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 8.934e-05/0.166, allocations: 83.59 kB / 0.7632 GB, free: 13.57 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002073/0.1662, allocations: 171.2 kB / 0.7634 GB, free: 13.4 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.347e-06/0.1662, allocations: 0 / 0.7634 GB, free: 13.4 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.472e-06/0.1662, allocations: 0 / 0.7634 GB, free: 13.4 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.25e-06/0.1662, 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.0007974/0.167, allocations: 494.6 kB / 0.7639 GB, free: 12.86 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.415e-05/0.167, allocations: 8.031 kB / 0.7639 GB, free: 12.86 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.795e-05/0.1671, allocations: 54.67 kB / 0.7639 GB, free: 12.79 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.267e-05/0.1671, allocations: 16.84 kB / 0.7639 GB, free: 12.78 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002098/0.1673, allocations: 212.1 kB / 0.7641 GB, free: 12.53 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.486e-05/0.1674, allocations: 46.19 kB / 0.7642 GB, free: 12.48 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.442e-05/0.1675, allocations: 12.38 kB / 0.7642 GB, free: 12.47 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003987/0.1679, allocations: 157.5 kB / 0.7643 GB, free: 12.31 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.3e-05/0.1679, allocations: 4 kB / 0.7643 GB, free: 12.3 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.725e-05/0.1679, allocations: 8 kB / 0.7643 GB, free: 12.3 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.342e-06/0.1679, allocations: 4 kB / 0.7643 GB, free: 12.29 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004804/0.1684, allocations: 147.8 kB / 0.7645 GB, free: 12.15 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007737/0.1691, allocations: 0.5347 MB / 0.765 GB, free: 11.55 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004178/0.1696, allocations: 122.7 kB / 0.7651 GB, free: 11.42 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002265/0.1698, allocations: 72.8 kB / 0.7652 GB, free: 11.35 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.776e-05/0.1698, allocations: 8 kB / 0.7652 GB, free: 11.34 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.258e-05/0.1698, allocations: 30.56 kB / 0.7652 GB, free: 11.3 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=12): time 1.123e-06/0.1698, allocations: 0 / 0.7652 GB, free: 11.3 MB / 0.5762 GB Notification: Performance of matching and sorting (n=12): time 0.0007132/0.1705, allocations: 229.3 kB / 0.7655 GB, free: 11.07 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.724e-05/0.1706, allocations: 55.41 kB / 0.7655 GB, free: 11 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001238/0.1707, allocations: 153.5 kB / 0.7657 GB, free: 10.85 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.151e-05/0.1708, allocations: 33.7 kB / 0.7657 GB, free: 10.81 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 8.389e-05/0.1708, allocations: 132.2 kB / 0.7658 GB, free: 10.67 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.836e-05/0.1709, allocations: 39.64 kB / 0.7659 GB, free: 10.63 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.443e-05/0.1709, allocations: 25.72 kB / 0.7659 GB, free: 10.6 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001399/0.1711, allocations: 326.8 kB / 0.7662 GB, free: 10.27 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002032/0.1713, allocations: 63.94 kB / 0.7662 GB, free: 10.21 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002214/0.1715, allocations: 86.52 kB / 0.7663 GB, free: 10.12 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003921/0.1719, allocations: 142 kB / 0.7665 GB, free: 9.973 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.1719, allocations: 0 / 0.7665 GB, free: 9.973 MB / 0.5762 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004872/0.1724, allocations: 193.4 kB / 0.7666 GB, free: 9.777 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.171e-05/0.1724, allocations: 8 kB / 0.7667 GB, free: 9.77 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.064e-06/0.1724, allocations: 3.984 kB / 0.7667 GB, free: 9.766 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.075e-05/0.1724, allocations: 0 / 0.7667 GB, free: 9.766 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001861/0.1726, allocations: 39.91 kB / 0.7667 GB, free: 9.727 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.973e-06/0.1726, allocations: 4 kB / 0.7667 GB, free: 9.723 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001378/0.1727, allocations: 23.92 kB / 0.7667 GB, free: 9.699 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.267e-05/0.1727, allocations: 12.05 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.0001056/0.1729, allocations: 125.7 kB / 0.7669 GB, free: 9.555 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.855e-05/0.1729, allocations: 15.91 kB / 0.7669 GB, free: 9.539 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.525e-05/0.1729, allocations: 16.72 kB / 0.7669 GB, free: 9.516 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.1729, allocations: 0 / 0.7669 GB, free: 9.516 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.975e-06/0.1729, allocations: 0 / 0.7669 GB, free: 9.516 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.594e-06/0.1729, allocations: 0 / 0.7669 GB, free: 9.516 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002627/0.1732, allocations: 249.4 kB / 0.7671 GB, free: 9.223 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.163e-06/0.1732, allocations: 0 / 0.7671 GB, free: 9.223 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000196/0.1734, allocations: 39.91 kB / 0.7672 GB, free: 9.184 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.824e-06/0.1734, allocations: 3.938 kB / 0.7672 GB, free: 9.18 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.318e-05/0.1734, allocations: 3.984 kB / 0.7672 GB, free: 9.176 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.909e-06/0.1734, allocations: 8 kB / 0.7672 GB, free: 9.168 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.1734, allocations: 0 / 0.7672 GB, free: 9.168 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007197/0.1741, allocations: 343.6 kB / 0.7675 GB, free: 8.816 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 5.944e-05/0.1742, allocations: 89.05 kB / 0.7676 GB, free: 8.711 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.014e-05/0.1742, allocations: 0 / 0.7676 GB, free: 8.711 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001569/0.1744, allocations: 23.97 kB / 0.7676 GB, free: 8.688 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.765e-05/0.1744, allocations: 11.92 kB / 0.7676 GB, free: 8.676 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.036e-05/0.1744, allocations: 7.984 kB / 0.7676 GB, free: 8.668 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 7.528e-05/0.1745, allocations: 116.2 kB / 0.7677 GB, free: 8.555 MB / 0.5762 GB Notification: Performance of sort global known variables: time 5.1e-08/0.1745, allocations: 0 / 0.7677 GB, free: 8.555 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002444/0.1748, allocations: 43.83 kB / 0.7678 GB, free: 8.512 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.0009854/0.1757, allocations: 0.8607 MB / 0.7686 GB, free: 7.625 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0004616/0.1762, allocations: 140 kB / 0.7688 GB, free: 7.488 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.1762, allocations: 4 kB / 0.7688 GB, free: 7.484 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002155/0.1764, allocations: 75.88 kB / 0.7688 GB, free: 7.41 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002981/0.1767, allocations: 20 kB / 0.7689 GB, free: 7.391 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00268/0.1794, allocations: 1.999 MB / 0.7708 GB, free: 5.305 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003273/0.1797, allocations: 0.7157 MB / 0.7715 GB, free: 4.562 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 5.555e-05/0.1798, allocations: 8.562 kB / 0.7715 GB, free: 4.555 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.245e-05/0.1799, allocations: 47.41 kB / 0.7716 GB, free: 4.508 MB / 0.5762 GB Notification: Performance of SimCode: time 4.01e-07/0.1799, allocations: 0 / 0.7716 GB, free: 4.508 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02747/0.2073, allocations: 3.304 MB / 0.7748 GB, free: 1.297 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.263/7.47, allocations: 6.719 kB / 0.7748 GB, free: 1.297 MB / 0.5762 GB " [Timeout remaining time 652] (rm -f IDEAS_dev_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling.pipe >> ../files/IDEAS_dev_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Controls_Discrete_Examples_HysteresisRelease_Cooling_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Controls_Discrete_Examples_HysteresisRelease_Cooling.fmu > IDEAS_dev_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.82860970099864]