Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) 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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9501/0.9501, allocations: 141.8 MB / 149.3 MB, free: 9.238 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001043/0.001043, allocations: 176.8 kB / 182.2 MB, free: 9.48 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.575/1.575, allocations: 221.5 MB / 436.4 MB, free: 13.36 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009306/0.0009307, allocations: 88 kB / 0.5074 GB, free: 10.19 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001759/0.001759, allocations: 272.8 kB / 0.5889 GB, free: 54.69 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 2.605e-05/2.608e-05, allocations: 4 kB / 0.6766 GB, free: 12.74 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.449/0.449, allocations: 82.78 MB / 0.7575 GB, free: 31.93 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.158/0.6071, allocations: 110.9 MB / 0.8658 GB, free: 0.8828 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003977/0.6075, allocations: 95.92 kB / 0.8659 GB, free: 0.7891 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.01465/0.6222, allocations: 3.313 MB / 0.8691 GB, free: 13.47 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.644e-06/0.6223, allocations: 0 / 0.8691 GB, free: 13.47 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 2.189e-05/0.6223, allocations: 4 kB / 0.8691 GB, free: 13.46 MB / 0.5417 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.00093/0.6232, allocations: 485.8 kB / 0.8696 GB, free: 12.95 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.154e-05/0.6233, allocations: 8.031 kB / 0.8696 GB, free: 12.94 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.176e-05/0.6234, allocations: 23.72 kB / 0.8696 GB, free: 12.91 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003783/0.6238, allocations: 235.5 kB / 0.8698 GB, free: 12.64 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.365e-05/0.6238, allocations: 4 kB / 0.8698 GB, free: 12.64 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.243e-05/0.6239, allocations: 16 kB / 0.8699 GB, free: 12.62 MB / 0.5417 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003782/0.6243, allocations: 111.8 kB / 0.87 GB, free: 12.51 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005024/0.6248, allocations: 183 kB / 0.8701 GB, free: 12.32 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.647e-05/0.6248, allocations: 4 kB / 0.8701 GB, free: 12.31 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.075e-05/0.6249, allocations: 0 / 0.8701 GB, free: 12.31 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.266e-05/0.6249, allocations: 4 kB / 0.8701 GB, free: 12.31 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001409/0.6263, allocations: 0.5589 MB / 0.8707 GB, free: 11.71 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004707/0.6268, allocations: 114.7 kB / 0.8708 GB, free: 11.59 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001184/0.627, allocations: 36.86 kB / 0.8708 GB, free: 11.55 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 6.237e-05/0.627, allocations: 4 kB / 0.8708 GB, free: 11.55 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.215e-05/0.6271, allocations: 38.5 kB / 0.8709 GB, free: 11.5 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=10): time 1.784e-06/0.6271, allocations: 0 / 0.8709 GB, free: 11.5 MB / 0.5417 GB Notification: Performance of matching and sorting (n=10): time 0.000436/0.6275, allocations: 113.5 kB / 0.871 GB, free: 11.38 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.519e-05/0.6277, allocations: 132.5 kB / 0.8711 GB, free: 11.22 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002306/0.6279, allocations: 159.1 kB / 0.8713 GB, free: 11.06 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 4.04e-05/0.628, allocations: 33.7 kB / 0.8713 GB, free: 11.02 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001362/0.6281, allocations: 144.3 kB / 0.8714 GB, free: 10.88 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 5.75e-05/0.6282, allocations: 27.61 kB / 0.8715 GB, free: 10.85 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.26e-05/0.6282, allocations: 0 / 0.8715 GB, free: 10.85 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001734/0.6284, allocations: 326.8 kB / 0.8718 GB, free: 10.52 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001066/0.6285, allocations: 36 kB / 0.8718 GB, free: 10.49 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001453/0.6287, allocations: 63.44 kB / 0.8719 GB, free: 10.41 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001456/0.6288, allocations: 35.98 kB / 0.8719 GB, free: 10.38 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.6288, allocations: 0 / 0.8719 GB, free: 10.38 MB / 0.5417 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003378/0.6292, allocations: 125.4 kB / 0.872 GB, free: 10.25 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.452e-05/0.6292, allocations: 5.094 kB / 0.872 GB, free: 10.25 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.124e-06/0.6293, allocations: 0 / 0.872 GB, free: 10.25 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.521e-05/0.6293, allocations: 0 / 0.872 GB, free: 10.25 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001671/0.6294, allocations: 19.98 kB / 0.872 GB, free: 10.23 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.212e-06/0.6295, allocations: 0 / 0.872 GB, free: 10.23 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002392/0.6297, allocations: 39.86 kB / 0.8721 GB, free: 10.19 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.004e-05/0.6298, allocations: 4 kB / 0.8721 GB, free: 10.18 MB / 0.5417 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 () * 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.0001248/0.6299, allocations: 108.9 kB / 0.8722 GB, free: 10.07 MB / 0.5417 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003099/0.6302, allocations: 109.5 kB / 0.8723 GB, free: 9.957 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.686e-05/0.6303, allocations: 19.81 kB / 0.8723 GB, free: 9.938 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000383/0.6307, allocations: 119.4 kB / 0.8724 GB, free: 9.809 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.821e-06/0.6307, allocations: 4.234 kB / 0.8724 GB, free: 9.805 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.745e-06/0.6307, allocations: 0 / 0.8724 GB, free: 9.805 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.309e-06/0.6307, allocations: 0 / 0.8724 GB, free: 9.805 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003913/0.6311, allocations: 238 kB / 0.8727 GB, free: 9.535 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.6312, allocations: 0 / 0.8727 GB, free: 9.535 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001554/0.6313, allocations: 23.92 kB / 0.8727 GB, free: 9.512 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.286e-06/0.6314, allocations: 0 / 0.8727 GB, free: 9.512 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.763e-05/0.6314, allocations: 4 kB / 0.8727 GB, free: 9.508 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.751e-06/0.6314, allocations: 0 / 0.8727 GB, free: 9.508 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.6314, allocations: 3.938 kB / 0.8727 GB, free: 9.504 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003743/0.6318, allocations: 215.2 kB / 0.8729 GB, free: 9.277 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 7.79e-05/0.6319, allocations: 89.02 kB / 0.873 GB, free: 9.172 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.192e-05/0.632, allocations: 4 kB / 0.873 GB, free: 9.168 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002781/0.6322, allocations: 35.97 kB / 0.873 GB, free: 9.133 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001138/0.6324, allocations: 23.95 kB / 0.873 GB, free: 9.109 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.692e-05/0.6324, allocations: 4 kB / 0.873 GB, free: 9.105 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.000148/0.6326, allocations: 128.3 kB / 0.8732 GB, free: 8.98 MB / 0.5417 GB Notification: Performance of sort global known variables: time 2.1e-07/0.6326, allocations: 0 / 0.8732 GB, free: 8.98 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0005142/0.6331, allocations: 43.8 kB / 0.8732 GB, free: 8.938 MB / 0.5417 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) * 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.0008358/0.6339, allocations: 0.7435 MB / 0.8739 GB, free: 8.168 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0002986/0.6342, allocations: 89.8 kB / 0.874 GB, free: 8.082 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.6343, allocations: 0 / 0.874 GB, free: 8.082 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0001289/0.6344, allocations: 48.12 kB / 0.8741 GB, free: 8.035 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003889/0.6348, allocations: 20.3 kB / 0.8741 GB, free: 8.012 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001024/0.6358, allocations: 241 kB / 0.8743 GB, free: 7.738 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005007/0.6364, allocations: 0.7396 MB / 0.875 GB, free: 6.973 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0001381/0.6365, allocations: 21.23 kB / 0.8751 GB, free: 6.953 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001912/0.6367, allocations: 59.41 kB / 0.8751 GB, free: 6.895 MB / 0.5417 GB Notification: Performance of SimCode: time 5.41e-07/0.6367, allocations: 0 / 0.8751 GB, free: 6.895 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02757/0.6643, allocations: 3.051 MB / 0.8781 GB, free: 3.895 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002716/0.6647, allocations: 191.6 kB / 0.8783 GB, free: 3.699 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.693/2.358, allocations: 0 / 0.8783 GB, free: 3.699 MB / 0.5417 GB (rm -f BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection.fmu > BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe 2>&1)