Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.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.001389/0.001389, allocations: 109 kB / 17.54 MB, free: 4.746 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.001402/0.001402, allocations: 185.9 kB / 20.71 MB, free: 1.586 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.273/1.273, allocations: 225.6 MB / 249.3 MB, free: 3.168 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.9788/0.9788, allocations: 175.7 MB / 480.1 MB, free: 3.199 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.Compressors.BaseClasses.Validation.TemperatureProtection,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001738/0.001738, allocations: 68.03 kB / 0.6678 GB, free: 10.92 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.149/0.1508, allocations: 94.53 MB / 0.7601 GB, free: 0.8555 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection): time 0.003025/0.1538, allocations: 2.064 MB / 0.7621 GB, free: 14.78 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0008776/0.1547, allocations: 0.5766 MB / 0.7627 GB, free: 14.2 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.99e-05/0.1547, allocations: 4 kB / 0.7627 GB, free: 14.2 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0001009/0.1548, allocations: 19.73 kB / 0.7627 GB, free: 14.18 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 8.337e-05/0.1549, allocations: 43.59 kB / 0.7627 GB, free: 14.14 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002532/0.1552, allocations: 75.91 kB / 0.7628 GB, free: 14.06 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0002375/0.1554, allocations: 228 kB / 0.763 GB, free: 13.84 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001794/0.1556, allocations: 87.56 kB / 0.7631 GB, free: 13.75 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001308/0.1557, allocations: 99.56 kB / 0.7632 GB, free: 13.65 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001282/0.1558, allocations: 95.55 kB / 0.7633 GB, free: 13.55 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.558e-05/0.1559, allocations: 24 kB / 0.7633 GB, free: 13.53 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 7.485e-05/0.156, allocations: 39.98 kB / 0.7633 GB, free: 13.49 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 7.677e-05/0.156, allocations: 55.78 kB / 0.7634 GB, free: 13.44 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 9.682e-05/0.1561, allocations: 107.4 kB / 0.7635 GB, free: 13.33 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002962/0.1564, allocations: 274.8 kB / 0.7638 GB, free: 13.06 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 2.996e-06/0.1564, allocations: 4 kB / 0.7638 GB, free: 13.06 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.513e-06/0.1564, allocations: 0 / 0.7638 GB, free: 13.06 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 8.796e-06/0.1564, allocations: 0 / 0.7638 GB, free: 13.06 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: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.0007386/0.1572, allocations: 0.5218 MB / 0.7643 GB, free: 12.49 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.277e-05/0.1572, allocations: 12.03 kB / 0.7643 GB, free: 12.48 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.574e-05/0.1573, allocations: 50.73 kB / 0.7643 GB, free: 12.42 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.24e-05/0.1573, allocations: 32.73 kB / 0.7644 GB, free: 12.39 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003073/0.1576, allocations: 253.3 kB / 0.7646 GB, free: 12.1 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.845e-05/0.1576, allocations: 20.12 kB / 0.7646 GB, free: 12.08 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.618e-05/0.1577, allocations: 16 kB / 0.7646 GB, free: 12.06 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003729/0.1581, allocations: 224.7 kB / 0.7649 GB, free: 11.82 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.135e-06/0.1581, allocations: 0 / 0.7649 GB, free: 11.82 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.271e-05/0.1581, allocations: 11.98 kB / 0.7649 GB, free: 11.81 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.111e-06/0.1581, allocations: 4 kB / 0.7649 GB, free: 11.81 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002896/0.1584, allocations: 139.9 kB / 0.765 GB, free: 11.67 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008493/0.1592, allocations: 0.5896 MB / 0.7656 GB, free: 11.03 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003338/0.1596, allocations: 110.7 kB / 0.7657 GB, free: 10.91 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000111/0.1597, allocations: 52.89 kB / 0.7657 GB, free: 10.86 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.519e-05/0.1597, allocations: 0 / 0.7657 GB, free: 10.86 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.183e-05/0.1597, allocations: 46.62 kB / 0.7658 GB, free: 10.8 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=10): time 9.31e-07/0.1597, allocations: 0 / 0.7658 GB, free: 10.8 MB / 0.5762 GB Notification: Performance of matching and sorting (n=10): time 0.0004393/0.1602, allocations: 169.4 kB / 0.7659 GB, free: 10.63 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.48e-05/0.1602, allocations: 136.5 kB / 0.7661 GB, free: 10.47 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001942/0.1604, allocations: 211 kB / 0.7663 GB, free: 10.25 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.351e-05/0.1605, allocations: 33.7 kB / 0.7663 GB, free: 10.21 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 9.766e-05/0.1606, allocations: 144.3 kB / 0.7664 GB, free: 10.07 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.57e-05/0.1606, allocations: 35.73 kB / 0.7665 GB, free: 10.03 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.107e-05/0.1607, allocations: 34.08 kB / 0.7665 GB, free: 9.992 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001396/0.1608, allocations: 326.8 kB / 0.7668 GB, free: 9.664 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001164/0.1609, allocations: 47.97 kB / 0.7669 GB, free: 9.617 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001497/0.1611, allocations: 96.27 kB / 0.767 GB, free: 9.508 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001931/0.1613, allocations: 89.56 kB / 0.767 GB, free: 9.414 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.1613, allocations: 0 / 0.767 GB, free: 9.414 MB / 0.5762 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002935/0.1616, allocations: 156.8 kB / 0.7672 GB, free: 9.258 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.385e-05/0.1616, allocations: 7.938 kB / 0.7672 GB, free: 9.25 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.577e-06/0.1616, allocations: 0 / 0.7672 GB, free: 9.25 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.539e-05/0.1616, allocations: 3.984 kB / 0.7672 GB, free: 9.246 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001012/0.1617, allocations: 23.92 kB / 0.7672 GB, free: 9.223 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.408e-06/0.1617, allocations: 0 / 0.7672 GB, free: 9.223 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001352/0.1618, allocations: 27.88 kB / 0.7673 GB, free: 9.195 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.691e-05/0.1618, allocations: 4 kB / 0.7673 GB, free: 9.191 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 7 (temPro.hysdTConEva.y,$PRE.temPro.hysdTConEva.y,temPro.on.y,temPro.hysLow.y,$PRE.temPro.hysLow.y,temPro.hysHig.y,$PRE.temPro.hysHig.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0001256/0.162, allocations: 143.7 kB / 0.7674 GB, free: 9.043 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.707e-05/0.162, allocations: 23.8 kB / 0.7674 GB, free: 9.02 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003136/0.1623, allocations: 147 kB / 0.7676 GB, free: 8.871 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.913e-06/0.1623, allocations: 4 kB / 0.7676 GB, free: 8.867 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-06/0.1623, allocations: 0 / 0.7676 GB, free: 8.867 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.1623, allocations: 3.984 kB / 0.7676 GB, free: 8.863 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002802/0.1626, allocations: 269.5 kB / 0.7678 GB, free: 8.551 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.1626, allocations: 4 kB / 0.7678 GB, free: 8.547 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.626e-05/0.1627, allocations: 19.94 kB / 0.7678 GB, free: 8.527 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.909e-06/0.1627, allocations: 7.922 kB / 0.7679 GB, free: 8.52 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.031e-05/0.1627, allocations: 0 / 0.7679 GB, free: 8.52 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.1627, allocations: 0 / 0.7679 GB, free: 8.52 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.1627, allocations: 0 / 0.7679 GB, free: 8.52 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003151/0.1631, allocations: 235.3 kB / 0.7681 GB, free: 8.273 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 6.001e-05/0.1631, allocations: 100.8 kB / 0.7682 GB, free: 8.156 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.98e-05/0.1631, allocations: 8 kB / 0.7682 GB, free: 8.148 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001513/0.1633, allocations: 15.97 kB / 0.7682 GB, free: 8.133 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.5e-05/0.1634, allocations: 23.97 kB / 0.7682 GB, free: 8.109 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.223e-05/0.1634, allocations: 8.172 kB / 0.7682 GB, free: 8.102 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001214/0.1635, allocations: 152.4 kB / 0.7684 GB, free: 7.953 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9e-08/0.1635, allocations: 3.938 kB / 0.7684 GB, free: 7.949 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002538/0.1637, allocations: 39.89 kB / 0.7684 GB, free: 7.91 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 (temPro.hysHig.y,temPro.hysLow.y,temPro.on.y,temPro.hysdTConEva.y) * Number of discrete states: 3 (temPro.hysdTConEva.y,temPro.hysLow.y,temPro.hysHig.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 10 * 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.0006421/0.1644, allocations: 0.7747 MB / 0.7692 GB, free: 7.105 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0002856/0.1647, allocations: 112 kB / 0.7693 GB, free: 6.996 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.704e-06/0.1647, allocations: 0 / 0.7693 GB, free: 6.996 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001318/0.1648, allocations: 55.91 kB / 0.7693 GB, free: 6.941 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002808/0.1651, allocations: 16 kB / 0.7693 GB, free: 6.926 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002249/0.1673, allocations: 1.99 MB / 0.7713 GB, free: 4.855 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003463/0.1677, allocations: 0.7358 MB / 0.772 GB, free: 4.094 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 7.462e-05/0.1678, allocations: 25.41 kB / 0.772 GB, free: 4.066 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001041/0.1679, allocations: 63.69 kB / 0.7721 GB, free: 4.004 MB / 0.5762 GB Notification: Performance of SimCode: time 3.01e-07/0.1679, allocations: 3.938 kB / 0.7721 GB, free: 4 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02602/0.1939, allocations: 3.981 MB / 0.776 GB, free: 128 kB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.215/7.409, allocations: 0 / 0.776 GB, free: 128 kB / 0.5762 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection.fmu > IDEAS_dev_IDEAS.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.762231201006216]