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/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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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(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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007367/0.0007367, allocations: 99.05 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0007884/0.0007885, allocations: 184.8 kB / 16.92 MB, free: 6.676 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.219/1.219, allocations: 223.3 MB / 241 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6152/0.6152, allocations: 115.5 MB / 407.6 MB, free: 2.664 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000298/0.000298, allocations: 8 kB / 496 MB, free: 6.219 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1216/0.1219, allocations: 77.53 MB / 0.5601 GB, free: 8.895 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection): time 0.001816/0.1238, allocations: 1.713 MB / 0.5617 GB, free: 7.168 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008392/0.1246, allocations: 0.5456 MB / 0.5623 GB, free: 6.617 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.183e-05/0.1247, allocations: 0 / 0.5623 GB, free: 6.617 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 8.946e-05/0.1248, allocations: 15.8 kB / 0.5623 GB, free: 6.602 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 7.611e-05/0.1249, allocations: 23.78 kB / 0.5623 GB, free: 6.578 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002299/0.1252, allocations: 75.94 kB / 0.5624 GB, free: 6.504 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001948/0.1254, allocations: 215.9 kB / 0.5626 GB, free: 6.293 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001855/0.1255, allocations: 107.6 kB / 0.5627 GB, free: 6.184 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001109/0.1257, allocations: 63.64 kB / 0.5627 GB, free: 6.121 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.677e-05/0.1258, allocations: 75.55 kB / 0.5628 GB, free: 6.047 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.952e-05/0.1258, allocations: 4 kB / 0.5628 GB, free: 6.043 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.522e-05/0.1259, allocations: 11.98 kB / 0.5628 GB, free: 6.031 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 4.805e-05/0.1259, allocations: 31.86 kB / 0.5629 GB, free: 6 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 7.924e-05/0.126, allocations: 113 kB / 0.563 GB, free: 5.883 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002226/0.1262, allocations: 247.4 kB / 0.5632 GB, free: 5.641 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.825e-06/0.1262, allocations: 0 / 0.5632 GB, free: 5.641 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.1262, allocations: 4 kB / 0.5632 GB, free: 5.637 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.24e-06/0.1263, allocations: 0 / 0.5632 GB, free: 5.637 MB / 430.1 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.0006357/0.1269, allocations: 498.6 kB / 0.5637 GB, free: 5.102 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.391e-05/0.1269, allocations: 12.03 kB / 0.5637 GB, free: 5.09 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.587e-05/0.127, allocations: 50.73 kB / 0.5637 GB, free: 5.031 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.736e-05/0.1271, allocations: 32.59 kB / 0.5638 GB, free: 5 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002795/0.1273, allocations: 252.5 kB / 0.564 GB, free: 4.711 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.784e-05/0.1274, allocations: 20.38 kB / 0.564 GB, free: 4.691 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.903e-05/0.1274, allocations: 16.38 kB / 0.564 GB, free: 4.676 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003607/0.1278, allocations: 228.9 kB / 0.5643 GB, free: 4.434 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.003e-06/0.1278, allocations: 0 / 0.5643 GB, free: 4.434 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.833e-05/0.1278, allocations: 4 kB / 0.5643 GB, free: 4.43 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.042e-06/0.1278, allocations: 8 kB / 0.5643 GB, free: 4.422 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002897/0.1281, allocations: 151.7 kB / 0.5644 GB, free: 4.273 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008233/0.1289, allocations: 0.6053 MB / 0.565 GB, free: 3.617 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003257/0.1293, allocations: 126.7 kB / 0.5651 GB, free: 3.484 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001198/0.1294, allocations: 56.84 kB / 0.5652 GB, free: 3.426 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.952e-05/0.1294, allocations: 0 / 0.5652 GB, free: 3.426 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.217e-05/0.1295, allocations: 38.69 kB / 0.5652 GB, free: 3.379 MB / 430.1 MB Notification: Performance of pre-optimization done (n=10): time 9.61e-07/0.1295, allocations: 0 / 0.5652 GB, free: 3.379 MB / 430.1 MB Notification: Performance of matching and sorting (n=10): time 0.000417/0.1299, allocations: 189.2 kB / 0.5654 GB, free: 3.188 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.415e-05/0.13, allocations: 132.5 kB / 0.5655 GB, free: 3.027 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001698/0.1301, allocations: 214.9 kB / 0.5657 GB, free: 2.809 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.272e-05/0.1302, allocations: 29.7 kB / 0.5658 GB, free: 2.773 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.528e-05/0.1303, allocations: 148.1 kB / 0.5659 GB, free: 2.625 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.419e-05/0.1303, allocations: 27.64 kB / 0.5659 GB, free: 2.598 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.672e-05/0.1303, allocations: 29.7 kB / 0.566 GB, free: 2.562 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001002/0.1304, allocations: 326.8 kB / 0.5663 GB, free: 2.234 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000119/0.1306, allocations: 51.97 kB / 0.5663 GB, free: 2.184 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001353/0.1307, allocations: 91.64 kB / 0.5664 GB, free: 2.082 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002014/0.1309, allocations: 101.6 kB / 0.5665 GB, free: 1.977 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.1309, allocations: 0 / 0.5665 GB, free: 1.977 MB / 430.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002949/0.1312, allocations: 161.5 kB / 0.5667 GB, free: 1.812 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.405e-05/0.1313, allocations: 8 kB / 0.5667 GB, free: 1.805 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.1313, allocations: 4 kB / 0.5667 GB, free: 1.801 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.041e-05/0.1313, allocations: 3.938 kB / 0.5667 GB, free: 1.797 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001033/0.1314, allocations: 23.92 kB / 0.5667 GB, free: 1.773 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.438e-06/0.1314, allocations: 0 / 0.5667 GB, free: 1.773 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001447/0.1316, allocations: 35.91 kB / 0.5667 GB, free: 1.738 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.036e-05/0.1316, allocations: 8 kB / 0.5667 GB, free: 1.73 MB / 430.1 MB 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.000109/0.1317, allocations: 137.7 kB / 0.5669 GB, free: 1.586 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.864e-05/0.1317, allocations: 15.81 kB / 0.5669 GB, free: 1.57 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003131/0.1321, allocations: 159 kB / 0.567 GB, free: 1.41 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.649e-06/0.1321, allocations: 7.938 kB / 0.567 GB, free: 1.402 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.1321, allocations: 0 / 0.567 GB, free: 1.402 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.454e-06/0.1321, allocations: 0 / 0.567 GB, free: 1.402 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002483/0.1323, allocations: 273.4 kB / 0.5673 GB, free: 1.086 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.592e-06/0.1323, allocations: 480 / 0.5673 GB, free: 1.086 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.179e-05/0.1324, allocations: 19.92 kB / 0.5673 GB, free: 1.066 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.1325, allocations: 4 kB / 0.5673 GB, free: 1.062 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.359e-05/0.1325, allocations: 11.98 kB / 0.5673 GB, free: 1.051 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.841e-06/0.1325, allocations: 3.938 kB / 0.5673 GB, free: 1.047 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.1325, allocations: 3.938 kB / 0.5673 GB, free: 1.043 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002868/0.1328, allocations: 227.3 kB / 0.5676 GB, free: 0.8047 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.429e-05/0.1328, allocations: 100.9 kB / 0.5677 GB, free: 0.6875 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.869e-05/0.1329, allocations: 4 kB / 0.5677 GB, free: 0.6836 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001623/0.133, allocations: 35.91 kB / 0.5677 GB, free: 0.6484 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.711e-05/0.1331, allocations: 15.97 kB / 0.5677 GB, free: 0.6328 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.3e-05/0.1331, allocations: 11.98 kB / 0.5677 GB, free: 0.6211 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001049/0.1332, allocations: 152.7 kB / 0.5679 GB, free: 484 kB / 430.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1332, allocations: 0 / 0.5679 GB, free: 484 kB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002539/0.1335, allocations: 39.84 kB / 0.5679 GB, free: 444 kB / 430.1 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) * 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.0005494/0.1341, allocations: 0.7747 MB / 0.5687 GB, free: 15.63 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002706/0.1343, allocations: 115.9 kB / 0.5688 GB, free: 15.52 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.1343, allocations: 4 kB / 0.5688 GB, free: 15.51 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001316/0.1345, allocations: 59.97 kB / 0.5688 GB, free: 15.45 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002948/0.1348, allocations: 24.25 kB / 0.5689 GB, free: 15.43 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002092/0.1369, allocations: 2.062 MB / 0.5709 GB, free: 13.28 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002832/0.1372, allocations: 0.7399 MB / 0.5716 GB, free: 12.52 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 8.064e-05/0.1373, allocations: 21.45 kB / 0.5716 GB, free: 12.5 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001025/0.1374, allocations: 70.41 kB / 0.5717 GB, free: 12.43 MB / 446.1 MB Notification: Performance of SimCode: time 6.61e-07/0.1374, allocations: 0 / 0.5717 GB, free: 12.43 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.08/1.218, allocations: 3.482 MB / 0.5751 GB, free: 9.164 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003068/1.218, allocations: 239.6 kB / 0.5753 GB, free: 8.906 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.78/2.998, allocations: 2.031 kB / 0.5753 GB, free: 8.906 MB / 446.1 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/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)