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/ModelicaServices 4.0.0+maint.om/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/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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(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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005195/0.005195, allocations: 101.2 kB / 15.73 MB, free: 6.051 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001238/0.001238, allocations: 190.5 kB / 16.67 MB, free: 5.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.403/1.403, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 1.038/1.038, allocations: 143 MB / 433.6 MB, free: 11.47 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001401/0.001401, allocations: 63.89 kB / 0.5951 GB, free: 8.879 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4595/0.4609, allocations: 82.03 MB / 0.6752 GB, free: 1.141 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection): time 0.003101/0.4641, allocations: 2.025 MB / 0.6772 GB, free: 15.55 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.00103/0.4651, allocations: 0.5666 MB / 0.6777 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.504e-05/0.4653, allocations: 7.562 kB / 0.6777 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0001267/0.4654, allocations: 19.73 kB / 0.6777 GB, free: 15.07 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 7.327e-05/0.4655, allocations: 39.28 kB / 0.6778 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002907/0.4658, allocations: 86.19 kB / 0.6778 GB, free: 14.96 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.000223/0.466, allocations: 223.5 kB / 0.6781 GB, free: 14.82 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002163/0.4663, allocations: 115.5 kB / 0.6782 GB, free: 14.75 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001275/0.4664, allocations: 88.98 kB / 0.6783 GB, free: 14.69 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000127/0.4665, allocations: 105.4 kB / 0.6784 GB, free: 14.61 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 3.952e-05/0.4666, allocations: 24.19 kB / 0.6784 GB, free: 14.61 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 7.904e-05/0.4667, allocations: 36.39 kB / 0.6784 GB, free: 14.6 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 6.495e-05/0.4667, allocations: 51.03 kB / 0.6785 GB, free: 14.56 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 9.377e-05/0.4668, allocations: 104.5 kB / 0.6786 GB, free: 14.48 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.000324/0.4672, allocations: 290.7 kB / 0.6788 GB, free: 14.25 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.197e-06/0.4672, allocations: 7.938 kB / 0.6788 GB, free: 14.24 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.472e-06/0.4672, allocations: 1 kB / 0.6788 GB, free: 14.24 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.893e-06/0.4672, allocations: 0 / 0.6788 GB, free: 14.24 MB / 0.5137 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.0007885/0.468, allocations: 0.5086 MB / 0.6793 GB, free: 13.76 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.383e-05/0.468, allocations: 11.09 kB / 0.6794 GB, free: 13.76 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.934e-05/0.4681, allocations: 52.98 kB / 0.6794 GB, free: 13.71 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.254e-05/0.4682, allocations: 32.73 kB / 0.6794 GB, free: 13.69 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003165/0.4685, allocations: 254.1 kB / 0.6797 GB, free: 13.43 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.956e-05/0.4685, allocations: 14.78 kB / 0.6797 GB, free: 13.42 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.282e-05/0.4686, allocations: 20.78 kB / 0.6797 GB, free: 13.41 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004045/0.469, allocations: 224.4 kB / 0.6799 GB, free: 13.25 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.147e-06/0.469, allocations: 0 / 0.6799 GB, free: 13.25 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.362e-05/0.469, allocations: 14.11 kB / 0.6799 GB, free: 13.24 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.005e-06/0.469, allocations: 4.438 kB / 0.6799 GB, free: 13.24 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003001/0.4694, allocations: 135.6 kB / 0.6801 GB, free: 13.18 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008979/0.4703, allocations: 0.5978 MB / 0.6807 GB, free: 12.65 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003809/0.4707, allocations: 129.1 kB / 0.6808 GB, free: 12.57 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001136/0.4708, allocations: 43 kB / 0.6808 GB, free: 12.55 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 3.21e-05/0.4708, allocations: 2.156 kB / 0.6808 GB, free: 12.55 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.92e-05/0.4709, allocations: 40.84 kB / 0.6809 GB, free: 12.5 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=10): time 1.683e-06/0.4709, allocations: 0 / 0.6809 GB, free: 12.5 MB / 0.5137 GB Notification: Performance of matching and sorting (n=10): time 0.0004831/0.4713, allocations: 174 kB / 0.681 GB, free: 12.4 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.413e-05/0.4714, allocations: 129.6 kB / 0.6812 GB, free: 12.25 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001909/0.4716, allocations: 207 kB / 0.6814 GB, free: 12.09 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.603e-05/0.4717, allocations: 31.86 kB / 0.6814 GB, free: 12.06 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 9.202e-05/0.4718, allocations: 147.9 kB / 0.6815 GB, free: 11.92 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.774e-05/0.4718, allocations: 32.27 kB / 0.6816 GB, free: 11.89 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.475e-05/0.4719, allocations: 38.58 kB / 0.6816 GB, free: 11.86 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001052/0.472, allocations: 330.4 kB / 0.6819 GB, free: 11.54 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001196/0.4721, allocations: 44.3 kB / 0.6819 GB, free: 11.52 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001453/0.4723, allocations: 83.02 kB / 0.682 GB, free: 11.45 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002072/0.4725, allocations: 99.7 kB / 0.6821 GB, free: 11.39 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.4725, allocations: 1.062 kB / 0.6821 GB, free: 11.39 MB / 0.5137 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003191/0.4728, allocations: 165.2 kB / 0.6823 GB, free: 11.29 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.529e-05/0.4728, allocations: 5.625 kB / 0.6823 GB, free: 11.29 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.688e-06/0.4729, allocations: 0 / 0.6823 GB, free: 11.29 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.623e-05/0.4729, allocations: 5.094 kB / 0.6823 GB, free: 11.29 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001099/0.473, allocations: 25.61 kB / 0.6823 GB, free: 11.27 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.684e-06/0.473, allocations: 1.25 kB / 0.6823 GB, free: 11.27 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001374/0.4732, allocations: 21.36 kB / 0.6823 GB, free: 11.27 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.346e-05/0.4732, allocations: 7.797 kB / 0.6823 GB, free: 11.26 MB / 0.5137 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.0001277/0.4733, allocations: 139.2 kB / 0.6825 GB, free: 11.13 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.816e-05/0.4734, allocations: 20.34 kB / 0.6825 GB, free: 11.12 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003382/0.4737, allocations: 147.4 kB / 0.6826 GB, free: 11.02 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.983e-06/0.4737, allocations: 9.109 kB / 0.6826 GB, free: 11.01 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.231e-06/0.4737, allocations: 1.125 kB / 0.6826 GB, free: 11.01 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.4738, allocations: 0 / 0.6826 GB, free: 11.01 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002708/0.474, allocations: 264.6 kB / 0.6829 GB, free: 10.75 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.474, allocations: 0 / 0.6829 GB, free: 10.75 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.7e-05/0.4741, allocations: 15.42 kB / 0.6829 GB, free: 10.74 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.4742, allocations: 1.156 kB / 0.6829 GB, free: 10.74 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.324e-05/0.4742, allocations: 1.125 kB / 0.6829 GB, free: 10.74 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.075e-06/0.4742, allocations: 7.938 kB / 0.6829 GB, free: 10.73 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.4742, allocations: 1.219 kB / 0.6829 GB, free: 10.73 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003134/0.4745, allocations: 228.2 kB / 0.6831 GB, free: 10.55 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 6.762e-05/0.4746, allocations: 93.61 kB / 0.6832 GB, free: 10.45 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.619e-05/0.4746, allocations: 6.219 kB / 0.6832 GB, free: 10.44 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001606/0.4748, allocations: 36.69 kB / 0.6833 GB, free: 10.42 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.005e-05/0.4749, allocations: 25.59 kB / 0.6833 GB, free: 10.4 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.272e-05/0.4749, allocations: 6.734 kB / 0.6833 GB, free: 10.4 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001122/0.475, allocations: 145.7 kB / 0.6834 GB, free: 10.29 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1e-07/0.475, allocations: 0 / 0.6834 GB, free: 10.29 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002691/0.4753, allocations: 40.72 kB / 0.6835 GB, free: 10.28 MB / 0.5137 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.0006266/0.4759, allocations: 0.7797 MB / 0.6842 GB, free: 9.555 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0003003/0.4762, allocations: 109.8 kB / 0.6843 GB, free: 9.508 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.4763, allocations: 0 / 0.6843 GB, free: 9.508 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001292/0.4764, allocations: 50.23 kB / 0.6844 GB, free: 9.488 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003231/0.4767, allocations: 28.84 kB / 0.6844 GB, free: 9.469 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002432/0.4792, allocations: 1.986 MB / 0.6864 GB, free: 7.859 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002798/0.4795, allocations: 0.733 MB / 0.6871 GB, free: 7.137 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 8.776e-05/0.4796, allocations: 26.95 kB / 0.6871 GB, free: 7.121 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001128/0.4797, allocations: 66.38 kB / 0.6872 GB, free: 7.066 MB / 0.5137 GB Notification: Performance of SimCode: time 8.72e-07/0.4797, allocations: 0 / 0.6872 GB, free: 7.066 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02306/0.5028, allocations: 3.983 MB / 0.6911 GB, free: 5.152 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.55/8.053, allocations: 10.67 kB / 0.6911 GB, free: 5.148 MB / 0.5137 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/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)