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.001214/0.001214, allocations: 100.1 kB / 15.88 MB, free: 12 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.001209/0.001209, allocations: 205.1 kB / 16.79 MB, free: 6.84 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.204/1.204, allocations: 222.9 MB / 240.5 MB, free: 4.602 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.618/0.618, allocations: 115.3 MB / 406 MB, free: 2.812 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001155/0.001155, allocations: 60.25 kB / 493 MB, free: 6.766 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1177/0.1189, allocations: 76.19 MB / 0.5558 GB, free: 10.78 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.003215/0.1222, allocations: 2.061 MB / 0.5579 GB, free: 8.703 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002422/0.1246, allocations: 1.734 MB / 0.5596 GB, free: 6.961 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.476e-05/0.1247, allocations: 4 kB / 0.5596 GB, free: 6.957 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 6.521e-05/0.1248, allocations: 15.84 kB / 0.5596 GB, free: 6.941 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001064/0.1249, allocations: 39.69 kB / 0.5596 GB, free: 6.902 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009887/0.1259, allocations: 299.2 kB / 0.5599 GB, free: 6.609 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002767/0.1262, allocations: 203.2 kB / 0.5601 GB, free: 6.41 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001321/0.1263, allocations: 45.45 kB / 0.5601 GB, free: 6.363 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001342/0.1265, allocations: 83.69 kB / 0.5602 GB, free: 6.281 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001686/0.1266, allocations: 79.69 kB / 0.5603 GB, free: 6.203 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 3.121e-05/0.1267, allocations: 16 kB / 0.5603 GB, free: 6.188 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008446/0.1275, allocations: 391.5 kB / 0.5607 GB, free: 5.805 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 5.16e-05/0.1276, allocations: 35.89 kB / 0.5607 GB, free: 5.77 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001157/0.1277, allocations: 79.66 kB / 0.5608 GB, free: 5.691 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007405/0.1285, allocations: 419.2 kB / 0.5612 GB, free: 5.281 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.091e-06/0.1285, allocations: 4 kB / 0.5612 GB, free: 5.277 MB / 430.1 MB Notification: Performance of FrontEnd: time 8.92e-07/0.1285, allocations: 0 / 0.5612 GB, free: 5.277 MB / 430.1 MB Notification: Performance of Transformations before backend: time 8.516e-06/0.1285, allocations: 4 kB / 0.5612 GB, free: 5.273 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.0009294/0.1295, allocations: 0.5147 MB / 0.5617 GB, free: 4.703 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.915e-05/0.1295, allocations: 8.031 kB / 0.5617 GB, free: 4.695 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.795e-05/0.1296, allocations: 54.67 kB / 0.5618 GB, free: 4.633 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005644/0.1301, allocations: 92.64 kB / 0.5618 GB, free: 4.543 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001247/0.1303, allocations: 176.2 kB / 0.562 GB, free: 4.332 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.676e-05/0.1303, allocations: 54.25 kB / 0.5621 GB, free: 4.273 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.886e-05/0.1304, allocations: 16.38 kB / 0.5621 GB, free: 4.258 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004071/0.1308, allocations: 185.9 kB / 0.5623 GB, free: 4.07 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.454e-06/0.1308, allocations: 0 / 0.5623 GB, free: 4.07 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.341e-05/0.1308, allocations: 4 kB / 0.5623 GB, free: 4.066 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.336e-06/0.1309, allocations: 7.984 kB / 0.5623 GB, free: 4.059 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004265/0.1313, allocations: 175.9 kB / 0.5624 GB, free: 3.887 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001423/0.1327, allocations: 0.9265 MB / 0.5633 GB, free: 2.836 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000467/0.1332, allocations: 177.6 kB / 0.5635 GB, free: 2.656 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001767/0.1334, allocations: 80.77 kB / 0.5636 GB, free: 2.574 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006067/0.134, allocations: 0.5142 MB / 0.5641 GB, free: 1.949 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.48e-05/0.134, allocations: 38.56 kB / 0.5641 GB, free: 1.902 MB / 430.1 MB Notification: Performance of pre-optimization done (n=14): time 1.112e-06/0.134, allocations: 0 / 0.5641 GB, free: 1.902 MB / 430.1 MB Notification: Performance of matching and sorting (n=14): time 0.0006629/0.1347, allocations: 233.3 kB / 0.5643 GB, free: 1.668 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.919e-05/0.1347, allocations: 55.41 kB / 0.5644 GB, free: 1.602 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001308/0.1349, allocations: 159 kB / 0.5646 GB, free: 1.438 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.567e-05/0.1349, allocations: 37.7 kB / 0.5646 GB, free: 1.395 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.948e-05/0.135, allocations: 111.8 kB / 0.5647 GB, free: 1.281 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.932e-05/0.135, allocations: 55.33 kB / 0.5647 GB, free: 1.227 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.994e-05/0.1351, allocations: 37.7 kB / 0.5648 GB, free: 1.184 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001001/0.1352, allocations: 322.8 kB / 0.5651 GB, free: 0.8594 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001938/0.1354, allocations: 67.97 kB / 0.5652 GB, free: 0.793 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002/0.1356, allocations: 97.66 kB / 0.5653 GB, free: 0.6914 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003547/0.136, allocations: 159.3 kB / 0.5654 GB, free: 0.5312 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.136, allocations: 0 / 0.5654 GB, free: 0.5312 MB / 430.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004779/0.1365, allocations: 217.4 kB / 0.5656 GB, free: 320 kB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.393e-05/0.1365, allocations: 4 kB / 0.5656 GB, free: 316 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.1365, allocations: 0 / 0.5656 GB, free: 316 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.106e-05/0.1365, allocations: 4 kB / 0.5656 GB, free: 312 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002319/0.1368, allocations: 35.97 kB / 0.5657 GB, free: 276 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.57e-06/0.1368, allocations: 0 / 0.5657 GB, free: 276 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001717/0.137, allocations: 27.77 kB / 0.5657 GB, free: 248 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.803e-05/0.137, allocations: 7.984 kB / 0.5657 GB, free: 240 kB / 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 (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.0001057/0.1371, allocations: 133.7 kB / 0.5658 GB, free: 96 kB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.509e-05/0.1371, allocations: 15.81 kB / 0.5658 GB, free: 80 kB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004909/0.1376, allocations: 190.4 kB / 0.566 GB, free: 15.89 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.395e-06/0.1377, allocations: 0 / 0.566 GB, free: 15.89 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.1377, allocations: 4 kB / 0.566 GB, free: 15.88 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.145e-06/0.1377, allocations: 0 / 0.566 GB, free: 15.88 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001337/0.139, allocations: 0.985 MB / 0.567 GB, free: 14.75 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.917e-06/0.139, allocations: 4 kB / 0.567 GB, free: 14.74 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001935/0.1392, allocations: 31.97 kB / 0.567 GB, free: 14.71 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.1392, allocations: 0 / 0.567 GB, free: 14.71 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.74e-05/0.1393, allocations: 8 kB / 0.567 GB, free: 14.7 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.1393, allocations: 0 / 0.567 GB, free: 14.7 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/0.1393, allocations: 4 kB / 0.567 GB, free: 14.7 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004582/0.1397, allocations: 300 kB / 0.5673 GB, free: 14.39 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.296e-05/0.1398, allocations: 92.86 kB / 0.5674 GB, free: 14.28 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.167e-05/0.1398, allocations: 0 / 0.5674 GB, free: 14.28 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00021/0.1401, allocations: 15.98 kB / 0.5674 GB, free: 14.26 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.677e-05/0.1401, allocations: 19.92 kB / 0.5674 GB, free: 14.24 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.657e-05/0.1401, allocations: 15.92 kB / 0.5674 GB, free: 14.23 MB / 446.1 MB Notification: Performance of sorting global known variables: time 7.346e-05/0.1402, allocations: 114.9 kB / 0.5676 GB, free: 14.12 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.293e-06/0.1402, allocations: 0 / 0.5676 GB, free: 14.12 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004119/0.1406, allocations: 135.8 kB / 0.5677 GB, free: 13.98 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.001004/0.1416, allocations: 0.9287 MB / 0.5686 GB, free: 13.02 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004299/0.1421, allocations: 181.9 kB / 0.5688 GB, free: 12.85 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.073e-06/0.1421, allocations: 0 / 0.5688 GB, free: 12.85 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001891/0.1423, allocations: 79.91 kB / 0.5688 GB, free: 12.77 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003861/0.1427, allocations: 48.09 kB / 0.5689 GB, free: 12.72 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002506/0.1452, allocations: 2.092 MB / 0.5709 GB, free: 10.54 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002399/0.1454, allocations: 0.7128 MB / 0.5716 GB, free: 9.793 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001501/0.1456, allocations: 31.89 kB / 0.5717 GB, free: 9.77 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.345e-05/0.1457, allocations: 47.41 kB / 0.5717 GB, free: 9.723 MB / 446.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1457, allocations: 0 / 0.5717 GB, free: 9.723 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2304/0.3761, allocations: 5.748 MB / 0.5773 GB, free: 4.152 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00022/0.3763, allocations: 220.8 kB / 0.5775 GB, free: 3.898 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.164/2.54, allocations: 4.062 kB / 0.5775 GB, free: 3.895 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)