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.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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: translateModel(BuildSysPro.IBPSA.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection") translateModel(BuildSysPro.IBPSA.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001263/0.001263, allocations: 100.2 kB / 15.05 MB, free: 1.105 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.001414/0.001414, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.326/1.326, allocations: 223.2 MB / 239.9 MB, free: 5.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.055/1.055, allocations: 143.3 MB / 434.3 MB, free: 13.71 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002927/0.0002927, allocations: 8 kB / 0.5158 GB, free: 11.35 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1444/0.1447, allocations: 83.4 MB / 0.5973 GB, free: 7.887 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection): time 0.002085/0.1468, allocations: 1.668 MB / 0.5989 GB, free: 6.207 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0008386/0.1477, allocations: 0.5302 MB / 0.5994 GB, free: 5.672 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.157e-05/0.1478, allocations: 4 kB / 0.5994 GB, free: 5.668 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 8.656e-05/0.1479, allocations: 15.86 kB / 0.5995 GB, free: 5.652 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 7.112e-05/0.1479, allocations: 31.88 kB / 0.5995 GB, free: 5.621 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002134/0.1482, allocations: 51.94 kB / 0.5995 GB, free: 5.57 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001621/0.1483, allocations: 132.3 kB / 0.5997 GB, free: 5.441 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000181/0.1485, allocations: 86.12 kB / 0.5997 GB, free: 5.352 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001127/0.1486, allocations: 59.7 kB / 0.5998 GB, free: 5.293 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001072/0.1488, allocations: 67.62 kB / 0.5999 GB, free: 5.227 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.612e-05/0.1488, allocations: 7.938 kB / 0.5999 GB, free: 5.219 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 6.004e-05/0.1489, allocations: 15.98 kB / 0.5999 GB, free: 5.203 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.896e-05/0.1489, allocations: 27.84 kB / 0.5999 GB, free: 5.176 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.844e-05/0.149, allocations: 57.58 kB / 0.6 GB, free: 5.113 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001991/0.1492, allocations: 215.7 kB / 0.6002 GB, free: 4.902 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.394e-06/0.1492, allocations: 0 / 0.6002 GB, free: 4.902 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.102e-06/0.1492, allocations: 4 kB / 0.6002 GB, free: 4.898 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.128e-06/0.1492, allocations: 0 / 0.6002 GB, free: 4.898 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.0006574/0.1499, allocations: 494.5 kB / 0.6007 GB, free: 4.367 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.127e-05/0.1499, allocations: 8.031 kB / 0.6007 GB, free: 4.359 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.781e-05/0.15, allocations: 27.67 kB / 0.6007 GB, free: 4.332 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003388/0.1503, allocations: 256 kB / 0.6009 GB, free: 4.039 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.063e-05/0.1503, allocations: 8 kB / 0.6009 GB, free: 4.031 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.145e-05/0.1504, allocations: 20 kB / 0.601 GB, free: 4.012 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003739/0.1508, allocations: 229.4 kB / 0.6012 GB, free: 3.77 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.787e-06/0.1508, allocations: 0 / 0.6012 GB, free: 3.77 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.066e-05/0.1508, allocations: 8 kB / 0.6012 GB, free: 3.762 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.923e-06/0.1508, allocations: 4 kB / 0.6012 GB, free: 3.758 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003107/0.1511, allocations: 159.7 kB / 0.6013 GB, free: 3.602 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008716/0.152, allocations: 0.5935 MB / 0.6019 GB, free: 2.957 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003445/0.1524, allocations: 134.7 kB / 0.602 GB, free: 2.816 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.607e-05/0.1524, allocations: 4 kB / 0.6021 GB, free: 2.812 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.104e-05/0.1525, allocations: 34.69 kB / 0.6021 GB, free: 2.77 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=10): time 1.162e-06/0.1525, allocations: 0 / 0.6021 GB, free: 2.77 MB / 0.4981 GB Notification: Performance of matching and sorting (n=10): time 0.0004363/0.1529, allocations: 185.3 kB / 0.6023 GB, free: 2.582 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.416e-05/0.153, allocations: 132.5 kB / 0.6024 GB, free: 2.422 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001942/0.1532, allocations: 215.2 kB / 0.6026 GB, free: 2.203 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.518e-05/0.1532, allocations: 33.64 kB / 0.6026 GB, free: 2.164 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 9.505e-05/0.1533, allocations: 144.2 kB / 0.6028 GB, free: 2.02 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.997e-05/0.1534, allocations: 35.53 kB / 0.6028 GB, free: 1.984 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.976e-06/0.1534, allocations: 4 kB / 0.6028 GB, free: 1.98 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001073/0.1535, allocations: 322.8 kB / 0.6031 GB, free: 1.656 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001309/0.1536, allocations: 51.97 kB / 0.6032 GB, free: 1.605 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001413/0.1538, allocations: 92.27 kB / 0.6032 GB, free: 1.5 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001118/0.1539, allocations: 43.98 kB / 0.6033 GB, free: 1.457 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.1539, allocations: 0 / 0.6033 GB, free: 1.457 MB / 0.4981 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003165/0.1542, allocations: 173 kB / 0.6035 GB, free: 1.285 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.375e-05/0.1542, allocations: 4 kB / 0.6035 GB, free: 1.281 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.589e-06/0.1543, allocations: 0 / 0.6035 GB, free: 1.281 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.082e-05/0.1543, allocations: 4 kB / 0.6035 GB, free: 1.277 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000115/0.1544, allocations: 19.92 kB / 0.6035 GB, free: 1.258 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.25e-06/0.1544, allocations: 4 kB / 0.6035 GB, free: 1.254 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001484/0.1546, allocations: 35.91 kB / 0.6035 GB, free: 1.219 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.162e-05/0.1546, allocations: 8 kB / 0.6035 GB, free: 1.211 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 ($PRE.temPro.hysHig.y,temPro.hysHig.y,$PRE.temPro.hysLow.y,temPro.hysLow.y,temPro.on.y,$PRE.temPro.hysdTConEva.y,temPro.hysdTConEva.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001247/0.1547, allocations: 132.8 kB / 0.6037 GB, free: 1.074 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.331e-05/0.1548, allocations: 19.77 kB / 0.6037 GB, free: 1.055 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003489/0.1551, allocations: 159 kB / 0.6038 GB, free: 0.8945 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.1551, allocations: 0 / 0.6038 GB, free: 0.8945 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.1551, allocations: 0 / 0.6038 GB, free: 0.8945 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.89e-06/0.1552, allocations: 4 kB / 0.6038 GB, free: 0.8906 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002612/0.1554, allocations: 265.5 kB / 0.6041 GB, free: 0.582 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.1554, allocations: 0 / 0.6041 GB, free: 0.582 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001008/0.1555, allocations: 20.45 kB / 0.6041 GB, free: 0.5625 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.023e-06/0.1555, allocations: 4 kB / 0.6041 GB, free: 0.5586 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.913e-05/0.1556, allocations: 11.95 kB / 0.6041 GB, free: 0.5469 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.1556, allocations: 3.938 kB / 0.6041 GB, free: 0.543 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.053e-06/0.1556, allocations: 3.984 kB / 0.6041 GB, free: 0.5391 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003035/0.1559, allocations: 239.2 kB / 0.6043 GB, free: 296 kB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.354e-05/0.156, allocations: 96.91 kB / 0.6044 GB, free: 180 kB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.151e-05/0.156, allocations: 3.984 kB / 0.6044 GB, free: 176 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001692/0.1562, allocations: 39.86 kB / 0.6045 GB, free: 136 kB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.849e-05/0.1563, allocations: 23.95 kB / 0.6045 GB, free: 112 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.303e-05/0.1563, allocations: 7.984 kB / 0.6045 GB, free: 104 kB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.2534/0.4097, allocations: 148.2 kB / 0.6047 GB, free: 40.8 MB / 0.4981 GB Notification: Performance of sort global known variables: time 5.71e-07/0.4097, allocations: 0 / 0.6047 GB, free: 40.8 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000431/0.4102, allocations: 37.23 kB / 0.6047 GB, free: 40.8 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001711/0.4103, allocations: 108.1 kB / 0.6048 GB, free: 40.71 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003573/0.4107, allocations: 118.8 kB / 0.6049 GB, free: 40.71 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.4107, allocations: 0.5938 kB / 0.6049 GB, free: 40.71 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001232/0.4108, allocations: 60.89 kB / 0.605 GB, free: 40.71 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002452/0.4111, allocations: 16.84 kB / 0.605 GB, free: 40.71 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005264/0.4116, allocations: 376 kB / 0.6053 GB, free: 40.48 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001358/0.4118, allocations: 0.7401 MB / 0.6061 GB, free: 39.79 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 8.214e-05/0.4119, allocations: 15.86 kB / 0.6061 GB, free: 39.79 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.047e-05/0.4119, allocations: 20.72 kB / 0.6061 GB, free: 39.78 MB / 0.4981 GB Notification: Performance of SimCode: time 4.21e-07/0.4119, allocations: 0.75 kB / 0.6061 GB, free: 39.78 MB / 0.4981 GB Notification: Performance of Templates: time 0.004027/0.416, allocations: 1.804 MB / 0.6079 GB, free: 39.76 MB / 0.4981 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.makefile Environment - environmentSimulation: (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 & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe 2>&1) Environment - environmentSimulation: