Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.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_ZeroInput,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor_ZeroInput",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor_ZeroInput",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.001143/0.001143, allocations: 106.2 kB / 16.4 MB, free: 6.492 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.001183/0.001183, allocations: 197.2 kB / 17.34 MB, free: 5.766 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.335/1.335, 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.7025/0.7025, allocations: 115.3 MB / 406.5 MB, free: 6.16 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001215/0.001215, allocations: 66.95 kB / 0.5572 GB, free: 32.54 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1527/0.1539, allocations: 76.18 MB / 0.6316 GB, free: 4.898 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput): time 0.003342/0.1573, allocations: 1.984 MB / 0.6335 GB, free: 2.898 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.002279/0.1596, allocations: 1.675 MB / 0.6352 GB, free: 1.215 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.923e-05/0.1597, allocations: 0 / 0.6352 GB, free: 1.215 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 6.556e-05/0.1598, allocations: 19.8 kB / 0.6352 GB, free: 1.195 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 9.801e-05/0.1599, allocations: 47.55 kB / 0.6352 GB, free: 1.148 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009442/0.1608, allocations: 354.8 kB / 0.6356 GB, free: 0.8008 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002314/0.1611, allocations: 227.1 kB / 0.6358 GB, free: 0.5781 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000157/0.1612, allocations: 47.61 kB / 0.6358 GB, free: 0.5312 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001082/0.1614, allocations: 79.84 kB / 0.6359 GB, free: 464 kB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001522/0.1615, allocations: 91.66 kB / 0.636 GB, free: 372 kB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 3.041e-05/0.1616, allocations: 20 kB / 0.636 GB, free: 352 kB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007293/0.1623, allocations: 415.5 kB / 0.6364 GB, free: 15.94 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.003e-05/0.1623, allocations: 39.91 kB / 0.6364 GB, free: 15.9 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 7.867e-05/0.1624, allocations: 83.66 kB / 0.6365 GB, free: 15.82 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005307/0.163, allocations: 430.6 kB / 0.6369 GB, free: 15.4 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.163, allocations: 0 / 0.6369 GB, free: 15.4 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.163, allocations: 0 / 0.6369 GB, free: 15.4 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.081e-06/0.163, allocations: 0 / 0.6369 GB, free: 15.4 MB / 494.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.000808/0.1638, allocations: 0.5148 MB / 0.6374 GB, free: 14.83 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.881e-05/0.1639, allocations: 8.031 kB / 0.6374 GB, free: 14.82 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.234e-05/0.1639, allocations: 54.73 kB / 0.6375 GB, free: 14.76 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005651/0.1645, allocations: 96.58 kB / 0.6376 GB, free: 14.66 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001441/0.1646, allocations: 184.1 kB / 0.6378 GB, free: 14.45 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.83e-05/0.1647, allocations: 50.25 kB / 0.6378 GB, free: 14.39 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.792e-05/0.1648, allocations: 16.38 kB / 0.6378 GB, free: 14.38 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003955/0.1652, allocations: 182.5 kB / 0.638 GB, free: 14.19 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.016e-05/0.1652, allocations: 4 kB / 0.638 GB, free: 14.19 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.559e-05/0.1652, allocations: 12 kB / 0.638 GB, free: 14.18 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.725e-06/0.1652, allocations: 3.984 kB / 0.638 GB, free: 14.17 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004442/0.1657, allocations: 180.3 kB / 0.6382 GB, free: 14 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001349/0.167, allocations: 0.915 MB / 0.6391 GB, free: 12.96 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004822/0.1675, allocations: 166.6 kB / 0.6392 GB, free: 12.79 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001944/0.1677, allocations: 76.83 kB / 0.6393 GB, free: 12.71 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006613/0.1684, allocations: 0.522 MB / 0.6398 GB, free: 12.07 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.523e-05/0.1685, allocations: 34.56 kB / 0.6399 GB, free: 12.03 MB / 494.1 MB Notification: Performance of pre-optimization done (n=14): time 1.573e-06/0.1685, allocations: 0 / 0.6399 GB, free: 12.03 MB / 494.1 MB Notification: Performance of matching and sorting (n=14): time 0.0007092/0.1692, allocations: 244.7 kB / 0.6401 GB, free: 11.79 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.536e-05/0.1692, allocations: 55.41 kB / 0.6401 GB, free: 11.72 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001414/0.1694, allocations: 156.7 kB / 0.6403 GB, free: 11.56 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.532e-05/0.1694, allocations: 33.7 kB / 0.6403 GB, free: 11.52 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.054e-05/0.1695, allocations: 111.8 kB / 0.6404 GB, free: 11.41 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.128e-05/0.1695, allocations: 51.3 kB / 0.6405 GB, free: 11.36 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.914e-05/0.1696, allocations: 41.69 kB / 0.6405 GB, free: 11.31 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001166/0.1697, allocations: 326.8 kB / 0.6408 GB, free: 10.98 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001936/0.1699, allocations: 67.97 kB / 0.6409 GB, free: 10.92 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002188/0.1702, allocations: 93.66 kB / 0.641 GB, free: 10.82 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003747/0.1706, allocations: 155.6 kB / 0.6411 GB, free: 10.66 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.1706, allocations: 0 / 0.6411 GB, free: 10.66 MB / 494.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004976/0.1711, allocations: 218.2 kB / 0.6413 GB, free: 10.45 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.938e-05/0.1711, allocations: 4 kB / 0.6414 GB, free: 10.44 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.703e-06/0.1711, allocations: 0 / 0.6414 GB, free: 10.44 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.769e-05/0.1711, allocations: 4 kB / 0.6414 GB, free: 10.44 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002556/0.1714, allocations: 40 kB / 0.6414 GB, free: 10.4 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.853e-06/0.1714, allocations: 0 / 0.6414 GB, free: 10.4 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001774/0.1716, allocations: 23.83 kB / 0.6414 GB, free: 10.38 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.886e-05/0.1716, allocations: 7.984 kB / 0.6414 GB, free: 10.37 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: 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.0001106/0.1717, allocations: 129.7 kB / 0.6415 GB, free: 10.23 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.54e-05/0.1718, allocations: 19.75 kB / 0.6416 GB, free: 10.21 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005205/0.1723, allocations: 198.4 kB / 0.6418 GB, free: 10 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.476e-06/0.1723, allocations: 0 / 0.6418 GB, free: 10 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.1723, allocations: 3.938 kB / 0.6418 GB, free: 10 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.1723, allocations: 0 / 0.6418 GB, free: 10 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0014/0.1737, allocations: 0.9778 MB / 0.6427 GB, free: 8.867 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.396e-06/0.1738, allocations: 8 kB / 0.6427 GB, free: 8.859 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001935/0.174, allocations: 27.97 kB / 0.6427 GB, free: 8.832 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.174, allocations: 0 / 0.6427 GB, free: 8.832 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.596e-05/0.174, allocations: 12.06 kB / 0.6428 GB, free: 8.82 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.174, allocations: 0 / 0.6428 GB, free: 8.82 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.174, allocations: 4 kB / 0.6428 GB, free: 8.816 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005017/0.1745, allocations: 296.9 kB / 0.643 GB, free: 8.504 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.554e-05/0.1746, allocations: 96.84 kB / 0.6431 GB, free: 8.391 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.843e-05/0.1746, allocations: 0 / 0.6431 GB, free: 8.391 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002106/0.1748, allocations: 15.98 kB / 0.6432 GB, free: 8.375 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.982e-05/0.1749, allocations: 15.92 kB / 0.6432 GB, free: 8.359 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.969e-05/0.1749, allocations: 15.97 kB / 0.6432 GB, free: 8.344 MB / 494.1 MB Notification: Performance of sorting global known variables: time 8.198e-05/0.175, allocations: 117.8 kB / 0.6433 GB, free: 8.23 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.175, allocations: 0 / 0.6433 GB, free: 8.23 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0004326/0.1754, allocations: 131.8 kB / 0.6434 GB, free: 8.102 MB / 494.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.00108/0.1765, allocations: 0.9305 MB / 0.6443 GB, free: 7.141 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0004858/0.177, allocations: 183.8 kB / 0.6445 GB, free: 6.961 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.594e-06/0.177, allocations: 0 / 0.6445 GB, free: 6.961 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002069/0.1772, allocations: 80.02 kB / 0.6446 GB, free: 6.883 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004055/0.1777, allocations: 57.14 kB / 0.6446 GB, free: 6.832 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002809/0.1805, allocations: 2.085 MB / 0.6467 GB, free: 4.645 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002679/0.1808, allocations: 0.7124 MB / 0.6474 GB, free: 3.906 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0001326/0.1809, allocations: 29.42 kB / 0.6474 GB, free: 3.883 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001018/0.181, allocations: 47.36 kB / 0.6474 GB, free: 3.836 MB / 494.1 MB Notification: Performance of SimCode: time 3.71e-07/0.181, allocations: 0 / 0.6474 GB, free: 3.836 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02481/0.2058, allocations: 6.109 MB / 0.6534 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.64/7.846, allocations: 5.938 kB / 0.6534 GB, free: 13.91 MB / 0.4981 GB (rm -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor_ZeroInput_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor_ZeroInput.fmu > IBPSA_latest_IBPSA.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe 2>&1)