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.00108/0.00108, allocations: 102.3 kB / 16.4 MB, free: 6.496 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.001088/0.001088, allocations: 193.2 kB / 17.34 MB, free: 5.762 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.358/1.358, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.715/0.715, allocations: 115.3 MB / 406.5 MB, free: 6.164 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001182/0.001182, allocations: 65.31 kB / 0.5572 GB, free: 32.56 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1434/0.1446, allocations: 76.18 MB / 0.6316 GB, free: 4.91 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection): time 0.003501/0.1482, allocations: 2.02 MB / 0.6336 GB, free: 2.871 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.001117/0.1493, allocations: 0.5766 MB / 0.6341 GB, free: 2.289 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001547/0.1495, allocations: 0 / 0.6341 GB, free: 2.289 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000145/0.1496, allocations: 23.67 kB / 0.6341 GB, free: 2.266 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001151/0.1498, allocations: 35.66 kB / 0.6342 GB, free: 2.23 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003391/0.1502, allocations: 79.84 kB / 0.6343 GB, free: 2.152 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.000274/0.1504, allocations: 228 kB / 0.6345 GB, free: 1.93 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002465/0.1507, allocations: 119.6 kB / 0.6346 GB, free: 1.805 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001534/0.1509, allocations: 87.7 kB / 0.6347 GB, free: 1.719 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001233/0.151, allocations: 103.5 kB / 0.6348 GB, free: 1.617 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 4.09e-05/0.151, allocations: 24 kB / 0.6348 GB, free: 1.594 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.897e-05/0.1511, allocations: 35.98 kB / 0.6348 GB, free: 1.559 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 6.512e-05/0.1512, allocations: 55.78 kB / 0.6349 GB, free: 1.504 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 9.311e-05/0.1513, allocations: 103.5 kB / 0.635 GB, free: 1.402 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003137/0.1516, allocations: 277.8 kB / 0.6352 GB, free: 1.133 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.1516, allocations: 4 kB / 0.6353 GB, free: 1.129 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.482e-06/0.1516, allocations: 4 kB / 0.6353 GB, free: 1.125 MB / 478.1 MB Notification: Performance of Transformations before backend: time 6.002e-06/0.1516, allocations: 0 / 0.6353 GB, free: 1.125 MB / 478.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.0007315/0.1524, allocations: 0.5111 MB / 0.6358 GB, free: 0.5664 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.72e-05/0.1524, allocations: 12.03 kB / 0.6358 GB, free: 0.5547 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.654e-05/0.1525, allocations: 50.73 kB / 0.6358 GB, free: 0.4961 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.456e-05/0.1525, allocations: 36.59 kB / 0.6358 GB, free: 472 kB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000298/0.1528, allocations: 252.7 kB / 0.6361 GB, free: 176 kB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.021e-05/0.1529, allocations: 16.38 kB / 0.6361 GB, free: 160 kB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.42e-05/0.1529, allocations: 16.38 kB / 0.6361 GB, free: 144 kB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003829/0.1533, allocations: 224.8 kB / 0.6363 GB, free: 15.9 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.786e-06/0.1533, allocations: 0 / 0.6363 GB, free: 15.9 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.001e-05/0.1533, allocations: 12 kB / 0.6363 GB, free: 15.89 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.663e-06/0.1534, allocations: 4 kB / 0.6364 GB, free: 15.88 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002834/0.1536, allocations: 143.9 kB / 0.6365 GB, free: 15.74 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008242/0.1545, allocations: 0.5932 MB / 0.6371 GB, free: 15.1 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003352/0.1548, allocations: 122.6 kB / 0.6372 GB, free: 14.97 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000108/0.1549, allocations: 48.84 kB / 0.6372 GB, free: 14.92 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.13e-05/0.155, allocations: 0 / 0.6372 GB, free: 14.92 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.654e-05/0.155, allocations: 38.56 kB / 0.6373 GB, free: 14.88 MB / 494.1 MB Notification: Performance of pre-optimization done (n=10): time 9.22e-07/0.155, allocations: 0 / 0.6373 GB, free: 14.88 MB / 494.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004305/0.1555, allocations: 173.5 kB / 0.6374 GB, free: 14.7 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.501e-05/0.1555, allocations: 128.5 kB / 0.6376 GB, free: 14.54 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000173/0.1557, allocations: 214.9 kB / 0.6378 GB, free: 14.32 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.491e-05/0.1557, allocations: 33.7 kB / 0.6378 GB, free: 14.29 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.713e-05/0.1558, allocations: 140.2 kB / 0.6379 GB, free: 14.14 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.812e-05/0.1559, allocations: 39.56 kB / 0.638 GB, free: 14.11 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.703e-05/0.1559, allocations: 41.61 kB / 0.638 GB, free: 14.06 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001045/0.1561, allocations: 326.8 kB / 0.6383 GB, free: 13.73 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001153/0.1562, allocations: 43.97 kB / 0.6384 GB, free: 13.69 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001428/0.1563, allocations: 88.2 kB / 0.6384 GB, free: 13.59 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001913/0.1565, allocations: 89.69 kB / 0.6385 GB, free: 13.49 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.1565, allocations: 4 kB / 0.6385 GB, free: 13.49 MB / 494.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002924/0.1568, allocations: 156.7 kB / 0.6387 GB, free: 13.33 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.48e-05/0.1569, allocations: 7.984 kB / 0.6387 GB, free: 13.32 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.1569, allocations: 0 / 0.6387 GB, free: 13.32 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.543e-05/0.1569, allocations: 7.969 kB / 0.6387 GB, free: 13.32 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001077/0.157, allocations: 19.98 kB / 0.6387 GB, free: 13.3 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.154e-06/0.157, allocations: 0 / 0.6387 GB, free: 13.3 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001339/0.1572, allocations: 27.83 kB / 0.6387 GB, free: 13.27 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.784e-05/0.1572, allocations: 4 kB / 0.6387 GB, free: 13.27 MB / 494.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.0001164/0.1573, allocations: 141.8 kB / 0.6389 GB, free: 13.12 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.006e-05/0.1574, allocations: 19.81 kB / 0.6389 GB, free: 13.1 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003187/0.1577, allocations: 147.3 kB / 0.639 GB, free: 12.95 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.918e-06/0.1577, allocations: 3.938 kB / 0.639 GB, free: 12.94 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.1577, allocations: 0 / 0.639 GB, free: 12.94 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.1577, allocations: 4.078 kB / 0.639 GB, free: 12.94 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002426/0.158, allocations: 269.5 kB / 0.6393 GB, free: 12.62 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.158, allocations: 0 / 0.6393 GB, free: 12.62 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.196e-05/0.1581, allocations: 15.98 kB / 0.6393 GB, free: 12.61 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.005e-06/0.1581, allocations: 4 kB / 0.6393 GB, free: 12.61 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.376e-05/0.1581, allocations: 4 kB / 0.6393 GB, free: 12.6 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.727e-06/0.1581, allocations: 11.94 kB / 0.6393 GB, free: 12.59 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.1581, allocations: 0 / 0.6393 GB, free: 12.59 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002874/0.1584, allocations: 223.2 kB / 0.6396 GB, free: 12.36 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.275e-05/0.1585, allocations: 92.92 kB / 0.6396 GB, free: 12.25 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.871e-05/0.1585, allocations: 4 kB / 0.6396 GB, free: 12.24 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001513/0.1587, allocations: 31.91 kB / 0.6397 GB, free: 12.21 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.554e-05/0.1587, allocations: 19.97 kB / 0.6397 GB, free: 12.19 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.221e-05/0.1587, allocations: 11.92 kB / 0.6397 GB, free: 12.18 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001064/0.1589, allocations: 144.6 kB / 0.6398 GB, free: 12.04 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1589, allocations: 3.938 kB / 0.6398 GB, free: 12.04 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002522/0.1591, allocations: 43.84 kB / 0.6399 GB, free: 11.99 MB / 494.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.000557/0.1597, allocations: 0.7669 MB / 0.6406 GB, free: 11.2 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002863/0.16, allocations: 108.1 kB / 0.6407 GB, free: 11.09 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.16, allocations: 0 / 0.6407 GB, free: 11.09 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001205/0.1601, allocations: 63.84 kB / 0.6408 GB, free: 11.03 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003009/0.1604, allocations: 25.12 kB / 0.6408 GB, free: 11 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002109/0.1625, allocations: 1.985 MB / 0.6428 GB, free: 8.945 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002724/0.1628, allocations: 0.7319 MB / 0.6435 GB, free: 8.188 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 7.796e-05/0.1629, allocations: 25.41 kB / 0.6435 GB, free: 8.164 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001054/0.163, allocations: 63.41 kB / 0.6436 GB, free: 8.102 MB / 494.1 MB Notification: Performance of SimCode: time 2.01e-07/0.163, allocations: 0 / 0.6436 GB, free: 8.102 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02117/0.1842, allocations: 4.072 MB / 0.6475 GB, free: 4.195 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.715/7.899, allocations: 18.47 kB / 0.6476 GB, free: 4.18 MB / 494.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)