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.004712/0.004712, allocations: 100.8 kB / 15.87 MB, free: 6.32 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.001223/0.001223, allocations: 197.5 kB / 16.79 MB, free: 6.246 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.221/1.221, allocations: 222.9 MB / 240.5 MB, free: 4.566 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6192/0.6192, allocations: 115.3 MB / 406 MB, free: 2.781 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001121/0.001121, allocations: 65 kB / 493 MB, free: 6.707 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1148/0.1159, allocations: 76.18 MB / 0.5558 GB, free: 10.73 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection): time 0.00279/0.1187, allocations: 2.089 MB / 0.5579 GB, free: 8.625 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007751/0.1195, allocations: 0.5494 MB / 0.5584 GB, free: 8.07 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.29e-05/0.1196, allocations: 0 / 0.5584 GB, free: 8.07 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 9.904e-05/0.1197, allocations: 11.86 kB / 0.5584 GB, free: 8.059 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 6.913e-05/0.1198, allocations: 31.72 kB / 0.5585 GB, free: 8.027 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002114/0.12, allocations: 71.95 kB / 0.5585 GB, free: 7.957 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001765/0.1202, allocations: 212 kB / 0.5587 GB, free: 7.75 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000178/0.1204, allocations: 107.6 kB / 0.5588 GB, free: 7.641 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001003/0.1205, allocations: 75.69 kB / 0.5589 GB, free: 7.566 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.717e-05/0.1206, allocations: 91.47 kB / 0.559 GB, free: 7.477 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.783e-05/0.1206, allocations: 12 kB / 0.559 GB, free: 7.465 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.474e-05/0.1207, allocations: 20 kB / 0.559 GB, free: 7.445 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 5.718e-05/0.1208, allocations: 47.77 kB / 0.5591 GB, free: 7.398 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 7.673e-05/0.1208, allocations: 91.45 kB / 0.5592 GB, free: 7.309 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000222/0.1211, allocations: 255.4 kB / 0.5594 GB, free: 7.059 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.1211, allocations: 4 kB / 0.5594 GB, free: 7.055 MB / 430.1 MB Notification: Performance of FrontEnd: time 8.61e-07/0.1211, allocations: 0 / 0.5594 GB, free: 7.055 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.787e-06/0.1211, allocations: 4 kB / 0.5594 GB, free: 7.051 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.0006534/0.1218, allocations: 0.5103 MB / 0.5599 GB, free: 6.492 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.4e-05/0.1218, allocations: 16.02 kB / 0.5599 GB, free: 6.477 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.827e-05/0.1218, allocations: 50.67 kB / 0.56 GB, free: 6.418 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.915e-05/0.1219, allocations: 28.66 kB / 0.56 GB, free: 6.391 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002683/0.1222, allocations: 256.5 kB / 0.5602 GB, free: 6.098 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.678e-05/0.1222, allocations: 16.38 kB / 0.5603 GB, free: 6.082 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.348e-05/0.1222, allocations: 20.31 kB / 0.5603 GB, free: 6.062 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003523/0.1226, allocations: 224.9 kB / 0.5605 GB, free: 5.824 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.995e-06/0.1226, allocations: 3.984 kB / 0.5605 GB, free: 5.82 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.011e-05/0.1226, allocations: 8 kB / 0.5605 GB, free: 5.812 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.611e-06/0.1226, allocations: 7.938 kB / 0.5605 GB, free: 5.805 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002764/0.1229, allocations: 147.7 kB / 0.5607 GB, free: 5.66 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007791/0.1237, allocations: 0.5935 MB / 0.5612 GB, free: 5.016 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003187/0.124, allocations: 118.7 kB / 0.5613 GB, free: 4.891 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001138/0.1242, allocations: 48.84 kB / 0.5614 GB, free: 4.84 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.574e-05/0.1242, allocations: 0 / 0.5614 GB, free: 4.84 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.24e-05/0.1242, allocations: 34.56 kB / 0.5614 GB, free: 4.797 MB / 430.1 MB Notification: Performance of pre-optimization done (n=10): time 1.062e-06/0.1242, allocations: 0 / 0.5614 GB, free: 4.797 MB / 430.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004069/0.1246, allocations: 173.5 kB / 0.5616 GB, free: 4.621 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.079e-05/0.1247, allocations: 132.5 kB / 0.5617 GB, free: 4.461 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001654/0.1249, allocations: 214.9 kB / 0.5619 GB, free: 4.242 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.291e-05/0.1249, allocations: 33.7 kB / 0.562 GB, free: 4.203 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.335e-05/0.125, allocations: 144.2 kB / 0.5621 GB, free: 4.059 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.434e-05/0.125, allocations: 27.64 kB / 0.5621 GB, free: 4.031 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.036e-05/0.1251, allocations: 41.61 kB / 0.5622 GB, free: 3.984 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001049/0.1252, allocations: 326.8 kB / 0.5625 GB, free: 3.656 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001153/0.1253, allocations: 47.98 kB / 0.5625 GB, free: 3.609 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000129/0.1254, allocations: 95.02 kB / 0.5626 GB, free: 3.504 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001893/0.1256, allocations: 85.69 kB / 0.5627 GB, free: 3.414 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.1257, allocations: 0 / 0.5627 GB, free: 3.414 MB / 430.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000286/0.1259, allocations: 165.4 kB / 0.5628 GB, free: 3.246 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.021e-05/0.126, allocations: 5.875 kB / 0.5629 GB, free: 3.242 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.326e-06/0.126, allocations: 0 / 0.5629 GB, free: 3.242 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.648e-06/0.126, allocations: 3.938 kB / 0.5629 GB, free: 3.238 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001006/0.1261, allocations: 23.98 kB / 0.5629 GB, free: 3.215 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.023e-06/0.1261, allocations: 4.312 kB / 0.5629 GB, free: 3.211 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001237/0.1262, allocations: 19.89 kB / 0.5629 GB, free: 3.191 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.935e-05/0.1263, allocations: 16.02 kB / 0.5629 GB, free: 3.176 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.0001008/0.1264, allocations: 133.8 kB / 0.563 GB, free: 3.035 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.727e-05/0.1264, allocations: 19.75 kB / 0.5631 GB, free: 3.016 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002937/0.1267, allocations: 147 kB / 0.5632 GB, free: 2.867 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.419e-06/0.1267, allocations: 7.938 kB / 0.5632 GB, free: 2.859 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.946e-06/0.1267, allocations: 0 / 0.5632 GB, free: 2.859 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.275e-06/0.1267, allocations: 4 kB / 0.5632 GB, free: 2.855 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002445/0.127, allocations: 269.5 kB / 0.5635 GB, free: 2.543 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.021e-06/0.127, allocations: 0 / 0.5635 GB, free: 2.543 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.282e-05/0.1271, allocations: 15.98 kB / 0.5635 GB, free: 2.527 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.1271, allocations: 0 / 0.5635 GB, free: 2.527 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.099e-05/0.1271, allocations: 0 / 0.5635 GB, free: 2.527 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.795e-06/0.1271, allocations: 3.938 kB / 0.5635 GB, free: 2.523 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.22e-07/0.1271, allocations: 0 / 0.5635 GB, free: 2.523 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002823/0.1274, allocations: 235.2 kB / 0.5637 GB, free: 2.277 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.506e-05/0.1275, allocations: 96.95 kB / 0.5638 GB, free: 2.164 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.981e-05/0.1275, allocations: 4 kB / 0.5638 GB, free: 2.16 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001466/0.1277, allocations: 23.91 kB / 0.5638 GB, free: 2.137 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.069e-05/0.1277, allocations: 27.89 kB / 0.5639 GB, free: 2.109 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.203e-05/0.1277, allocations: 8 kB / 0.5639 GB, free: 2.102 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001099/0.1279, allocations: 148.7 kB / 0.564 GB, free: 1.957 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1279, allocations: 4 kB / 0.564 GB, free: 1.953 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002513/0.1281, allocations: 39.84 kB / 0.5641 GB, free: 1.914 MB / 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.0005366/0.1287, allocations: 0.7748 MB / 0.5648 GB, free: 1.109 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002616/0.1289, allocations: 119.1 kB / 0.5649 GB, free: 0.9961 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.1289, allocations: 0 / 0.5649 GB, free: 0.9961 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001169/0.1291, allocations: 47.92 kB / 0.565 GB, free: 0.9492 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002846/0.1294, allocations: 29.33 kB / 0.565 GB, free: 0.9219 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002067/0.1314, allocations: 2.032 MB / 0.567 GB, free: 14.8 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002504/0.1317, allocations: 0.7322 MB / 0.5677 GB, free: 14.05 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 8.129e-05/0.1318, allocations: 21.41 kB / 0.5677 GB, free: 14.03 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.748e-05/0.1319, allocations: 59.41 kB / 0.5678 GB, free: 13.97 MB / 446.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1319, allocations: 0 / 0.5678 GB, free: 13.97 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.397/0.5289, allocations: 3.581 MB / 0.5713 GB, free: 10.57 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002063/0.5292, allocations: 237 kB / 0.5715 GB, free: 10.31 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.683/2.212, allocations: 0 / 0.5715 GB, free: 10.31 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)