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.000768/0.0007682, allocations: 92.17 kB / 16.02 MB, free: 84 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.0008272/0.0008273, allocations: 184.7 kB / 16.92 MB, free: 6.934 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.219/1.219, allocations: 223.3 MB / 241 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6466/0.6466, allocations: 115.5 MB / 407.6 MB, free: 2.699 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002753/0.0002754, allocations: 11.98 kB / 496 MB, free: 6.254 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.117/0.1173, allocations: 77.54 MB / 0.5601 GB, free: 8.914 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.001907/0.1192, allocations: 1.707 MB / 0.5617 GB, free: 7.195 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002279/0.1215, allocations: 1.703 MB / 0.5634 GB, free: 5.484 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.189e-05/0.1216, allocations: 0 / 0.5634 GB, free: 5.484 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 4.117e-05/0.1217, allocations: 15.86 kB / 0.5634 GB, free: 5.469 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001134/0.1218, allocations: 39.67 kB / 0.5634 GB, free: 5.43 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008854/0.1227, allocations: 299.2 kB / 0.5637 GB, free: 5.137 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002137/0.1229, allocations: 207.2 kB / 0.5639 GB, free: 4.934 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001252/0.123, allocations: 49.44 kB / 0.564 GB, free: 4.883 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001021/0.1231, allocations: 75.72 kB / 0.564 GB, free: 4.809 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001333/0.1233, allocations: 83.66 kB / 0.5641 GB, free: 4.727 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.325e-05/0.1233, allocations: 12 kB / 0.5641 GB, free: 4.715 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007174/0.124, allocations: 379.5 kB / 0.5645 GB, free: 4.344 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 3.752e-05/0.1241, allocations: 31.91 kB / 0.5645 GB, free: 4.312 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 8.89e-05/0.1242, allocations: 109.3 kB / 0.5646 GB, free: 4.199 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000561/0.1247, allocations: 419.2 kB / 0.565 GB, free: 3.789 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.806e-06/0.1248, allocations: 0 / 0.565 GB, free: 3.789 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.1248, allocations: 0 / 0.565 GB, free: 3.789 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.128e-06/0.1248, allocations: 0 / 0.565 GB, free: 3.789 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.0007049/0.1255, allocations: 495.2 kB / 0.5655 GB, free: 3.25 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.785e-05/0.1255, allocations: 16.03 kB / 0.5655 GB, free: 3.234 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.501e-05/0.1256, allocations: 54.67 kB / 0.5656 GB, free: 3.172 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005573/0.1261, allocations: 100.6 kB / 0.5657 GB, free: 3.074 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001105/0.1263, allocations: 180.1 kB / 0.5658 GB, free: 2.859 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.579e-05/0.1264, allocations: 50.25 kB / 0.5659 GB, free: 2.805 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.804e-05/0.1264, allocations: 16.38 kB / 0.5659 GB, free: 2.789 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003843/0.1268, allocations: 181.9 kB / 0.5661 GB, free: 2.605 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.065e-06/0.1268, allocations: 4 kB / 0.5661 GB, free: 2.602 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.098e-05/0.1268, allocations: 4 kB / 0.5661 GB, free: 2.598 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.332e-06/0.1268, allocations: 4 kB / 0.5661 GB, free: 2.594 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004339/0.1273, allocations: 187.9 kB / 0.5663 GB, free: 2.41 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001227/0.1285, allocations: 0.9265 MB / 0.5672 GB, free: 1.359 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004873/0.129, allocations: 178.6 kB / 0.5673 GB, free: 1.176 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001961/0.1292, allocations: 84.77 kB / 0.5674 GB, free: 1.09 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005791/0.1298, allocations: 0.5181 MB / 0.5679 GB, free: 472 kB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.577e-05/0.1298, allocations: 34.56 kB / 0.568 GB, free: 428 kB / 430.1 MB Notification: Performance of pre-optimization done (n=14): time 1.253e-06/0.1298, allocations: 7.875 kB / 0.568 GB, free: 420 kB / 430.1 MB Notification: Performance of matching and sorting (n=14): time 0.0006703/0.1305, allocations: 249.4 kB / 0.5682 GB, free: 164 kB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.885e-05/0.1306, allocations: 51.41 kB / 0.5683 GB, free: 100 kB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001351/0.1307, allocations: 164.9 kB / 0.5684 GB, free: 15.93 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.259e-05/0.1307, allocations: 29.7 kB / 0.5684 GB, free: 15.89 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.657e-05/0.1308, allocations: 119.8 kB / 0.5686 GB, free: 15.77 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.287e-05/0.1308, allocations: 39.36 kB / 0.5686 GB, free: 15.73 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.81e-05/0.1309, allocations: 29.7 kB / 0.5686 GB, free: 15.7 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 8.922e-05/0.131, allocations: 318.8 kB / 0.5689 GB, free: 15.38 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001988/0.1312, allocations: 75.95 kB / 0.569 GB, free: 15.3 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002032/0.1314, allocations: 105.7 kB / 0.5691 GB, free: 15.2 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003694/0.1318, allocations: 167.8 kB / 0.5693 GB, free: 15.03 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.1318, allocations: 0 / 0.5693 GB, free: 15.03 MB / 446.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004739/0.1323, allocations: 217.5 kB / 0.5695 GB, free: 14.81 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.382e-05/0.1323, allocations: 4 kB / 0.5695 GB, free: 14.8 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-06/0.1323, allocations: 4 kB / 0.5695 GB, free: 14.8 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.889e-06/0.1323, allocations: 4.031 kB / 0.5695 GB, free: 14.8 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002286/0.1325, allocations: 35.97 kB / 0.5695 GB, free: 14.76 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.021e-06/0.1326, allocations: 4 kB / 0.5695 GB, free: 14.76 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001869/0.1328, allocations: 31.67 kB / 0.5695 GB, free: 14.73 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.602e-05/0.1328, allocations: 8 kB / 0.5696 GB, free: 14.72 MB / 446.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 (com.isOn,$PRE.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001042/0.1329, allocations: 129.7 kB / 0.5697 GB, free: 14.58 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.131e-05/0.1329, allocations: 19.91 kB / 0.5697 GB, free: 14.56 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004898/0.1334, allocations: 201.8 kB / 0.5699 GB, free: 14.36 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.427e-06/0.1334, allocations: 4 kB / 0.5699 GB, free: 14.36 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.017e-06/0.1335, allocations: 0 / 0.5699 GB, free: 14.36 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.1335, allocations: 0 / 0.5699 GB, free: 14.36 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001291/0.1348, allocations: 0.9959 MB / 0.5709 GB, free: 13.21 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.15e-06/0.1348, allocations: 4 kB / 0.5709 GB, free: 13.21 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001885/0.135, allocations: 31.98 kB / 0.5709 GB, free: 13.18 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.946e-06/0.135, allocations: 4 kB / 0.5709 GB, free: 13.17 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.452e-05/0.135, allocations: 3.984 kB / 0.5709 GB, free: 13.17 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.677e-06/0.135, allocations: 8.062 kB / 0.5709 GB, free: 13.16 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.135, allocations: 0 / 0.5709 GB, free: 13.16 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004752/0.1355, allocations: 304.9 kB / 0.5712 GB, free: 12.84 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.299e-05/0.1356, allocations: 96.94 kB / 0.5713 GB, free: 12.73 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.007e-05/0.1356, allocations: 4 kB / 0.5713 GB, free: 12.72 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002131/0.1358, allocations: 15.98 kB / 0.5713 GB, free: 12.71 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.37e-05/0.1359, allocations: 11.92 kB / 0.5713 GB, free: 12.7 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.291e-05/0.1359, allocations: 4 kB / 0.5713 GB, free: 12.69 MB / 446.1 MB Notification: Performance of sorting global known variables: time 7.432e-05/0.136, allocations: 126.9 kB / 0.5715 GB, free: 12.57 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.136, allocations: 0 / 0.5715 GB, free: 12.57 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000421/0.1364, allocations: 135.8 kB / 0.5716 GB, free: 12.44 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 (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.001002/0.1374, allocations: 0.9441 MB / 0.5725 GB, free: 11.46 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004489/0.1379, allocations: 189.6 kB / 0.5727 GB, free: 11.28 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.776e-06/0.1379, allocations: 0 / 0.5727 GB, free: 11.28 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001986/0.1381, allocations: 87.97 kB / 0.5728 GB, free: 11.19 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003725/0.1385, allocations: 39.91 kB / 0.5728 GB, free: 11.15 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002518/0.141, allocations: 2.134 MB / 0.5749 GB, free: 8.918 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002265/0.1412, allocations: 0.7166 MB / 0.5756 GB, free: 8.172 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001507/0.1414, allocations: 30.53 kB / 0.5756 GB, free: 8.148 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.909e-05/0.1415, allocations: 39.42 kB / 0.5757 GB, free: 8.109 MB / 446.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1415, allocations: 0 / 0.5757 GB, free: 8.109 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3327/0.4741, allocations: 5.68 MB / 0.5812 GB, free: 2.652 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002181/0.4744, allocations: 224.3 kB / 0.5814 GB, free: 2.395 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.487/2.962, allocations: 4 kB / 0.5814 GB, free: 2.391 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/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)