Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection,fileNamePrefix="BuildSysPro_BuildSysPro_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/BuildSysPro 3.5.0/package.mo): time 0.7302/0.7302, allocations: 128.7 MB / 143.7 MB, free: 2.328 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00115/0.00115, allocations: 185.8 kB / 173.8 MB, free: 6.121 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.452/1.452, allocations: 205.4 MB / 409 MB, free: 10.48 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009049/0.0009049, allocations: 95.11 kB / 486.5 MB, free: 13 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004501/0.0004502, allocations: 9.406 kB / 0.5605 GB, free: 97.49 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1392/0.1396, allocations: 76.77 MB / 0.6354 GB, free: 30.42 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.133/0.2727, allocations: 105.7 MB / 0.7387 GB, free: 4.535 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002867/0.273, allocations: 99.92 kB / 0.7388 GB, free: 4.438 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.009235/0.2823, allocations: 3.313 MB / 0.742 GB, free: 1.113 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.783e-06/0.2823, allocations: 0 / 0.742 GB, free: 1.113 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 2.062e-05/0.2824, allocations: 4 kB / 0.742 GB, free: 1.109 MB / 0.5105 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.0007359/0.2831, allocations: 0.5062 MB / 0.7425 GB, free: 0.5547 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.283e-05/0.2832, allocations: 12.03 kB / 0.7425 GB, free: 0.543 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.524e-05/0.2832, allocations: 50.55 kB / 0.7426 GB, free: 496 kB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.547e-05/0.2833, allocations: 31.72 kB / 0.7426 GB, free: 464 kB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002715/0.2836, allocations: 239.4 kB / 0.7428 GB, free: 180 kB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.428e-05/0.2836, allocations: 19.98 kB / 0.7429 GB, free: 160 kB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.609e-05/0.2837, allocations: 12 kB / 0.7429 GB, free: 148 kB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2663/0.55, allocations: 219.2 kB / 0.7431 GB, free: 108.3 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.749e-05/0.55, allocations: 0.6875 kB / 0.7431 GB, free: 108.3 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.853e-05/0.5501, allocations: 8.156 kB / 0.7431 GB, free: 108.3 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.006e-05/0.5501, allocations: 9.594 kB / 0.7431 GB, free: 108.3 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004434/0.5505, allocations: 145.7 kB / 0.7432 GB, free: 108.3 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001043/0.5516, allocations: 0.6071 MB / 0.7438 GB, free: 108 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003614/0.552, allocations: 133.6 kB / 0.7439 GB, free: 108 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 4.24e-05/0.552, allocations: 3.688 kB / 0.744 GB, free: 108 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.149e-05/0.5521, allocations: 35.97 kB / 0.744 GB, free: 108 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=10): time 1.823e-06/0.5521, allocations: 0 / 0.744 GB, free: 108 MB / 0.5105 GB Notification: Performance of matching and sorting (n=10): time 0.0004633/0.5525, allocations: 183.4 kB / 0.7442 GB, free: 107.9 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.49e-05/0.5526, allocations: 132.2 kB / 0.7443 GB, free: 107.8 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001555/0.5527, allocations: 201 kB / 0.7445 GB, free: 107.7 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.156e-05/0.5528, allocations: 32.17 kB / 0.7445 GB, free: 107.6 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 6.7e-05/0.5528, allocations: 146.5 kB / 0.7446 GB, free: 107.5 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.554e-05/0.5529, allocations: 28 kB / 0.7447 GB, free: 107.5 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.484e-06/0.5529, allocations: 0 / 0.7447 GB, free: 107.5 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 5.444e-05/0.553, allocations: 330.4 kB / 0.745 GB, free: 107.2 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001107/0.5531, allocations: 55.75 kB / 0.745 GB, free: 107.2 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001175/0.5532, allocations: 81.31 kB / 0.7451 GB, free: 107.2 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001024/0.5533, allocations: 48.84 kB / 0.7452 GB, free: 107.2 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.624e-06/0.5533, allocations: 4.281 kB / 0.7452 GB, free: 107.2 MB / 0.5105 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002624/0.5536, allocations: 156 kB / 0.7453 GB, free: 107.1 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.846e-05/0.5536, allocations: 6.75 kB / 0.7453 GB, free: 107.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.149e-06/0.5536, allocations: 384 / 0.7453 GB, free: 107.1 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.664e-05/0.5536, allocations: 0 / 0.7453 GB, free: 107.1 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001054/0.5538, allocations: 22.75 kB / 0.7454 GB, free: 107.1 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.151e-06/0.5538, allocations: 0 / 0.7454 GB, free: 107.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000142/0.5539, allocations: 39.97 kB / 0.7454 GB, free: 107.1 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.286e-05/0.554, allocations: 6.609 kB / 0.7454 GB, free: 107.1 MB / 0.5105 GB 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 () * Number of clocked 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 0.0001089/0.5541, allocations: 146.5 kB / 0.7455 GB, free: 107 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.802e-05/0.5541, allocations: 17.27 kB / 0.7456 GB, free: 107 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003167/0.5544, allocations: 158.5 kB / 0.7457 GB, free: 107 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.5544, allocations: 1.875 kB / 0.7457 GB, free: 107 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.5545, allocations: 0 / 0.7457 GB, free: 107 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.898e-06/0.5545, allocations: 0.6094 kB / 0.7457 GB, free: 107 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002223/0.5547, allocations: 274 kB / 0.746 GB, free: 106.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.5547, allocations: 0 / 0.746 GB, free: 106.8 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.94e-05/0.5548, allocations: 23.38 kB / 0.746 GB, free: 106.8 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.5548, allocations: 1.094 kB / 0.746 GB, free: 106.8 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.529e-05/0.5548, allocations: 8.031 kB / 0.746 GB, free: 106.8 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.5548, allocations: 1.219 kB / 0.746 GB, free: 106.8 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.5549, allocations: 0 / 0.746 GB, free: 106.8 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002621/0.5551, allocations: 242 kB / 0.7462 GB, free: 106.6 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 3.869e-05/0.5552, allocations: 104.5 kB / 0.7463 GB, free: 106.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.258e-05/0.5552, allocations: 4 kB / 0.7463 GB, free: 106.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001604/0.5554, allocations: 29.83 kB / 0.7464 GB, free: 106.5 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.824e-05/0.5554, allocations: 27.17 kB / 0.7464 GB, free: 106.5 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.123e-05/0.5555, allocations: 6.109 kB / 0.7464 GB, free: 106.5 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0001054/0.5556, allocations: 152.6 kB / 0.7465 GB, free: 106.4 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5556, allocations: 0 / 0.7465 GB, free: 106.4 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002571/0.5558, allocations: 30.94 kB / 0.7466 GB, free: 106.4 MB / 0.5105 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 (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.0004896/0.5563, allocations: 0.7921 MB / 0.7473 GB, free: 105.8 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.000268/0.5566, allocations: 113.9 kB / 0.7474 GB, free: 105.8 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.5566, allocations: 0 / 0.7474 GB, free: 105.8 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0001084/0.5568, allocations: 66.09 kB / 0.7475 GB, free: 105.8 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002084/0.557, allocations: 19.83 kB / 0.7475 GB, free: 105.8 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001523/0.5585, allocations: 1.075 MB / 0.7486 GB, free: 105.3 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001542/0.5587, allocations: 0.7397 MB / 0.7493 GB, free: 104.6 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 8.252e-05/0.5588, allocations: 15.98 kB / 0.7493 GB, free: 104.6 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001015/0.5589, allocations: 68.11 kB / 0.7494 GB, free: 104.6 MB / 0.5105 GB Notification: Performance of SimCode: time 3.71e-07/0.5589, allocations: 4 kB / 0.7494 GB, free: 104.6 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01505/0.5739, allocations: 3.774 MB / 0.7531 GB, free: 104.3 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001288/0.5741, allocations: 228.7 kB / 0.7533 GB, free: 104.1 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.667/2.241, allocations: 0 / 0.7533 GB, free: 104.1 MB / 0.5105 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe 2>&1)