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.001825/0.001825, allocations: 117.4 kB / 17.17 MB, free: 5.977 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.002135/0.002135, allocations: 214.3 kB / 20.13 MB, free: 3.035 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.375/1.375, allocations: 230.6 MB / 253.5 MB, free: 15.07 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.8158/0.8158, allocations: 133.9 MB / 443.5 MB, free: 13.86 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating,fileNamePrefix="IDEAS_IDEAS_Controls_Discrete_Examples_HysteresisRelease_Heating",fmuType="cs",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.00189/0.00189, allocations: 64.86 kB / 0.6141 GB, free: 38.26 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1402/0.1421, allocations: 85.86 MB / 0.6979 GB, free: 13.67 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating): time 0.00327/0.1453, allocations: 2.062 MB / 0.6999 GB, free: 12.06 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001009/0.1463, allocations: 0.6023 MB / 0.7005 GB, free: 11.57 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.111e-05/0.1464, allocations: 5.312 kB / 0.7005 GB, free: 11.57 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0001171/0.1466, allocations: 26.47 kB / 0.7005 GB, free: 11.55 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 9.942e-05/0.1467, allocations: 41.08 kB / 0.7006 GB, free: 11.51 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002367/0.1469, allocations: 65.48 kB / 0.7006 GB, free: 11.46 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0002183/0.1471, allocations: 185.5 kB / 0.7008 GB, free: 11.35 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000162/0.1473, allocations: 52.19 kB / 0.7009 GB, free: 11.31 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002089/0.1475, allocations: 90.06 kB / 0.701 GB, free: 11.26 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001251/0.1476, allocations: 77.62 kB / 0.701 GB, free: 11.2 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 2.592e-05/0.1476, allocations: 15.12 kB / 0.701 GB, free: 11.2 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 5.414e-05/0.1477, allocations: 16.5 kB / 0.7011 GB, free: 11.2 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 3.672e-05/0.1477, allocations: 37.41 kB / 0.7011 GB, free: 11.17 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 7.572e-05/0.1478, allocations: 78.92 kB / 0.7012 GB, free: 11.12 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0002544/0.1481, allocations: 188 kB / 0.7014 GB, free: 10.98 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.938e-06/0.1481, allocations: 0 / 0.7014 GB, free: 10.98 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.172e-06/0.1481, allocations: 0 / 0.7014 GB, free: 10.98 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.64e-06/0.1481, allocations: 0 / 0.7014 GB, free: 10.98 MB / 0.5137 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.000844/0.1489, allocations: 499.5 kB / 0.7018 GB, free: 10.52 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.728e-05/0.1489, allocations: 15.86 kB / 0.7018 GB, free: 10.51 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.491e-05/0.149, allocations: 7.375 kB / 0.7019 GB, free: 10.51 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.83e-05/0.149, allocations: 46.83 kB / 0.7019 GB, free: 10.46 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001503/0.1492, allocations: 32.69 kB / 0.7019 GB, free: 10.44 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002779/0.1494, allocations: 219 kB / 0.7021 GB, free: 10.2 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.934e-05/0.1495, allocations: 40.72 kB / 0.7022 GB, free: 10.16 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.394e-05/0.1496, allocations: 17.97 kB / 0.7022 GB, free: 10.16 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000403/0.15, allocations: 153.7 kB / 0.7023 GB, free: 10.06 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.241e-05/0.15, allocations: 1.281 kB / 0.7023 GB, free: 10.06 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.798e-05/0.15, allocations: 5.312 kB / 0.7023 GB, free: 10.05 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.518e-06/0.15, allocations: 6.547 kB / 0.7024 GB, free: 10.05 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004909/0.1505, allocations: 146.9 kB / 0.7025 GB, free: 9.984 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008182/0.1513, allocations: 0.5255 MB / 0.703 GB, free: 9.434 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004449/0.1518, allocations: 126.7 kB / 0.7031 GB, free: 9.301 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002309/0.152, allocations: 76.75 kB / 0.7032 GB, free: 9.223 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.746e-05/0.152, allocations: 0 / 0.7032 GB, free: 9.223 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.954e-05/0.152, allocations: 38.5 kB / 0.7032 GB, free: 9.176 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=12): time 8.62e-07/0.152, allocations: 0 / 0.7032 GB, free: 9.176 MB / 0.5137 GB Notification: Performance of matching and sorting (n=12): time 0.0007315/0.1528, allocations: 221.5 kB / 0.7034 GB, free: 8.953 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.183e-05/0.1528, allocations: 51.41 kB / 0.7035 GB, free: 8.891 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001401/0.153, allocations: 158.1 kB / 0.7036 GB, free: 8.727 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.423e-05/0.153, allocations: 33.7 kB / 0.7037 GB, free: 8.688 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 8.302e-05/0.1531, allocations: 128.2 kB / 0.7038 GB, free: 8.555 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.913e-05/0.1531, allocations: 43.69 kB / 0.7038 GB, free: 8.512 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.821e-05/0.1532, allocations: 33.64 kB / 0.7039 GB, free: 8.473 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001465/0.1533, allocations: 330.8 kB / 0.7042 GB, free: 8.141 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002193/0.1535, allocations: 59.89 kB / 0.7042 GB, free: 8.082 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002332/0.1538, allocations: 85.47 kB / 0.7043 GB, free: 7.992 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004134/0.1542, allocations: 148.8 kB / 0.7045 GB, free: 7.84 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.1542, allocations: 0 / 0.7045 GB, free: 7.84 MB / 0.5137 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005038/0.1547, allocations: 181.4 kB / 0.7046 GB, free: 7.656 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.586e-05/0.1547, allocations: 9.562 kB / 0.7047 GB, free: 7.648 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.1547, allocations: 0 / 0.7047 GB, free: 7.648 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.266e-05/0.1547, allocations: 0 / 0.7047 GB, free: 7.648 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001929/0.1549, allocations: 47.97 kB / 0.7047 GB, free: 7.602 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.684e-06/0.1549, allocations: 4 kB / 0.7047 GB, free: 7.598 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000137/0.1551, allocations: 23.92 kB / 0.7047 GB, free: 7.574 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.304e-05/0.1551, allocations: 11.94 kB / 0.7047 GB, free: 7.562 MB / 0.5137 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.0001051/0.1552, allocations: 126.4 kB / 0.7049 GB, free: 7.43 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.802e-05/0.1552, allocations: 15.91 kB / 0.7049 GB, free: 7.414 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.275e-05/0.1553, allocations: 13.41 kB / 0.7049 GB, free: 7.395 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.32e-06/0.1553, allocations: 11.98 kB / 0.7049 GB, free: 7.383 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/0.1553, allocations: 0 / 0.7049 GB, free: 7.383 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.1553, allocations: 3.984 kB / 0.7049 GB, free: 7.379 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002847/0.1556, allocations: 249.4 kB / 0.7051 GB, free: 7.086 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.1556, allocations: 0 / 0.7051 GB, free: 7.086 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001915/0.1558, allocations: 35.97 kB / 0.7052 GB, free: 7.051 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.1558, allocations: 0 / 0.7052 GB, free: 7.051 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.197e-05/0.1558, allocations: 0 / 0.7052 GB, free: 7.051 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.651e-06/0.1558, allocations: 7.984 kB / 0.7052 GB, free: 7.043 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.1558, allocations: 4 kB / 0.7052 GB, free: 7.039 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007587/0.1566, allocations: 343 kB / 0.7055 GB, free: 6.691 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 6.823e-05/0.1566, allocations: 97.09 kB / 0.7056 GB, free: 6.578 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.075e-05/0.1566, allocations: 7.938 kB / 0.7056 GB, free: 6.57 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001573/0.1568, allocations: 15.98 kB / 0.7056 GB, free: 6.555 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.043e-05/0.1568, allocations: 15.97 kB / 0.7056 GB, free: 6.539 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.061e-05/0.1569, allocations: 4 kB / 0.7056 GB, free: 6.535 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 8.611e-05/0.1569, allocations: 117.8 kB / 0.7058 GB, free: 6.422 MB / 0.5137 GB Notification: Performance of sort global known variables: time 7.1e-08/0.1569, allocations: 0 / 0.7058 GB, free: 6.422 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002574/0.1572, allocations: 35.94 kB / 0.7058 GB, free: 6.387 MB / 0.5137 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.001075/0.1583, allocations: 0.8763 MB / 0.7066 GB, free: 5.484 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0004754/0.1588, allocations: 134 kB / 0.7068 GB, free: 5.355 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/0.1588, allocations: 0 / 0.7068 GB, free: 5.355 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0002209/0.159, allocations: 71.89 kB / 0.7068 GB, free: 5.285 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003081/0.1593, allocations: 24.11 kB / 0.7069 GB, free: 5.262 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002855/0.1621, allocations: 1.989 MB / 0.7088 GB, free: 3.184 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003538/0.1625, allocations: 0.7234 MB / 0.7095 GB, free: 2.434 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 5.457e-05/0.1625, allocations: 8.547 kB / 0.7095 GB, free: 2.426 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.069e-05/0.1626, allocations: 47.42 kB / 0.7096 GB, free: 2.379 MB / 0.5137 GB Notification: Performance of SimCode: time 3.1e-07/0.1626, allocations: 0 / 0.7096 GB, free: 2.379 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02044/0.1831, allocations: 3.373 MB / 0.7129 GB, free: 15.17 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.004/8.187, allocations: 11.78 kB / 0.7129 GB, free: 15.16 MB / 0.5294 GB " [Timeout remaining time 651] (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: 11.733001467015129] Failed to read output from testmodel.py, exit status != 0: 8.58865736000007 8.331190292 8.180412077 Calling exit ...