Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: "" <> buildModelFMU(IBPSA.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001142/0.001142, allocations: 178.8 kB / 13.19 MB, free: 2.133 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4658/0.4658, allocations: 90.81 MB / 104.5 MB, free: 9.789 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.227/1.227, allocations: 221.3 MB / 348.3 MB, free: 440 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009043/0.0009044, allocations: 103.1 kB / 421.2 MB, free: 5.469 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 2.932e-05/2.944e-05, allocations: 4 kB / 0.4897 GB, free: 5.242 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3428/0.3429, allocations: 72.3 MB / 0.5603 GB, free: 40.42 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1232/0.4661, allocations: 104.5 MB / 0.6623 GB, free: 15.84 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002726/0.4664, allocations: 91.94 kB / 0.6624 GB, free: 15.75 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009973/0.4764, allocations: 3.356 MB / 0.6657 GB, free: 12.4 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.232e-06/0.4765, allocations: 0 / 0.6657 GB, free: 12.4 MB / 490.7 MB Notification: Performance of Transformations before backend: time 2.303e-05/0.4765, allocations: 8 kB / 0.6657 GB, free: 12.39 MB / 490.7 MB 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.0007465/0.4773, allocations: 485.3 kB / 0.6662 GB, free: 11.88 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.843e-05/0.4773, allocations: 11.98 kB / 0.6662 GB, free: 11.87 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.521e-05/0.4774, allocations: 58.48 kB / 0.6662 GB, free: 11.8 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.169e-05/0.4775, allocations: 23.72 kB / 0.6663 GB, free: 11.78 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002929/0.4778, allocations: 235.6 kB / 0.6665 GB, free: 11.5 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.266e-05/0.4778, allocations: 15.78 kB / 0.6665 GB, free: 11.49 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.171e-05/0.4779, allocations: 20 kB / 0.6665 GB, free: 11.47 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003777/0.4782, allocations: 204.8 kB / 0.6667 GB, free: 11.25 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.078e-05/0.4783, allocations: 0 / 0.6667 GB, free: 11.25 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.051e-05/0.4783, allocations: 11.95 kB / 0.6667 GB, free: 11.24 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.405e-06/0.4783, allocations: 4 kB / 0.6667 GB, free: 11.23 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002508/0.4786, allocations: 127.7 kB / 0.6668 GB, free: 11.11 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009683/0.4796, allocations: 0.6053 MB / 0.6674 GB, free: 10.45 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003299/0.4799, allocations: 122.7 kB / 0.6676 GB, free: 10.32 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.708e-05/0.48, allocations: 41.64 kB / 0.6676 GB, free: 10.28 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.84e-05/0.48, allocations: 0 / 0.6676 GB, free: 10.28 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.9e-05/0.4801, allocations: 30.56 kB / 0.6676 GB, free: 10.24 MB / 490.7 MB Notification: Performance of pre-optimization done (n=10): time 1.022e-06/0.4801, allocations: 8 kB / 0.6676 GB, free: 10.23 MB / 490.7 MB Notification: Performance of matching and sorting (n=10): time 0.0003032/0.4804, allocations: 113.6 kB / 0.6677 GB, free: 10.12 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.639e-05/0.4805, allocations: 132.5 kB / 0.6679 GB, free: 9.957 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001813/0.4807, allocations: 194 kB / 0.6681 GB, free: 9.762 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 3.6e-05/0.4807, allocations: 33.7 kB / 0.6681 GB, free: 9.723 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.453e-05/0.4808, allocations: 136.2 kB / 0.6682 GB, free: 9.582 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.119e-05/0.4808, allocations: 31.62 kB / 0.6682 GB, free: 9.551 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.976e-06/0.4809, allocations: 4 kB / 0.6682 GB, free: 9.547 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001407/0.481, allocations: 338.7 kB / 0.6686 GB, free: 9.207 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.539e-05/0.4811, allocations: 36 kB / 0.6686 GB, free: 9.172 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.908e-05/0.4812, allocations: 74.27 kB / 0.6687 GB, free: 9.09 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.853e-05/0.4813, allocations: 28 kB / 0.6687 GB, free: 9.062 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.769e-06/0.4813, allocations: 4 kB / 0.6687 GB, free: 9.059 MB / 490.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002327/0.4815, allocations: 130.6 kB / 0.6688 GB, free: 8.926 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.641e-05/0.4815, allocations: 4 kB / 0.6688 GB, free: 8.922 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.4816, allocations: 4 kB / 0.6688 GB, free: 8.918 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.374e-05/0.4816, allocations: 0 / 0.6688 GB, free: 8.918 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001212/0.4817, allocations: 27.92 kB / 0.6689 GB, free: 8.891 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.242e-06/0.4817, allocations: 0 / 0.6689 GB, free: 8.891 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001607/0.4819, allocations: 35.91 kB / 0.6689 GB, free: 8.855 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.138e-05/0.4819, allocations: 8 kB / 0.6689 GB, free: 8.848 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 ($PRE.temPro.hysHig.y,temPro.hysHig.y,$PRE.temPro.hysLow.y,temPro.hysLow.y,temPro.on.y,$PRE.temPro.hysdTConEva.y,temPro.hysdTConEva.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.998e-05/0.482, allocations: 115.4 kB / 0.669 GB, free: 8.73 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.461e-05/0.4821, allocations: 15.81 kB / 0.669 GB, free: 8.715 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002725/0.4823, allocations: 131.1 kB / 0.6692 GB, free: 8.578 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.235e-06/0.4824, allocations: 0 / 0.6692 GB, free: 8.578 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.664e-06/0.4824, allocations: 7.984 kB / 0.6692 GB, free: 8.57 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.4824, allocations: 0 / 0.6692 GB, free: 8.57 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002839/0.4827, allocations: 269.4 kB / 0.6694 GB, free: 8.258 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.965e-06/0.4827, allocations: 8 kB / 0.6694 GB, free: 8.25 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001038/0.4828, allocations: 19.98 kB / 0.6694 GB, free: 8.23 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.4828, allocations: 0 / 0.6694 GB, free: 8.23 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.399e-05/0.4828, allocations: 3.984 kB / 0.6695 GB, free: 8.227 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.815e-06/0.4828, allocations: 4 kB / 0.6695 GB, free: 8.223 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.929e-06/0.4828, allocations: 7.938 kB / 0.6695 GB, free: 8.215 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002407/0.4831, allocations: 204.2 kB / 0.6697 GB, free: 8 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.865e-05/0.4832, allocations: 100.9 kB / 0.6698 GB, free: 7.883 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.306e-05/0.4832, allocations: 8 kB / 0.6698 GB, free: 7.875 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001764/0.4834, allocations: 27.97 kB / 0.6698 GB, free: 7.848 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.737e-05/0.4835, allocations: 31.89 kB / 0.6698 GB, free: 7.816 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.253e-05/0.4835, allocations: 3.984 kB / 0.6698 GB, free: 7.812 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0001352/0.4836, allocations: 152.7 kB / 0.67 GB, free: 7.664 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.4837, allocations: 3.938 kB / 0.67 GB, free: 7.66 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002453/0.4839, allocations: 33.5 kB / 0.67 GB, free: 7.629 MB / 490.7 MB 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) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006193/0.4845, allocations: 0.763 MB / 0.6707 GB, free: 6.836 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0002088/0.4848, allocations: 95.31 kB / 0.6708 GB, free: 6.746 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.4848, allocations: 0 / 0.6708 GB, free: 6.746 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 9.602e-05/0.4849, allocations: 47.92 kB / 0.6709 GB, free: 6.699 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002193/0.4851, allocations: 24.69 kB / 0.6709 GB, free: 6.676 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006509/0.4858, allocations: 256.4 kB / 0.6712 GB, free: 6.395 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003841/0.4861, allocations: 0.74 MB / 0.6719 GB, free: 5.629 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 9.666e-05/0.4863, allocations: 17.23 kB / 0.6719 GB, free: 5.609 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001188/0.4864, allocations: 67.41 kB / 0.672 GB, free: 5.547 MB / 490.7 MB Notification: Performance of SimCode: time 5.71e-07/0.4864, allocations: 0 / 0.672 GB, free: 5.547 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01512/0.5015, allocations: 3.717 MB / 0.6756 GB, free: 2.043 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001696/0.5017, allocations: 181 kB / 0.6758 GB, free: 1.82 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.616/2.118, allocations: 0 / 0.6758 GB, free: 1.82 MB / 490.7 MB (rm -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection.fmu > IBPSA_latest_IBPSA.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe 2>&1)