Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor,fileNamePrefix="IDEAS_dev_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.005295/0.005295, allocations: 102.3 kB / 15.73 MB, free: 5.582 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.001278/0.001279, allocations: 191.2 kB / 16.67 MB, free: 5.52 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.276/1.276, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7754/0.7754, allocations: 135.1 MB / 425.7 MB, free: 4.094 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001456/0.001456, allocations: 63.16 kB / 0.5851 GB, free: 21.79 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1619/0.1634, allocations: 80.93 MB / 0.6642 GB, free: 6.289 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.003359/0.1668, allocations: 2.003 MB / 0.6661 GB, free: 4.277 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002528/0.1693, allocations: 1.663 MB / 0.6677 GB, free: 2.605 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001271/0.1695, allocations: 0 / 0.6677 GB, free: 2.605 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 8.1e-05/0.1696, allocations: 19.8 kB / 0.6678 GB, free: 2.586 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001321/0.1697, allocations: 47.55 kB / 0.6678 GB, free: 2.539 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001152/0.1709, allocations: 358.8 kB / 0.6681 GB, free: 2.188 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002688/0.1712, allocations: 223 kB / 0.6684 GB, free: 1.969 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001678/0.1713, allocations: 68.23 kB / 0.6684 GB, free: 1.898 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001353/0.1715, allocations: 71.84 kB / 0.6685 GB, free: 1.828 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001566/0.1717, allocations: 91.66 kB / 0.6686 GB, free: 1.738 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.371e-05/0.1717, allocations: 20 kB / 0.6686 GB, free: 1.719 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000817/0.1725, allocations: 407.5 kB / 0.669 GB, free: 1.32 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 5.224e-05/0.1726, allocations: 43.89 kB / 0.669 GB, free: 1.277 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 9.524e-05/0.1727, allocations: 87.66 kB / 0.6691 GB, free: 1.191 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.000697/0.1734, allocations: 431.7 kB / 0.6695 GB, free: 0.7695 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.1734, allocations: 0 / 0.6695 GB, free: 0.7695 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.673e-06/0.1734, allocations: 0 / 0.6695 GB, free: 0.7695 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.614e-06/0.1734, allocations: 0 / 0.6695 GB, free: 0.7695 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.0008538/0.1743, allocations: 0.5109 MB / 0.67 GB, free: 212 kB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.65e-05/0.1743, allocations: 13.11 kB / 0.67 GB, free: 200 kB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.268e-05/0.1744, allocations: 50.73 kB / 0.6701 GB, free: 140 kB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005264/0.1749, allocations: 92.66 kB / 0.6702 GB, free: 48 kB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001624/0.1751, allocations: 188 kB / 0.6703 GB, free: 15.82 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.577e-05/0.1752, allocations: 54.25 kB / 0.6704 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.35e-05/0.1752, allocations: 15.94 kB / 0.6704 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004029/0.1756, allocations: 181.9 kB / 0.6706 GB, free: 15.57 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.021e-05/0.1757, allocations: 0 / 0.6706 GB, free: 15.57 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.146e-05/0.1757, allocations: 8 kB / 0.6706 GB, free: 15.56 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.143e-06/0.1757, allocations: 4 kB / 0.6706 GB, free: 15.55 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000425/0.1761, allocations: 183.8 kB / 0.6708 GB, free: 15.38 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001344/0.1775, allocations: 0.9224 MB / 0.6717 GB, free: 14.33 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004718/0.178, allocations: 174.5 kB / 0.6718 GB, free: 14.15 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001807/0.1782, allocations: 72.83 kB / 0.6719 GB, free: 14.07 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006138/0.1788, allocations: 0.5181 MB / 0.6724 GB, free: 13.45 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.596e-05/0.1788, allocations: 38.56 kB / 0.6725 GB, free: 13.4 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=14): time 1.643e-06/0.1788, allocations: 0 / 0.6725 GB, free: 13.4 MB / 0.5137 GB Notification: Performance of matching and sorting (n=14): time 0.0006846/0.1795, allocations: 236.2 kB / 0.6727 GB, free: 13.16 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.307e-05/0.1796, allocations: 51.41 kB / 0.6727 GB, free: 13.1 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001414/0.1797, allocations: 158.5 kB / 0.6729 GB, free: 12.94 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.703e-05/0.1798, allocations: 33.7 kB / 0.6729 GB, free: 12.9 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 7.775e-05/0.1798, allocations: 119.7 kB / 0.673 GB, free: 12.78 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 4.137e-05/0.1799, allocations: 51.28 kB / 0.6731 GB, free: 12.73 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.348e-05/0.18, allocations: 33.7 kB / 0.6731 GB, free: 12.69 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001082/0.1801, allocations: 330.8 kB / 0.6734 GB, free: 12.36 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001899/0.1803, allocations: 71.95 kB / 0.6735 GB, free: 12.29 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001966/0.1805, allocations: 100.1 kB / 0.6736 GB, free: 12.18 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003437/0.1808, allocations: 153.9 kB / 0.6737 GB, free: 12.03 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.486e-06/0.1808, allocations: 0 / 0.6737 GB, free: 12.03 MB / 0.5137 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004694/0.1813, allocations: 219.8 kB / 0.6739 GB, free: 11.81 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.835e-05/0.1813, allocations: 8 kB / 0.674 GB, free: 11.8 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.1814, allocations: 0 / 0.674 GB, free: 11.8 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.41e-05/0.1814, allocations: 0 / 0.674 GB, free: 11.8 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002423/0.1816, allocations: 39.91 kB / 0.674 GB, free: 11.76 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.774e-06/0.1817, allocations: 0 / 0.674 GB, free: 11.76 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001766/0.1818, allocations: 27.83 kB / 0.674 GB, free: 11.73 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.967e-05/0.1819, allocations: 4 kB / 0.674 GB, free: 11.73 MB / 0.5137 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.0001226/0.182, allocations: 129.8 kB / 0.6741 GB, free: 11.59 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.716e-05/0.1821, allocations: 11.91 kB / 0.6742 GB, free: 11.58 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000494/0.1826, allocations: 194.3 kB / 0.6743 GB, free: 11.39 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.899e-06/0.1826, allocations: 4 kB / 0.6743 GB, free: 11.38 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/0.1826, allocations: 3.984 kB / 0.6743 GB, free: 11.38 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.522e-06/0.1826, allocations: 7.984 kB / 0.6744 GB, free: 11.37 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001359/0.184, allocations: 0.9817 MB / 0.6753 GB, free: 10.23 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.945e-06/0.184, allocations: 0 / 0.6753 GB, free: 10.23 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001892/0.1842, allocations: 35.91 kB / 0.6753 GB, free: 10.2 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.607e-06/0.1842, allocations: 4 kB / 0.6754 GB, free: 10.2 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.843e-05/0.1842, allocations: 4 kB / 0.6754 GB, free: 10.19 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.77e-06/0.1842, allocations: 7.938 kB / 0.6754 GB, free: 10.18 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.1842, allocations: 0 / 0.6754 GB, free: 10.18 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000459/0.1847, allocations: 287 kB / 0.6756 GB, free: 9.883 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 5.43e-05/0.1848, allocations: 93 kB / 0.6757 GB, free: 9.773 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.069e-05/0.1848, allocations: 4 kB / 0.6757 GB, free: 9.77 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001972/0.185, allocations: 19.92 kB / 0.6757 GB, free: 9.75 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.717e-05/0.185, allocations: 15.92 kB / 0.6758 GB, free: 9.734 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.647e-05/0.1851, allocations: 4 kB / 0.6758 GB, free: 9.73 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 9.279e-05/0.1852, allocations: 122.9 kB / 0.6759 GB, free: 9.613 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.61e-07/0.1852, allocations: 0 / 0.6759 GB, free: 9.613 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0004859/0.1857, allocations: 131.8 kB / 0.676 GB, free: 9.484 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.001125/0.1868, allocations: 0.9482 MB / 0.6769 GB, free: 8.508 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0004743/0.1873, allocations: 183.8 kB / 0.6771 GB, free: 8.328 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.1873, allocations: 0 / 0.6771 GB, free: 8.328 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001895/0.1875, allocations: 79.91 kB / 0.6772 GB, free: 8.25 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004339/0.1879, allocations: 50.02 kB / 0.6772 GB, free: 8.203 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002741/0.1907, allocations: 2.044 MB / 0.6792 GB, free: 6.055 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003487/0.1911, allocations: 0.7086 MB / 0.6799 GB, free: 5.32 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0001503/0.1912, allocations: 31.73 kB / 0.68 GB, free: 5.293 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001008/0.1913, allocations: 39.42 kB / 0.68 GB, free: 5.254 MB / 0.5137 GB Notification: Performance of SimCode: time 3.21e-07/0.1913, allocations: 0 / 0.68 GB, free: 5.254 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02602/0.2174, allocations: 6.036 MB / 0.6859 GB, free: 15.38 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.69/7.907, allocations: 7.031 kB / 0.6859 GB, free: 15.37 MB / 0.5294 GB (rm -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor.fmu > IDEAS_dev_IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe 2>&1)