Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze.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.001382/0.001382, 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.001357/0.001357, 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.248/1.248, allocations: 225.6 MB / 249.3 MB, free: 3.207 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.9588/0.9588, allocations: 175.7 MB / 480.1 MB, free: 2.844 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.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_HeatPumps_ModularReversible_Controls_Safety_Examples_AntiFreeze",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_HeatPumps_ModularReversible_Controls_Safety_Examples_AntiFreeze",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001792/0.001792, allocations: 68.89 kB / 0.6678 GB, free: 11.01 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1464/0.1482, allocations: 94.53 MB / 0.7601 GB, free: 0.8125 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze): time 0.003261/0.1515, allocations: 2.105 MB / 0.7622 GB, free: 14.7 MB / 0.5763 GB Notification: Performance of NFInst.instExpressions: time 0.0009823/0.1525, allocations: 0.5728 MB / 0.7628 GB, free: 14.12 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001184/0.1526, allocations: 4 kB / 0.7628 GB, free: 14.12 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 0.0001122/0.1527, allocations: 27.67 kB / 0.7628 GB, free: 14.09 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 9.756e-05/0.1528, allocations: 35.66 kB / 0.7628 GB, free: 14.05 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002693/0.1531, allocations: 79.89 kB / 0.7629 GB, free: 13.98 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 0.000325/0.1534, allocations: 271.3 kB / 0.7632 GB, free: 13.71 MB / 0.5763 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002002/0.1536, allocations: 86.88 kB / 0.7632 GB, free: 13.62 MB / 0.5763 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001556/0.1537, allocations: 111.6 kB / 0.7633 GB, free: 13.52 MB / 0.5763 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001578/0.1539, allocations: 123.4 kB / 0.7635 GB, free: 13.39 MB / 0.5763 GB Notification: Performance of NFPackage.collectConstants: time 5.043e-05/0.154, allocations: 32 kB / 0.7635 GB, free: 13.36 MB / 0.5763 GB Notification: Performance of NFFlatten.collectFunctions: time 4.829e-05/0.154, allocations: 27.94 kB / 0.7635 GB, free: 13.34 MB / 0.5763 GB Notification: Performance of NFScalarize.scalarize: time 6.027e-05/0.1541, allocations: 55.83 kB / 0.7636 GB, free: 13.28 MB / 0.5763 GB Notification: Performance of NFVerifyModel.verify: time 0.0001114/0.1542, allocations: 111.4 kB / 0.7637 GB, free: 13.17 MB / 0.5763 GB Notification: Performance of NFConvertDAE.convert: time 0.0003147/0.1545, allocations: 278.8 kB / 0.7639 GB, free: 12.9 MB / 0.5763 GB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.1545, allocations: 0 / 0.7639 GB, free: 12.9 MB / 0.5763 GB Notification: Performance of FrontEnd: time 2.915e-06/0.1545, allocations: 4 kB / 0.7639 GB, free: 12.89 MB / 0.5763 GB Notification: Performance of Transformations before backend: time 7.333e-06/0.1545, allocations: 0 / 0.7639 GB, free: 12.89 MB / 0.5763 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 45 * Number of variables: 45 Notification: Performance of Generate backend data structure: time 0.00117/0.1557, allocations: 0.6485 MB / 0.7646 GB, free: 12.18 MB / 0.5763 GB Notification: Performance of prepare preOptimizeDAE: time 3.417e-05/0.1557, allocations: 12.03 kB / 0.7646 GB, free: 12.16 MB / 0.5763 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.277e-05/0.1558, allocations: 55.16 kB / 0.7646 GB, free: 12.1 MB / 0.5763 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.494e-05/0.1559, allocations: 32.75 kB / 0.7647 GB, free: 12.07 MB / 0.5763 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000314/0.1562, allocations: 252.5 kB / 0.7649 GB, free: 11.79 MB / 0.5763 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.652e-05/0.1562, allocations: 24.36 kB / 0.7649 GB, free: 11.76 MB / 0.5763 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.368e-05/0.1562, allocations: 24 kB / 0.765 GB, free: 11.74 MB / 0.5763 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006077/0.1568, allocations: 270.6 kB / 0.7652 GB, free: 11.46 MB / 0.5763 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.376e-06/0.1569, allocations: 0 / 0.7652 GB, free: 11.46 MB / 0.5763 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.708e-05/0.1569, allocations: 11.98 kB / 0.7652 GB, free: 11.45 MB / 0.5763 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.344e-06/0.1569, allocations: 4 kB / 0.7652 GB, free: 11.45 MB / 0.5763 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000661/0.1575, allocations: 201.6 kB / 0.7654 GB, free: 11.25 MB / 0.5763 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001074/0.1586, allocations: 0.6195 MB / 0.766 GB, free: 10.57 MB / 0.5763 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008012/0.1594, allocations: 214.5 kB / 0.7662 GB, free: 10.36 MB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003113/0.1597, allocations: 84.78 kB / 0.7663 GB, free: 10.27 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 2.402e-05/0.1598, allocations: 7.922 kB / 0.7663 GB, free: 10.26 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004654/0.1602, allocations: 191.1 kB / 0.7665 GB, free: 10.06 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=18): time 1.683e-06/0.1602, allocations: 0 / 0.7665 GB, free: 10.06 MB / 0.5763 GB Notification: Performance of matching and sorting (n=18): time 0.001037/0.1613, allocations: 330.8 kB / 0.7668 GB, free: 9.734 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.641e-05/0.1613, allocations: 110.8 kB / 0.7669 GB, free: 9.602 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001937/0.1615, allocations: 204.3 kB / 0.7671 GB, free: 9.391 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 3.766e-05/0.1616, allocations: 41.64 kB / 0.7672 GB, free: 9.344 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001009/0.1617, allocations: 152.4 kB / 0.7673 GB, free: 9.191 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 5.545e-05/0.1617, allocations: 55.61 kB / 0.7674 GB, free: 9.137 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.764e-05/0.1618, allocations: 57.7 kB / 0.7674 GB, free: 9.074 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 0.0001392/0.162, allocations: 334.8 kB / 0.7677 GB, free: 8.738 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003648/0.1623, allocations: 112.2 kB / 0.7678 GB, free: 8.629 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003987/0.1627, allocations: 171.9 kB / 0.768 GB, free: 8.438 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006841/0.1634, allocations: 308.8 kB / 0.7683 GB, free: 8.102 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.977e-06/0.1634, allocations: 4 kB / 0.7683 GB, free: 8.098 MB / 0.5763 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0009118/0.1643, allocations: 428.6 kB / 0.7687 GB, free: 7.656 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 6.655e-05/0.1644, allocations: 89.09 kB / 0.7688 GB, free: 7.551 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/0.1644, allocations: 7.938 kB / 0.7688 GB, free: 7.543 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.208e-05/0.1644, allocations: 0 / 0.7688 GB, free: 7.543 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002141/0.1646, allocations: 43.97 kB / 0.7688 GB, free: 7.5 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.828e-06/0.1646, allocations: 7.922 kB / 0.7689 GB, free: 7.492 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003122/0.1649, allocations: 55.91 kB / 0.7689 GB, free: 7.438 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.182e-05/0.165, allocations: 16 kB / 0.7689 GB, free: 7.422 MB / 0.5763 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 25 (antFre.disErr.y,$PRE.antFre.disErr.y,TEvaOutEmu.count,$PRE.TEvaOutEmu.count,TEvaOutEmu.T_start,$PRE.TEvaOutEmu.T_start,TConInEmu.count,$PRE.TConInEmu.count,TConInEmu.T_start,$PRE.TConInEmu.T_start,ySetPul.count,$PRE.ySetPul.count,ySetPul.T_start,$PRE.ySetPul.T_start,antFre.hys.y,$PRE.antFre.hys.y,hys.y,$PRE.hys.y,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,antFre.intConOne.y,antFre.disErr.local_set,antFre.disErr.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 3 * 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.000143/0.1651, allocations: 148 kB / 0.7691 GB, free: 7.27 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.847e-05/0.1652, allocations: 27.78 kB / 0.7691 GB, free: 7.242 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007366/0.1659, allocations: 265.1 kB / 0.7693 GB, free: 6.973 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.1659, allocations: 0 / 0.7693 GB, free: 6.973 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.1659, allocations: 0 / 0.7693 GB, free: 6.973 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/0.1659, allocations: 4 kB / 0.7693 GB, free: 6.969 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009642/0.1669, allocations: 0.5763 MB / 0.7699 GB, free: 6.336 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.1669, allocations: 0 / 0.7699 GB, free: 6.336 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001603/0.167, allocations: 31.95 kB / 0.7699 GB, free: 6.305 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.167, allocations: 0 / 0.7699 GB, free: 6.305 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.784e-05/0.167, allocations: 8 kB / 0.7699 GB, free: 6.297 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.167, allocations: 0 / 0.7699 GB, free: 6.297 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.1671, allocations: 3.984 kB / 0.77 GB, free: 6.293 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007388/0.1678, allocations: 352.6 kB / 0.7703 GB, free: 5.934 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 6.005e-05/0.1678, allocations: 96.94 kB / 0.7704 GB, free: 5.82 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.907e-05/0.1679, allocations: 11.94 kB / 0.7704 GB, free: 5.809 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002914/0.1682, allocations: 39.94 kB / 0.7704 GB, free: 5.77 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001118/0.1683, allocations: 43.95 kB / 0.7705 GB, free: 5.727 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.2e-05/0.1683, allocations: 11.98 kB / 0.7705 GB, free: 5.715 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.0001232/0.1684, allocations: 144 kB / 0.7706 GB, free: 5.574 MB / 0.5763 GB Notification: Performance of sort global known variables: time 7.1e-08/0.1684, allocations: 0 / 0.7706 GB, free: 5.574 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.0002878/0.1687, allocations: 59.89 kB / 0.7707 GB, free: 5.516 MB / 0.5763 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,hys.y,antFre.disErr.y,antFre.hys.y,ySetPul.T_start,ySetPul.count,TConInEmu.T_start,TConInEmu.count,TEvaOutEmu.T_start,TEvaOutEmu.count) * Number of discrete states: 6 (TEvaOutEmu.count,TConInEmu.count,ySetPul.count,antFre.hys.y,hys.y,antFre.disErr.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 7 * 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.001421/0.1701, allocations: 1.002 MB / 0.7717 GB, free: 4.488 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.0008557/0.171, allocations: 405.9 kB / 0.772 GB, free: 4.055 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.171, allocations: 0 / 0.772 GB, free: 4.055 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 0.0003521/0.1714, allocations: 108.2 kB / 0.7721 GB, free: 3.949 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003313/0.1717, allocations: 41.77 kB / 0.7722 GB, free: 3.91 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003916/0.1756, allocations: 2.591 MB / 0.7747 GB, free: 1.191 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003407/0.1759, allocations: 0.7397 MB / 0.7754 GB, free: 436 kB / 0.5763 GB Notification: Performance of simCode: alias equations: time 8.516e-05/0.176, allocations: 21.55 kB / 0.7755 GB, free: 416 kB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000123/0.1762, allocations: 71.41 kB / 0.7755 GB, free: 344 kB / 0.5763 GB Notification: Performance of SimCode: time 3.11e-07/0.1762, allocations: 0 / 0.7755 GB, free: 344 kB / 0.5763 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02815/0.2043, allocations: 5.242 MB / 0.7806 GB, free: 11.2 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.282/7.487, allocations: 0.6562 kB / 0.7806 GB, free: 11.2 MB / 0.5919 GB " [Timeout remaining time 652] (rm -f IDEAS_dev_IDEAS.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_HeatPumps_ModularReversible_Controls_Safety_Examples_AntiFreeze_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-08 IDEAS_dev_IDEAS_Fluid_HeatPumps_ModularReversible_Controls_Safety_Examples_AntiFreeze.fmu > IDEAS_dev_IDEAS.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.822922624007333]