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.001013/0.001013, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001105/0.001105, allocations: 190.8 kB / 16.25 MB, free: 6.629 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.188/1.188, allocations: 222.9 MB / 239.9 MB, free: 4.539 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 0.9526/0.9526, allocations: 143 MB / 433.1 MB, free: 11.56 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001119/0.001119, allocations: 59.91 kB / 0.5138 GB, free: 11.93 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1353/0.1364, allocations: 82.04 MB / 0.5939 GB, free: 9.855 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection): time 0.00287/0.1393, allocations: 2.08 MB / 0.596 GB, free: 7.754 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0007933/0.1401, allocations: 0.5572 MB / 0.5965 GB, free: 7.191 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.696e-05/0.1402, allocations: 7.938 kB / 0.5965 GB, free: 7.184 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 9.743e-05/0.1403, allocations: 11.86 kB / 0.5965 GB, free: 7.172 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 7.069e-05/0.1404, allocations: 23.78 kB / 0.5965 GB, free: 7.148 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002331/0.1406, allocations: 71.89 kB / 0.5966 GB, free: 7.078 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001934/0.1409, allocations: 228 kB / 0.5968 GB, free: 6.855 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001805/0.141, allocations: 111.6 kB / 0.5969 GB, free: 6.738 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001182/0.1412, allocations: 87.64 kB / 0.597 GB, free: 6.652 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 9.965e-05/0.1413, allocations: 99.53 kB / 0.5971 GB, free: 6.555 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.22e-05/0.1413, allocations: 28 kB / 0.5971 GB, free: 6.527 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 6.333e-05/0.1414, allocations: 28 kB / 0.5972 GB, free: 6.5 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 6.189e-05/0.1414, allocations: 63.69 kB / 0.5972 GB, free: 6.438 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 8.063e-05/0.1415, allocations: 103.5 kB / 0.5973 GB, free: 6.336 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002538/0.1418, allocations: 271.4 kB / 0.5976 GB, free: 6.07 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.1418, allocations: 4 kB / 0.5976 GB, free: 6.066 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.162e-06/0.1418, allocations: 3.938 kB / 0.5976 GB, free: 6.062 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.589e-06/0.1418, allocations: 0 / 0.5976 GB, free: 6.062 MB / 0.4981 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.0006543/0.1425, allocations: 0.5141 MB / 0.5981 GB, free: 5.5 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.15e-05/0.1425, allocations: 12.62 kB / 0.5981 GB, free: 5.488 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.694e-05/0.1426, allocations: 50.73 kB / 0.5981 GB, free: 5.43 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.773e-05/0.1426, allocations: 32.66 kB / 0.5982 GB, free: 5.398 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002682/0.1429, allocations: 253.2 kB / 0.5984 GB, free: 5.109 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.332e-05/0.1429, allocations: 8.375 kB / 0.5984 GB, free: 5.102 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.832e-05/0.1429, allocations: 20.38 kB / 0.5984 GB, free: 5.082 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003619/0.1433, allocations: 229.5 kB / 0.5987 GB, free: 4.84 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.754e-06/0.1433, allocations: 0 / 0.5987 GB, free: 4.84 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.965e-05/0.1434, allocations: 12 kB / 0.5987 GB, free: 4.828 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.181e-06/0.1434, allocations: 4 kB / 0.5987 GB, free: 4.824 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002727/0.1436, allocations: 143.7 kB / 0.5988 GB, free: 4.684 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000789/0.1444, allocations: 0.5934 MB / 0.5994 GB, free: 4.039 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003177/0.1448, allocations: 122.7 kB / 0.5995 GB, free: 3.91 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001028/0.1449, allocations: 44.84 kB / 0.5996 GB, free: 3.863 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.96e-05/0.1449, allocations: 3.984 kB / 0.5996 GB, free: 3.859 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.198e-05/0.1449, allocations: 42.69 kB / 0.5996 GB, free: 3.809 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=10): time 1.072e-06/0.145, allocations: 0 / 0.5996 GB, free: 3.809 MB / 0.4981 GB Notification: Performance of matching and sorting (n=10): time 0.0004026/0.1454, allocations: 173.3 kB / 0.5998 GB, free: 3.633 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.172e-05/0.1454, allocations: 128.5 kB / 0.5999 GB, free: 3.477 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001827/0.1456, allocations: 215.2 kB / 0.6001 GB, free: 3.258 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.37e-05/0.1457, allocations: 33.7 kB / 0.6001 GB, free: 3.219 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 8.207e-05/0.1457, allocations: 148.2 kB / 0.6003 GB, free: 3.07 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.689e-05/0.1458, allocations: 31.55 kB / 0.6003 GB, free: 3.039 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.814e-05/0.1458, allocations: 33.7 kB / 0.6003 GB, free: 3 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001047/0.1459, allocations: 330.8 kB / 0.6006 GB, free: 2.668 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001117/0.1461, allocations: 47.97 kB / 0.6007 GB, free: 2.621 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001382/0.1462, allocations: 90.64 kB / 0.6008 GB, free: 2.52 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000184/0.1464, allocations: 89.62 kB / 0.6009 GB, free: 2.426 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.1464, allocations: 3.938 kB / 0.6009 GB, free: 2.422 MB / 0.4981 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.00028/0.1467, allocations: 155.7 kB / 0.601 GB, free: 2.266 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.186e-05/0.1467, allocations: 4 kB / 0.601 GB, free: 2.262 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.119e-06/0.1467, allocations: 0 / 0.601 GB, free: 2.262 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.119e-05/0.1467, allocations: 7.875 kB / 0.601 GB, free: 2.254 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001049/0.1468, allocations: 23.98 kB / 0.6011 GB, free: 2.23 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.589e-06/0.1469, allocations: 0 / 0.6011 GB, free: 2.23 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001287/0.147, allocations: 27.91 kB / 0.6011 GB, free: 2.203 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.728e-05/0.147, allocations: 4 kB / 0.6011 GB, free: 2.199 MB / 0.4981 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.0001156/0.1471, allocations: 137.8 kB / 0.6012 GB, free: 2.055 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.259e-05/0.1472, allocations: 19.81 kB / 0.6012 GB, free: 2.035 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000302/0.1475, allocations: 151.3 kB / 0.6014 GB, free: 1.883 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.486e-06/0.1475, allocations: 7.984 kB / 0.6014 GB, free: 1.875 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-06/0.1475, allocations: 3.984 kB / 0.6014 GB, free: 1.871 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.335e-06/0.1475, allocations: 0 / 0.6014 GB, free: 1.871 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002524/0.1478, allocations: 269.5 kB / 0.6016 GB, free: 1.559 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.1478, allocations: 3.938 kB / 0.6016 GB, free: 1.555 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.441e-05/0.1479, allocations: 15.98 kB / 0.6017 GB, free: 1.539 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.794e-06/0.1479, allocations: 0 / 0.6017 GB, free: 1.539 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.355e-05/0.1479, allocations: 3.984 kB / 0.6017 GB, free: 1.535 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.404e-06/0.1479, allocations: 3.938 kB / 0.6017 GB, free: 1.531 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.1479, allocations: 4 kB / 0.6017 GB, free: 1.527 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002804/0.1482, allocations: 227.3 kB / 0.6019 GB, free: 1.289 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.107e-05/0.1483, allocations: 92.91 kB / 0.602 GB, free: 1.18 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.179e-05/0.1483, allocations: 8 kB / 0.602 GB, free: 1.172 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001484/0.1485, allocations: 19.92 kB / 0.602 GB, free: 1.152 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.576e-05/0.1485, allocations: 27.95 kB / 0.602 GB, free: 1.125 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.171e-05/0.1486, allocations: 8 kB / 0.602 GB, free: 1.117 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001059/0.1487, allocations: 148.4 kB / 0.6022 GB, free: 0.9727 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1487, allocations: 0 / 0.6022 GB, free: 0.9727 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002535/0.1489, allocations: 39.84 kB / 0.6022 GB, free: 0.9336 MB / 0.4981 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.0005562/0.1495, allocations: 0.775 MB / 0.603 GB, free: 132 kB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002849/0.1498, allocations: 119.7 kB / 0.6031 GB, free: 12 kB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.1498, allocations: 0 / 0.6031 GB, free: 12 kB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.227/0.3768, allocations: 50.73 kB / 0.6031 GB, free: 44.04 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004195/0.3773, allocations: 24.39 kB / 0.6032 GB, free: 44.04 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001947/0.3792, allocations: 2.043 MB / 0.6052 GB, free: 42.73 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001318/0.3794, allocations: 0.7344 MB / 0.6059 GB, free: 42.04 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 8.823e-05/0.3795, allocations: 16.86 kB / 0.6059 GB, free: 42.04 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001016/0.3796, allocations: 70.02 kB / 0.606 GB, free: 42.03 MB / 0.4981 GB Notification: Performance of SimCode: time 4.31e-07/0.3796, allocations: 0.6562 kB / 0.606 GB, free: 42.03 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0125/0.3921, allocations: 3.709 MB / 0.6096 GB, free: 41.85 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001593/0.3923, allocations: 246.4 kB / 0.6098 GB, free: 41.59 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.758/2.15, allocations: 0 / 0.6098 GB, free: 41.59 MB / 0.4981 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)