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.001631/0.00163, allocations: 108 kB / 15.6 MB, free: 132 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.001841/0.001842, allocations: 193.7 kB / 16.53 MB, free: 6.391 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.306/1.306, allocations: 222.9 MB / 240.2 MB, free: 4.391 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.9593/0.9593, allocations: 143 MB / 433.4 MB, free: 11.55 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001287/0.001287, allocations: 59.91 kB / 0.5143 GB, free: 11.57 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1383/0.1396, allocations: 82.04 MB / 0.5944 GB, free: 9.496 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection): time 0.00311/0.1427, allocations: 2.031 MB / 0.5964 GB, free: 7.445 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0009539/0.1437, allocations: 0.5611 MB / 0.5969 GB, free: 6.879 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.942e-05/0.1438, allocations: 7.938 kB / 0.5969 GB, free: 6.871 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001196/0.144, allocations: 27.67 kB / 0.597 GB, free: 6.844 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 8.098e-05/0.1441, allocations: 35.59 kB / 0.597 GB, free: 6.809 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002994/0.1444, allocations: 75.91 kB / 0.5971 GB, free: 6.734 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002269/0.1446, allocations: 228 kB / 0.5973 GB, free: 6.512 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002118/0.1448, allocations: 115.6 kB / 0.5974 GB, free: 6.391 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001554/0.145, allocations: 87.64 kB / 0.5975 GB, free: 6.305 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001256/0.1451, allocations: 95.53 kB / 0.5976 GB, free: 6.211 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 4.206e-05/0.1452, allocations: 28 kB / 0.5976 GB, free: 6.184 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 7.981e-05/0.1453, allocations: 35.98 kB / 0.5976 GB, free: 6.148 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 6.141e-05/0.1453, allocations: 47.84 kB / 0.5977 GB, free: 6.102 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 9.821e-05/0.1454, allocations: 115.3 kB / 0.5978 GB, free: 5.988 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.000274/0.1457, allocations: 283.4 kB / 0.5981 GB, free: 5.711 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.1457, allocations: 0 / 0.5981 GB, free: 5.711 MB / 0.4981 GB Notification: Performance of FrontEnd: time 7.21e-07/0.1457, allocations: 0 / 0.5981 GB, free: 5.711 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.554e-06/0.1457, allocations: 0 / 0.5981 GB, free: 5.711 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.0007472/0.1465, allocations: 0.5141 MB / 0.5986 GB, free: 5.148 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.515e-05/0.1465, allocations: 12.56 kB / 0.5986 GB, free: 5.137 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.013e-05/0.1466, allocations: 50.73 kB / 0.5986 GB, free: 5.078 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.91e-05/0.1467, allocations: 32.66 kB / 0.5987 GB, free: 5.047 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003094/0.147, allocations: 257.2 kB / 0.5989 GB, free: 4.754 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.816e-05/0.147, allocations: 8.375 kB / 0.5989 GB, free: 4.746 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.185e-05/0.147, allocations: 20.38 kB / 0.5989 GB, free: 4.727 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003852/0.1474, allocations: 225.3 kB / 0.5992 GB, free: 4.488 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/0.1474, allocations: 4 kB / 0.5992 GB, free: 4.484 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.516e-05/0.1475, allocations: 12 kB / 0.5992 GB, free: 4.473 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.422e-06/0.1475, allocations: 4 kB / 0.5992 GB, free: 4.469 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003038/0.1478, allocations: 135.9 kB / 0.5993 GB, free: 4.336 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008655/0.1487, allocations: 0.5935 MB / 0.5999 GB, free: 3.691 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003732/0.149, allocations: 122.7 kB / 0.6 GB, free: 3.562 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001174/0.1492, allocations: 48.84 kB / 0.6 GB, free: 3.512 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.367e-05/0.1492, allocations: 0 / 0.6 GB, free: 3.512 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.362e-05/0.1492, allocations: 42.55 kB / 0.6001 GB, free: 3.461 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=10): time 9.72e-07/0.1493, allocations: 0 / 0.6001 GB, free: 3.461 MB / 0.4981 GB Notification: Performance of matching and sorting (n=10): time 0.0004441/0.1497, allocations: 173.5 kB / 0.6002 GB, free: 3.285 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.581e-05/0.1498, allocations: 132.5 kB / 0.6004 GB, free: 3.125 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001755/0.15, allocations: 219 kB / 0.6006 GB, free: 2.902 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.653e-05/0.15, allocations: 33.7 kB / 0.6006 GB, free: 2.863 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 8.848e-05/0.1501, allocations: 140.2 kB / 0.6007 GB, free: 2.723 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.107e-05/0.1501, allocations: 39.53 kB / 0.6008 GB, free: 2.684 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.274e-05/0.1502, allocations: 33.7 kB / 0.6008 GB, free: 2.645 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.347e-05/0.1503, allocations: 330.8 kB / 0.6011 GB, free: 2.312 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001207/0.1504, allocations: 47.97 kB / 0.6012 GB, free: 2.266 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001425/0.1506, allocations: 84.27 kB / 0.6013 GB, free: 2.168 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000203/0.1508, allocations: 87.94 kB / 0.6013 GB, free: 2.078 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.1508, allocations: 3.938 kB / 0.6013 GB, free: 2.074 MB / 0.4981 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003007/0.1511, allocations: 153.8 kB / 0.6015 GB, free: 1.918 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.496e-05/0.1511, allocations: 7.984 kB / 0.6015 GB, free: 1.91 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.1511, allocations: 3.938 kB / 0.6015 GB, free: 1.906 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.446e-05/0.1511, allocations: 3.938 kB / 0.6015 GB, free: 1.902 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001089/0.1513, allocations: 27.86 kB / 0.6015 GB, free: 1.875 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.209e-06/0.1513, allocations: 0 / 0.6015 GB, free: 1.875 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001416/0.1514, allocations: 31.92 kB / 0.6016 GB, free: 1.844 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.849e-05/0.1514, allocations: 4 kB / 0.6016 GB, free: 1.84 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.000113/0.1516, allocations: 137.8 kB / 0.6017 GB, free: 1.695 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.441e-05/0.1516, allocations: 19.81 kB / 0.6017 GB, free: 1.676 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003232/0.1519, allocations: 143 kB / 0.6019 GB, free: 1.531 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.137e-06/0.152, allocations: 7.938 kB / 0.6019 GB, free: 1.523 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/0.152, allocations: 0 / 0.6019 GB, free: 1.523 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/0.152, allocations: 3.984 kB / 0.6019 GB, free: 1.52 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002527/0.1522, allocations: 269.5 kB / 0.6021 GB, free: 1.207 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.1522, allocations: 0 / 0.6021 GB, free: 1.207 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001004/0.1523, allocations: 19.92 kB / 0.6021 GB, free: 1.188 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.354e-06/0.1524, allocations: 0 / 0.6021 GB, free: 1.188 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.218e-05/0.1524, allocations: 0 / 0.6021 GB, free: 1.188 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/0.1524, allocations: 3.938 kB / 0.6021 GB, free: 1.184 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.1524, allocations: 4 kB / 0.6022 GB, free: 1.18 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002974/0.1527, allocations: 231.2 kB / 0.6024 GB, free: 0.9375 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.808e-05/0.1528, allocations: 88.92 kB / 0.6025 GB, free: 0.832 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.469e-05/0.1528, allocations: 8 kB / 0.6025 GB, free: 0.8242 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001725/0.153, allocations: 23.91 kB / 0.6025 GB, free: 0.8008 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.824e-05/0.153, allocations: 19.97 kB / 0.6025 GB, free: 0.7812 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.242e-05/0.1531, allocations: 11.98 kB / 0.6025 GB, free: 0.7695 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001189/0.1532, allocations: 148.6 kB / 0.6027 GB, free: 0.625 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.7e-07/0.1532, allocations: 0 / 0.6027 GB, free: 0.625 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000271/0.1535, allocations: 39.84 kB / 0.6027 GB, free: 0.5859 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.2065/0.3599, allocations: 0.772 MB / 0.6035 GB, free: 43.58 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004095/0.3604, allocations: 112 kB / 0.6036 GB, free: 43.58 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.3604, allocations: 0.625 kB / 0.6036 GB, free: 43.58 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001228/0.3605, allocations: 55 kB / 0.6036 GB, free: 43.58 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004325/0.361, allocations: 26.97 kB / 0.6036 GB, free: 43.58 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001892/0.3629, allocations: 1.982 MB / 0.6056 GB, free: 42.34 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001245/0.363, allocations: 0.73 MB / 0.6063 GB, free: 41.64 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 8.163e-05/0.3631, allocations: 20.41 kB / 0.6063 GB, free: 41.64 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.088e-05/0.3632, allocations: 64 kB / 0.6064 GB, free: 41.64 MB / 0.4981 GB Notification: Performance of SimCode: time 3.01e-07/0.3632, allocations: 0 / 0.6064 GB, free: 41.64 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01881/0.382, allocations: 3.975 MB / 0.6102 GB, free: 41.32 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.442/7.825, allocations: 7.109 kB / 0.6103 GB, free: 41.32 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 & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection_res.csv --start-time 0 --stop-time 5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.002 BuildSysPro_BuildSysPro_IBPSA_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe 2>&1)