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.001775/0.001775, allocations: 107.6 kB / 16.45 MB, free: 6.508 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.001999/0.001999, allocations: 200.5 kB / 19.41 MB, free: 3.66 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.38/1.38, allocations: 225.6 MB / 247.8 MB, free: 13.96 MB / 206.1 MB " [Timeout remaining time 178] 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 1.028/1.028, allocations: 175.8 MB / 478.4 MB, free: 8.48 MB / 382.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.001951/0.001951, allocations: 68.7 kB / 0.6652 GB, free: 0.5234 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1895/0.1915, allocations: 94.54 MB / 0.7575 GB, free: 1.883 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection): time 0.3745/0.566, allocations: 2.039 MB / 0.7595 GB, free: 8 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001145/0.5672, allocations: 0.5685 MB / 0.7601 GB, free: 7.996 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001033/0.5673, allocations: 2.375 kB / 0.7601 GB, free: 7.996 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0001384/0.5674, allocations: 24.31 kB / 0.7601 GB, free: 7.996 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 8.54e-05/0.5675, allocations: 35.7 kB / 0.7601 GB, free: 7.996 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003234/0.5678, allocations: 87.38 kB / 0.7602 GB, free: 7.992 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0002761/0.5681, allocations: 226 kB / 0.7604 GB, free: 7.984 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002101/0.5683, allocations: 89.7 kB / 0.7605 GB, free: 7.969 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000147/0.5685, allocations: 89.05 kB / 0.7606 GB, free: 7.953 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001453/0.5686, allocations: 104.6 kB / 0.7607 GB, free: 7.93 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 4.455e-05/0.5686, allocations: 24.5 kB / 0.7607 GB, free: 7.93 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 8.743e-05/0.5687, allocations: 34.61 kB / 0.7608 GB, free: 7.93 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 7.184e-05/0.5688, allocations: 57.41 kB / 0.7608 GB, free: 7.918 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001017/0.5689, allocations: 105.4 kB / 0.7609 GB, free: 7.887 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0004205/0.5693, allocations: 278.6 kB / 0.7612 GB, free: 7.844 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.838e-06/0.5693, allocations: 2.781 kB / 0.7612 GB, free: 7.844 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.372e-06/0.5693, allocations: 0 / 0.7612 GB, free: 7.844 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.464e-06/0.5693, allocations: 0 / 0.7612 GB, free: 7.844 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.0007777/0.5701, allocations: 0.5225 MB / 0.7617 GB, free: 7.422 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.455e-05/0.5702, allocations: 11.7 kB / 0.7617 GB, free: 7.422 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.03e-05/0.5702, allocations: 50.39 kB / 0.7618 GB, free: 7.383 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.271e-05/0.5703, allocations: 31.39 kB / 0.7618 GB, free: 7.367 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003004/0.5706, allocations: 253.2 kB / 0.762 GB, free: 7.141 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.698e-05/0.5706, allocations: 16.47 kB / 0.762 GB, free: 7.141 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.383e-05/0.5706, allocations: 23.19 kB / 0.7621 GB, free: 7.137 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003977/0.571, allocations: 220.1 kB / 0.7623 GB, free: 7.07 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.129e-05/0.5711, allocations: 0.8438 kB / 0.7623 GB, free: 7.07 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.963e-05/0.5711, allocations: 5.562 kB / 0.7623 GB, free: 7.07 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.797e-06/0.5711, allocations: 4.156 kB / 0.7623 GB, free: 7.07 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003129/0.5714, allocations: 149.5 kB / 0.7624 GB, free: 7.062 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009511/0.5723, allocations: 0.5889 MB / 0.763 GB, free: 6.754 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003446/0.5727, allocations: 119.2 kB / 0.7631 GB, free: 6.727 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001075/0.5728, allocations: 47.27 kB / 0.7632 GB, free: 6.719 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 3.766e-05/0.5728, allocations: 5.844 kB / 0.7632 GB, free: 6.719 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.317e-05/0.5729, allocations: 32.38 kB / 0.7632 GB, free: 6.68 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=10): time 1.363e-06/0.5729, allocations: 1.969 kB / 0.7632 GB, free: 6.68 MB / 0.5762 GB Notification: Performance of matching and sorting (n=10): time 0.0004665/0.5733, allocations: 180.5 kB / 0.7634 GB, free: 6.625 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.984e-05/0.5734, allocations: 131.1 kB / 0.7635 GB, free: 6.469 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001856/0.5736, allocations: 211.7 kB / 0.7637 GB, free: 6.363 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.047e-05/0.5736, allocations: 39.44 kB / 0.7637 GB, free: 6.324 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 7.719e-05/0.5736, allocations: 146 kB / 0.7639 GB, free: 6.223 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.66e-05/0.5737, allocations: 31.41 kB / 0.7639 GB, free: 6.203 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.099e-05/0.5737, allocations: 37.89 kB / 0.7639 GB, free: 6.188 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 5.636e-05/0.5738, allocations: 327 kB / 0.7643 GB, free: 5.875 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001139/0.5739, allocations: 46.83 kB / 0.7643 GB, free: 5.875 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001347/0.574, allocations: 94.73 kB / 0.7644 GB, free: 5.828 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000185/0.5742, allocations: 88.91 kB / 0.7645 GB, free: 5.809 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.5742, allocations: 0 / 0.7645 GB, free: 5.809 MB / 0.5762 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002791/0.5745, allocations: 154.9 kB / 0.7646 GB, free: 5.766 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.958e-05/0.5745, allocations: 9.094 kB / 0.7646 GB, free: 5.762 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/0.5745, allocations: 4.688 kB / 0.7646 GB, free: 5.758 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.821e-05/0.5746, allocations: 1.125 kB / 0.7646 GB, free: 5.758 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001114/0.5747, allocations: 17.44 kB / 0.7647 GB, free: 5.758 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.765e-06/0.5747, allocations: 1.609 kB / 0.7647 GB, free: 5.758 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001404/0.5748, allocations: 24 kB / 0.7647 GB, free: 5.754 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.275e-05/0.5748, allocations: 7.766 kB / 0.7647 GB, free: 5.754 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.0001026/0.5749, allocations: 143.3 kB / 0.7648 GB, free: 5.629 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.39e-05/0.575, allocations: 25.73 kB / 0.7648 GB, free: 5.613 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003294/0.5753, allocations: 144.6 kB / 0.765 GB, free: 5.574 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.809e-06/0.5753, allocations: 1.703 kB / 0.765 GB, free: 5.574 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.379e-06/0.5753, allocations: 0 / 0.765 GB, free: 5.574 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.5753, allocations: 1.922 kB / 0.765 GB, free: 5.574 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002733/0.5756, allocations: 268.9 kB / 0.7652 GB, free: 5.387 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.846e-06/0.5756, allocations: 2.156 kB / 0.7652 GB, free: 5.387 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.627e-05/0.5757, allocations: 14.03 kB / 0.7653 GB, free: 5.387 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.487e-06/0.5757, allocations: 9.156 kB / 0.7653 GB, free: 5.379 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.502e-05/0.5757, allocations: 7.297 kB / 0.7653 GB, free: 5.379 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.063e-06/0.5757, allocations: 0.6094 kB / 0.7653 GB, free: 5.379 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.526e-06/0.5757, allocations: 2.812 kB / 0.7653 GB, free: 5.379 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002767/0.576, allocations: 227 kB / 0.7655 GB, free: 5.234 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 4.134e-05/0.576, allocations: 99.22 kB / 0.7656 GB, free: 5.129 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.495e-05/0.5761, allocations: 10.28 kB / 0.7656 GB, free: 5.125 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001487/0.5762, allocations: 26.25 kB / 0.7656 GB, free: 5.117 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.973e-05/0.5763, allocations: 22.41 kB / 0.7656 GB, free: 5.117 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.304e-05/0.5763, allocations: 4.109 kB / 0.7657 GB, free: 5.117 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001129/0.5764, allocations: 157.1 kB / 0.7658 GB, free: 5.039 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.01e-07/0.5764, allocations: 3.938 kB / 0.7658 GB, free: 5.035 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.000268/0.5767, allocations: 39.52 kB / 0.7658 GB, free: 5.027 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.000542/0.5772, allocations: 0.7727 MB / 0.7666 GB, free: 4.352 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0002987/0.5775, allocations: 105.3 kB / 0.7667 GB, free: 4.348 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.5775, allocations: 1.219 kB / 0.7667 GB, free: 4.348 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001196/0.5777, allocations: 56.08 kB / 0.7668 GB, free: 4.34 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003643/0.578, allocations: 22.69 kB / 0.7668 GB, free: 4.34 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002446/0.5805, allocations: 2.001 MB / 0.7687 GB, free: 18.93 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003901/0.5809, allocations: 0.734 MB / 0.7694 GB, free: 18.23 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 9.377e-05/0.581, allocations: 20.62 kB / 0.7695 GB, free: 18.22 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001044/0.5811, allocations: 64.44 kB / 0.7695 GB, free: 18.17 MB / 0.5919 GB Notification: Performance of SimCode: time 1.282e-06/0.5811, allocations: 0 / 0.7695 GB, free: 18.17 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03052/0.6116, allocations: 4.012 MB / 0.7734 GB, free: 17.73 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.964/8.575, allocations: 11.25 kB / 0.7735 GB, free: 17.73 MB / 0.5919 GB " [Timeout remaining time 651] (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 --stepSize=0.002 --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: 12.305476733017713] Failed to read output from testmodel.py, exit status != 0: 8.644867921248078 8.667479486 8.09349836 Calling exit ...