Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.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.Validation.ReciprocatingCompressor,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor",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.000681/0.000681, allocations: 88.17 kB / 15.7 MB, free: 460 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.0007093/0.0007093, allocations: 176.4 kB / 16.58 MB, free: 6.852 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.169/1.169, allocations: 223.3 MB / 240.6 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5845/0.5845, allocations: 113.7 MB / 405.5 MB, free: 4.594 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002539/0.0002539, allocations: 12 kB / 493.2 MB, free: 8.57 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1161/0.1164, allocations: 77.11 MB / 0.5569 GB, free: 11.68 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.001885/0.1183, allocations: 1.664 MB / 0.5585 GB, free: 10 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001905/0.1202, allocations: 1.54 MB / 0.56 GB, free: 8.457 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.482e-05/0.1203, allocations: 4 kB / 0.56 GB, free: 8.453 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 3.698e-05/0.1204, allocations: 15.91 kB / 0.56 GB, free: 8.438 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 9.776e-05/0.1205, allocations: 43.62 kB / 0.5601 GB, free: 8.395 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007732/0.1213, allocations: 267.2 kB / 0.5603 GB, free: 8.133 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002021/0.1215, allocations: 199.1 kB / 0.5605 GB, free: 7.938 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001101/0.1216, allocations: 33.67 kB / 0.5606 GB, free: 7.895 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.1e-05/0.1217, allocations: 79.7 kB / 0.5606 GB, free: 7.816 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001191/0.1218, allocations: 75.73 kB / 0.5607 GB, free: 7.742 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.177e-05/0.1219, allocations: 12 kB / 0.5607 GB, free: 7.73 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006584/0.1225, allocations: 383.5 kB / 0.5611 GB, free: 7.355 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 3.077e-05/0.1226, allocations: 27.91 kB / 0.5611 GB, free: 7.328 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 4.157e-05/0.1226, allocations: 57.64 kB / 0.5612 GB, free: 7.266 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003448/0.123, allocations: 311.5 kB / 0.5615 GB, free: 6.961 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.926e-06/0.123, allocations: 0 / 0.5615 GB, free: 6.961 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.405e-06/0.123, allocations: 0 / 0.5615 GB, free: 6.961 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.412e-06/0.123, allocations: 11.94 kB / 0.5615 GB, free: 6.949 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: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.0006298/0.1236, allocations: 487.1 kB / 0.5619 GB, free: 6.422 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.145e-05/0.1237, allocations: 8.031 kB / 0.562 GB, free: 6.414 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.66e-05/0.1237, allocations: 46.55 kB / 0.562 GB, free: 6.359 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000463/0.1242, allocations: 107.7 kB / 0.5621 GB, free: 6.254 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001084/0.1243, allocations: 182.8 kB / 0.5623 GB, free: 6.035 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.887e-05/0.1244, allocations: 49.69 kB / 0.5623 GB, free: 5.98 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.85e-05/0.1244, allocations: 23.94 kB / 0.5623 GB, free: 5.957 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000349/0.1248, allocations: 185.5 kB / 0.5625 GB, free: 5.77 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.644e-06/0.1248, allocations: 0 / 0.5625 GB, free: 5.77 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.948e-05/0.1248, allocations: 4 kB / 0.5625 GB, free: 5.766 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.349e-06/0.1248, allocations: 4 kB / 0.5625 GB, free: 5.762 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003822/0.1252, allocations: 191.9 kB / 0.5627 GB, free: 5.574 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001113/0.1263, allocations: 0.9187 MB / 0.5636 GB, free: 4.531 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004123/0.1268, allocations: 182.6 kB / 0.5638 GB, free: 4.344 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001659/0.1269, allocations: 80.83 kB / 0.5639 GB, free: 4.262 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005227/0.1275, allocations: 0.522 MB / 0.5644 GB, free: 3.629 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.791e-05/0.1275, allocations: 30.56 kB / 0.5644 GB, free: 3.59 MB / 430.1 MB Notification: Performance of pre-optimization done (n=14): time 1.182e-06/0.1275, allocations: 0 / 0.5644 GB, free: 3.59 MB / 430.1 MB Notification: Performance of matching and sorting (n=14): time 0.0005872/0.1281, allocations: 253.7 kB / 0.5646 GB, free: 3.336 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.865e-05/0.1281, allocations: 55.41 kB / 0.5647 GB, free: 3.27 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001101/0.1282, allocations: 157.7 kB / 0.5648 GB, free: 3.109 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.186e-05/0.1283, allocations: 29.7 kB / 0.5649 GB, free: 3.074 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.501e-05/0.1283, allocations: 119.8 kB / 0.565 GB, free: 2.953 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.654e-05/0.1284, allocations: 47.33 kB / 0.565 GB, free: 2.906 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.241e-05/0.1284, allocations: 8 kB / 0.565 GB, free: 2.898 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.357e-05/0.1285, allocations: 326.8 kB / 0.5654 GB, free: 2.57 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001756/0.1287, allocations: 75.97 kB / 0.5654 GB, free: 2.496 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001765/0.1289, allocations: 101.6 kB / 0.5655 GB, free: 2.391 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001702/0.129, allocations: 73.88 kB / 0.5656 GB, free: 2.32 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.129, allocations: 0 / 0.5656 GB, free: 2.32 MB / 430.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004254/0.1295, allocations: 229.3 kB / 0.5658 GB, free: 2.09 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.175e-05/0.1295, allocations: 4 kB / 0.5658 GB, free: 2.086 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.1295, allocations: 3.984 kB / 0.5658 GB, free: 2.082 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.137e-05/0.1295, allocations: 4 kB / 0.5658 GB, free: 2.078 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002133/0.1297, allocations: 39.91 kB / 0.5659 GB, free: 2.039 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.275e-06/0.1298, allocations: 7.953 kB / 0.5659 GB, free: 2.031 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001499/0.1299, allocations: 27.77 kB / 0.5659 GB, free: 2.004 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.526e-05/0.1299, allocations: 8 kB / 0.5659 GB, free: 1.996 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: 2 ($PRE.com.isOn,com.isOn) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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 9.312e-05/0.13, allocations: 121.8 kB / 0.566 GB, free: 1.867 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.733e-05/0.1301, allocations: 15.81 kB / 0.566 GB, free: 1.852 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000435/0.1305, allocations: 206.1 kB / 0.5662 GB, free: 1.648 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.168e-06/0.1305, allocations: 4 kB / 0.5662 GB, free: 1.645 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.546e-06/0.1305, allocations: 0 / 0.5662 GB, free: 1.645 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.957e-06/0.1306, allocations: 3.953 kB / 0.5662 GB, free: 1.641 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001153/0.1317, allocations: 0.9857 MB / 0.5672 GB, free: 0.5 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.1317, allocations: 0 / 0.5672 GB, free: 0.5 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001735/0.1319, allocations: 39.98 kB / 0.5672 GB, free: 472 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.905e-06/0.1319, allocations: 0 / 0.5672 GB, free: 472 kB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.114e-05/0.1319, allocations: 15.92 kB / 0.5673 GB, free: 456 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.1319, allocations: 0 / 0.5673 GB, free: 456 kB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.132, allocations: 4 kB / 0.5673 GB, free: 452 kB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004108/0.1324, allocations: 293.1 kB / 0.5675 GB, free: 136 kB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.883e-05/0.1324, allocations: 100.8 kB / 0.5676 GB, free: 16 kB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.958e-05/0.1325, allocations: 4 kB / 0.5676 GB, free: 12 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001985/0.1327, allocations: 20.02 kB / 0.5677 GB, free: 15.99 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.526e-05/0.1327, allocations: 23.86 kB / 0.5677 GB, free: 15.96 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.506e-05/0.1327, allocations: 7.984 kB / 0.5677 GB, free: 15.96 MB / 446.1 MB Notification: Performance of sorting global known variables: time 6.645e-05/0.1328, allocations: 111.3 kB / 0.5678 GB, free: 15.85 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1328, allocations: 0 / 0.5678 GB, free: 15.85 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003779/0.1332, allocations: 131.8 kB / 0.5679 GB, free: 15.72 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 1 (com.isOn) * Number of discrete states: 1 (com.isOn) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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 Backend phase and start with SimCode phase: time 0.0008799/0.1341, allocations: 0.937 MB / 0.5688 GB, free: 14.75 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004009/0.1345, allocations: 193.7 kB / 0.569 GB, free: 14.57 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.1345, allocations: 0 / 0.569 GB, free: 14.57 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001729/0.1347, allocations: 87.84 kB / 0.5691 GB, free: 14.48 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000341/0.135, allocations: 48.09 kB / 0.5691 GB, free: 14.43 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00153/0.1366, allocations: 1.022 MB / 0.5701 GB, free: 13.35 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002075/0.1368, allocations: 0.7167 MB / 0.5708 GB, free: 12.61 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001485/0.1369, allocations: 31.39 kB / 0.5709 GB, free: 12.58 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.294e-05/0.137, allocations: 47.3 kB / 0.5709 GB, free: 12.54 MB / 446.1 MB Notification: Performance of SimCode: time 2.61e-07/0.137, allocations: 0 / 0.5709 GB, free: 12.54 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0142/0.1512, allocations: 5.61 MB / 0.5764 GB, free: 7.156 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001728/0.1514, allocations: 206.5 kB / 0.5766 GB, free: 6.914 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.57/1.722, allocations: 0 / 0.5766 GB, free: 6.914 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor.fmu > IBPSA_latest_IBPSA.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe 2>&1) Environment - environmentSimulation: