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/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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001247/0.001247, 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.001236/0.001236, allocations: 192.3 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.502/1.502, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002501/0.002501, allocations: 298.6 kB / 290.7 MB, free: 1.973 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.047/1.047, allocations: 178.6 MB / 0.5073 GB, free: 4.566 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00274/0.00274, allocations: 100.3 kB / 0.6066 GB, free: 24.79 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1511/0.1539, allocations: 89.15 MB / 0.6936 GB, free: 4.199 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection): time 0.003379/0.1573, allocations: 2.03 MB / 0.6956 GB, free: 2.16 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001021/0.1583, allocations: 0.5676 MB / 0.6961 GB, free: 1.59 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.725e-05/0.1584, allocations: 7.938 kB / 0.6962 GB, free: 1.582 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001133/0.1585, allocations: 19.73 kB / 0.6962 GB, free: 1.562 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 8.343e-05/0.1586, allocations: 40.09 kB / 0.6962 GB, free: 1.523 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002836/0.1589, allocations: 76.36 kB / 0.6963 GB, free: 1.449 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002553/0.1592, allocations: 225.6 kB / 0.6965 GB, free: 1.23 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002193/0.1594, allocations: 109.4 kB / 0.6966 GB, free: 1.125 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000138/0.1596, allocations: 103.6 kB / 0.6967 GB, free: 1.023 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001314/0.1597, allocations: 92.95 kB / 0.6968 GB, free: 0.9336 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 4.235e-05/0.1597, allocations: 24 kB / 0.6968 GB, free: 0.9102 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.38e-05/0.1598, allocations: 39.98 kB / 0.6969 GB, free: 0.8711 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 7.37e-05/0.1599, allocations: 59.77 kB / 0.6969 GB, free: 0.8125 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000111/0.16, allocations: 100.1 kB / 0.697 GB, free: 0.7148 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003021/0.1603, allocations: 271.1 kB / 0.6973 GB, free: 460 kB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.1603, allocations: 0 / 0.6973 GB, free: 460 kB / 494.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.1604, allocations: 0 / 0.6973 GB, free: 460 kB / 494.1 MB Notification: Performance of Transformations before backend: time 5.32e-06/0.1604, allocations: 0 / 0.6973 GB, free: 460 kB / 494.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.0008447/0.1612, allocations: 0.5142 MB / 0.6978 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.326e-05/0.1613, allocations: 8.031 kB / 0.6978 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.15e-05/0.1613, allocations: 54.73 kB / 0.6978 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.557e-05/0.1614, allocations: 28.66 kB / 0.6979 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003445/0.1617, allocations: 256.6 kB / 0.6981 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.068e-05/0.1618, allocations: 16.38 kB / 0.6981 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.15e-05/0.1618, allocations: 16.38 kB / 0.6981 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004224/0.1622, allocations: 224.9 kB / 0.6983 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.004e-05/0.1623, allocations: 4 kB / 0.6983 GB, free: 15.22 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.341e-05/0.1623, allocations: 8 kB / 0.6984 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.063e-06/0.1623, allocations: 4 kB / 0.6984 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003283/0.1626, allocations: 139.7 kB / 0.6985 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009771/0.1636, allocations: 0.601 MB / 0.6991 GB, free: 14.42 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003653/0.164, allocations: 118.8 kB / 0.6992 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001316/0.1641, allocations: 49.02 kB / 0.6992 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.489e-05/0.1642, allocations: 7.938 kB / 0.6992 GB, free: 14.24 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.824e-05/0.1642, allocations: 34.5 kB / 0.6993 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=10): time 1.403e-06/0.1642, allocations: 0 / 0.6993 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of matching and sorting (n=10): time 0.0004942/0.1647, allocations: 181.2 kB / 0.6995 GB, free: 14.01 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.861e-05/0.1648, allocations: 132.5 kB / 0.6996 GB, free: 13.85 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002161/0.165, allocations: 211.1 kB / 0.6998 GB, free: 13.64 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.03e-05/0.1651, allocations: 29.7 kB / 0.6998 GB, free: 13.6 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001174/0.1652, allocations: 144.2 kB / 0.6999 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.229e-05/0.1652, allocations: 31.55 kB / 0.7 GB, free: 13.42 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.311e-05/0.1653, allocations: 41.7 kB / 0.7 GB, free: 13.38 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001622/0.1655, allocations: 330.8 kB / 0.7003 GB, free: 13.04 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001275/0.1656, allocations: 47.97 kB / 0.7004 GB, free: 13 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001536/0.1658, allocations: 86.5 kB / 0.7005 GB, free: 12.9 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002233/0.166, allocations: 97.62 kB / 0.7006 GB, free: 12.8 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.166, allocations: 0 / 0.7006 GB, free: 12.8 MB / 0.4981 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003222/0.1664, allocations: 149.4 kB / 0.7007 GB, free: 12.64 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.616e-05/0.1664, allocations: 8 kB / 0.7007 GB, free: 12.64 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.1664, allocations: 0 / 0.7007 GB, free: 12.64 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.769e-05/0.1664, allocations: 7.922 kB / 0.7007 GB, free: 12.63 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001086/0.1665, allocations: 12 kB / 0.7007 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.313e-06/0.1665, allocations: 3.984 kB / 0.7007 GB, free: 12.61 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001434/0.1667, allocations: 35.86 kB / 0.7008 GB, free: 12.58 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.045e-05/0.1667, allocations: 4 kB / 0.7008 GB, free: 12.57 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.0001334/0.1669, allocations: 140.3 kB / 0.7009 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.684e-05/0.1669, allocations: 15.81 kB / 0.7009 GB, free: 12.41 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003502/0.1673, allocations: 143 kB / 0.7011 GB, free: 12.27 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.629e-06/0.1673, allocations: 11.88 kB / 0.7011 GB, free: 12.26 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.437e-06/0.1673, allocations: 4 kB / 0.7011 GB, free: 12.26 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.011e-06/0.1673, allocations: 3.984 kB / 0.7011 GB, free: 12.25 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003041/0.1676, allocations: 261.5 kB / 0.7013 GB, free: 11.95 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.1676, allocations: 7.984 kB / 0.7013 GB, free: 11.94 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.621e-05/0.1677, allocations: 8 kB / 0.7013 GB, free: 11.93 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.478e-06/0.1678, allocations: 4 kB / 0.7013 GB, free: 11.93 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.62e-05/0.1678, allocations: 7.984 kB / 0.7013 GB, free: 11.92 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.256e-06/0.1678, allocations: 4.406 kB / 0.7014 GB, free: 11.92 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.867e-06/0.1678, allocations: 0 / 0.7014 GB, free: 11.92 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003331/0.1681, allocations: 235.1 kB / 0.7016 GB, free: 11.67 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.241e-05/0.1682, allocations: 96.92 kB / 0.7017 GB, free: 11.56 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.347e-05/0.1683, allocations: 4 kB / 0.7017 GB, free: 11.55 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000163/0.1684, allocations: 23.91 kB / 0.7017 GB, free: 11.53 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.034e-05/0.1685, allocations: 23.97 kB / 0.7017 GB, free: 11.51 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.123e-05/0.1685, allocations: 7.984 kB / 0.7017 GB, free: 11.5 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001503/0.1687, allocations: 156.4 kB / 0.7019 GB, free: 11.35 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.31e-07/0.1687, allocations: 0 / 0.7019 GB, free: 11.35 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002737/0.169, allocations: 35.84 kB / 0.7019 GB, free: 11.31 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.0007188/0.1697, allocations: 0.7708 MB / 0.7027 GB, free: 10.51 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003406/0.17, allocations: 122.7 kB / 0.7028 GB, free: 10.39 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.17, allocations: 0 / 0.7028 GB, free: 10.39 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001333/0.1702, allocations: 51.97 kB / 0.7028 GB, free: 10.34 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003473/0.1705, allocations: 20.31 kB / 0.7028 GB, free: 10.32 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002505/0.1731, allocations: 1.989 MB / 0.7048 GB, free: 8.254 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003706/0.1734, allocations: 0.7397 MB / 0.7055 GB, free: 7.488 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 8.135e-05/0.1735, allocations: 13.42 kB / 0.7055 GB, free: 7.477 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001205/0.1737, allocations: 67.41 kB / 0.7056 GB, free: 7.41 MB / 0.4981 GB Notification: Performance of SimCode: time 3.21e-07/0.1737, allocations: 0 / 0.7056 GB, free: 7.41 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02571/0.1994, allocations: 3.972 MB / 0.7095 GB, free: 3.613 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.763/7.963, allocations: 15.19 kB / 0.7095 GB, free: 3.602 MB / 0.4981 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 & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.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 BuildingSystems_BuildingSystems_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection.fmu > BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe 2>&1)