Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor,fileNamePrefix="IDEAS_IDEAS_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor,fileNamePrefix="IDEAS_IDEAS_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.00708/0.00708, allocations: 100.1 kB / 15.73 MB, free: 6.008 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.001546/0.001546, allocations: 193.8 kB / 16.67 MB, free: 5.93 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.362/1.362, allocations: 222.9 MB / 240.4 MB, free: 15.11 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7994/0.7994, allocations: 132.2 MB / 422.7 MB, free: 6.605 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001528/0.001528, allocations: 66.62 kB / 0.5809 GB, free: 24.03 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1522/0.1537, allocations: 80.21 MB / 0.6592 GB, free: 10.73 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.00329/0.157, allocations: 2.013 MB / 0.6612 GB, free: 8.711 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002391/0.1594, allocations: 1.667 MB / 0.6628 GB, free: 7.035 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.633e-05/0.1596, allocations: 4 kB / 0.6628 GB, free: 7.031 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 7.154e-05/0.1596, allocations: 15.84 kB / 0.6628 GB, free: 7.016 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001237/0.1598, allocations: 51.55 kB / 0.6629 GB, free: 6.965 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001089/0.1609, allocations: 358.8 kB / 0.6632 GB, free: 6.613 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002452/0.1611, allocations: 223 kB / 0.6634 GB, free: 6.395 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001372/0.1613, allocations: 48.3 kB / 0.6635 GB, free: 6.344 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001153/0.1614, allocations: 83.81 kB / 0.6635 GB, free: 6.262 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000157/0.1616, allocations: 83.69 kB / 0.6636 GB, free: 6.18 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.149e-05/0.1616, allocations: 20 kB / 0.6636 GB, free: 6.16 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007692/0.1624, allocations: 415.5 kB / 0.664 GB, free: 5.754 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.724e-05/0.1624, allocations: 43.91 kB / 0.6641 GB, free: 5.711 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 8.28e-05/0.1625, allocations: 87.59 kB / 0.6642 GB, free: 5.625 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0006199/0.1632, allocations: 427.7 kB / 0.6646 GB, free: 5.207 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.1632, allocations: 0 / 0.6646 GB, free: 5.207 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.272e-06/0.1632, allocations: 0 / 0.6646 GB, free: 5.207 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.145e-06/0.1632, allocations: 0 / 0.6646 GB, free: 5.207 MB / 0.4981 GB 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.000842/0.164, allocations: 0.5186 MB / 0.6651 GB, free: 4.637 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.153e-05/0.1641, allocations: 8.031 kB / 0.6651 GB, free: 4.629 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.816e-05/0.1641, allocations: 54.73 kB / 0.6651 GB, free: 4.566 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005318/0.1647, allocations: 84.73 kB / 0.6652 GB, free: 4.484 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001366/0.1648, allocations: 184.1 kB / 0.6654 GB, free: 4.266 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.206e-05/0.1649, allocations: 46.27 kB / 0.6654 GB, free: 4.215 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.92e-05/0.165, allocations: 23.88 kB / 0.6654 GB, free: 4.191 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003919/0.1654, allocations: 186 kB / 0.6656 GB, free: 4.004 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.858e-06/0.1654, allocations: 0 / 0.6656 GB, free: 4.004 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.152e-05/0.1654, allocations: 4 kB / 0.6656 GB, free: 4 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.927e-06/0.1654, allocations: 7.984 kB / 0.6656 GB, free: 3.992 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004261/0.1658, allocations: 184.4 kB / 0.6658 GB, free: 3.812 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001321/0.1672, allocations: 0.9109 MB / 0.6667 GB, free: 2.777 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004549/0.1676, allocations: 170.5 kB / 0.6669 GB, free: 2.602 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001858/0.1678, allocations: 80.81 kB / 0.6669 GB, free: 2.52 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006165/0.1685, allocations: 0.522 MB / 0.6675 GB, free: 1.887 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.57e-05/0.1685, allocations: 38.56 kB / 0.6675 GB, free: 1.84 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=14): time 1.423e-06/0.1685, allocations: 0 / 0.6675 GB, free: 1.84 MB / 0.4981 GB Notification: Performance of matching and sorting (n=14): time 0.0006724/0.1692, allocations: 233.4 kB / 0.6677 GB, free: 1.605 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.614e-05/0.1692, allocations: 55.41 kB / 0.6678 GB, free: 1.539 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000144/0.1694, allocations: 154.5 kB / 0.6679 GB, free: 1.379 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.357e-05/0.1694, allocations: 29.7 kB / 0.6679 GB, free: 1.344 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.863e-05/0.1695, allocations: 115.8 kB / 0.6681 GB, free: 1.227 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.955e-05/0.1695, allocations: 51.3 kB / 0.6681 GB, free: 1.176 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.828e-05/0.1696, allocations: 37.7 kB / 0.6681 GB, free: 1.133 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001111/0.1697, allocations: 330.7 kB / 0.6685 GB, free: 0.8008 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001878/0.1699, allocations: 75.95 kB / 0.6685 GB, free: 0.7266 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002036/0.1702, allocations: 95.17 kB / 0.6686 GB, free: 0.6289 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003407/0.1705, allocations: 152.3 kB / 0.6688 GB, free: 488 kB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.1705, allocations: 0 / 0.6688 GB, free: 488 kB / 0.4981 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004831/0.171, allocations: 221.3 kB / 0.669 GB, free: 260 kB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.583e-05/0.171, allocations: 7.938 kB / 0.669 GB, free: 252 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.04e-06/0.171, allocations: 3.938 kB / 0.669 GB, free: 248 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.535e-05/0.1711, allocations: 4 kB / 0.669 GB, free: 244 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002418/0.1713, allocations: 43.94 kB / 0.669 GB, free: 200 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.211e-06/0.1713, allocations: 0 / 0.669 GB, free: 200 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000166/0.1715, allocations: 23.83 kB / 0.6691 GB, free: 176 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.73e-05/0.1715, allocations: 4 kB / 0.6691 GB, free: 172 kB / 0.4981 GB 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.000107/0.1716, allocations: 126.7 kB / 0.6692 GB, free: 36 kB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.564e-05/0.1717, allocations: 15.81 kB / 0.6692 GB, free: 20 kB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005105/0.1722, allocations: 201.7 kB / 0.6694 GB, free: 15.81 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.366e-06/0.1722, allocations: 0 / 0.6694 GB, free: 15.81 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.541e-06/0.1722, allocations: 4 kB / 0.6694 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.1722, allocations: 0 / 0.6694 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001341/0.1736, allocations: 0.9816 MB / 0.6703 GB, free: 14.67 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.1736, allocations: 0 / 0.6703 GB, free: 14.67 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001858/0.1738, allocations: 31.92 kB / 0.6704 GB, free: 14.64 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.547e-06/0.1738, allocations: 4.062 kB / 0.6704 GB, free: 14.64 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.184e-05/0.1738, allocations: 11.98 kB / 0.6704 GB, free: 14.62 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/0.1738, allocations: 7.875 kB / 0.6704 GB, free: 14.62 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.1738, allocations: 0 / 0.6704 GB, free: 14.62 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004729/0.1743, allocations: 285.1 kB / 0.6707 GB, free: 14.32 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.681e-05/0.1744, allocations: 89.02 kB / 0.6708 GB, free: 14.21 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.85e-05/0.1744, allocations: 0 / 0.6708 GB, free: 14.21 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002022/0.1746, allocations: 23.91 kB / 0.6708 GB, free: 14.19 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.312e-05/0.1747, allocations: 7.984 kB / 0.6708 GB, free: 14.18 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.565e-05/0.1747, allocations: 4 kB / 0.6708 GB, free: 14.18 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 8.549e-05/0.1748, allocations: 127.5 kB / 0.6709 GB, free: 14.05 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.61e-07/0.1748, allocations: 0 / 0.6709 GB, free: 14.05 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0004358/0.1752, allocations: 139.8 kB / 0.671 GB, free: 13.92 MB / 0.5137 GB 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.001072/0.1763, allocations: 0.9363 MB / 0.672 GB, free: 12.95 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.000459/0.1768, allocations: 179.9 kB / 0.6721 GB, free: 12.77 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.1768, allocations: 0 / 0.6721 GB, free: 12.77 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001896/0.177, allocations: 83.89 kB / 0.6722 GB, free: 12.69 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004122/0.1774, allocations: 50.33 kB / 0.6723 GB, free: 12.64 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002652/0.1801, allocations: 2.053 MB / 0.6743 GB, free: 10.5 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002692/0.1803, allocations: 0.7086 MB / 0.675 GB, free: 9.762 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0001351/0.1805, allocations: 32.78 kB / 0.675 GB, free: 9.734 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001071/0.1806, allocations: 43.42 kB / 0.675 GB, free: 9.691 MB / 0.5137 GB Notification: Performance of SimCode: time 4.41e-07/0.1806, allocations: 0 / 0.675 GB, free: 9.691 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02536/0.206, allocations: 6.024 MB / 0.6809 GB, free: 3.848 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.464/7.67, allocations: 11.97 kB / 0.6809 GB, free: 3.844 MB / 0.5137 GB (rm -f IDEAS_IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor.fmu > IDEAS_IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe 2>&1)