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: translateModel(IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor") translateModel(IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007458/0.007458, allocations: 101.5 kB / 15.73 MB, free: 6.039 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.00181/0.00181, allocations: 194.2 kB / 16.68 MB, free: 5.957 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.337/1.337, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7855/0.7855, allocations: 135.1 MB / 425.7 MB, free: 4.078 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00118/0.00118, allocations: 62.66 kB / 0.5856 GB, free: 21.56 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1645/0.1657, allocations: 80.92 MB / 0.6646 GB, free: 5.758 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.003351/0.1692, allocations: 2.007 MB / 0.6666 GB, free: 3.742 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002267/0.1714, allocations: 1.66 MB / 0.6682 GB, free: 2.074 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.924e-05/0.1715, allocations: 4 kB / 0.6682 GB, free: 2.07 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 5.723e-05/0.1716, allocations: 19.78 kB / 0.6682 GB, free: 2.051 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001045/0.1717, allocations: 55.55 kB / 0.6683 GB, free: 1.996 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000885/0.1726, allocations: 362.7 kB / 0.6686 GB, free: 1.641 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002176/0.1728, allocations: 215.1 kB / 0.6688 GB, free: 1.43 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001533/0.173, allocations: 65.3 kB / 0.6689 GB, free: 1.359 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 9.754e-05/0.1731, allocations: 75.83 kB / 0.669 GB, free: 1.285 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001491/0.1732, allocations: 91.67 kB / 0.6691 GB, free: 1.195 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.917e-05/0.1733, allocations: 16 kB / 0.6691 GB, free: 1.18 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007002/0.174, allocations: 411.5 kB / 0.6695 GB, free: 0.7773 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.36e-05/0.174, allocations: 43.89 kB / 0.6695 GB, free: 0.7344 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 8.421e-05/0.1741, allocations: 87.66 kB / 0.6696 GB, free: 0.6484 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0005715/0.1747, allocations: 430.9 kB / 0.67 GB, free: 232 kB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.1747, allocations: 0 / 0.67 GB, free: 232 kB / 0.4981 GB Notification: Performance of FrontEnd: time 1.843e-06/0.1747, allocations: 0 / 0.67 GB, free: 232 kB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.294e-05/0.1747, allocations: 0 / 0.67 GB, free: 232 kB / 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.0009486/0.1757, allocations: 0.5108 MB / 0.6705 GB, free: 15.66 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.174e-05/0.1758, allocations: 17.09 kB / 0.6705 GB, free: 15.65 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005976/0.1764, allocations: 88.59 kB / 0.6706 GB, free: 15.56 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001784/0.1765, allocations: 180.2 kB / 0.6708 GB, free: 15.35 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001/0.1767, allocations: 54.25 kB / 0.6708 GB, free: 15.29 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.194e-05/0.1767, allocations: 16.12 kB / 0.6709 GB, free: 15.27 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004526/0.1772, allocations: 181.9 kB / 0.671 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.252e-05/0.1772, allocations: 0 / 0.671 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.719e-05/0.1772, allocations: 11.98 kB / 0.671 GB, free: 15.08 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.897e-06/0.1772, allocations: 4 kB / 0.671 GB, free: 15.07 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004489/0.1777, allocations: 183.9 kB / 0.6712 GB, free: 14.89 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001416/0.1791, allocations: 0.9223 MB / 0.6721 GB, free: 13.85 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004711/0.1796, allocations: 166.6 kB / 0.6723 GB, free: 13.68 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001822/0.1798, allocations: 80.77 kB / 0.6724 GB, free: 13.59 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006753/0.1805, allocations: 0.5181 MB / 0.6729 GB, free: 12.96 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.777e-05/0.1805, allocations: 38.56 kB / 0.6729 GB, free: 12.92 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=14): time 3.156e-06/0.1805, allocations: 0 / 0.6729 GB, free: 12.92 MB / 0.5137 GB Notification: Performance of matching and sorting (n=14): time 0.0006485/0.1812, allocations: 233.7 kB / 0.6731 GB, free: 12.68 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.502e-05/0.1812, allocations: 51.41 kB / 0.6732 GB, free: 12.62 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001427/0.1814, allocations: 169.6 kB / 0.6733 GB, free: 12.45 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.265e-05/0.1814, allocations: 25.7 kB / 0.6734 GB, free: 12.42 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 8.086e-05/0.1815, allocations: 119.8 kB / 0.6735 GB, free: 12.3 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.982e-05/0.1815, allocations: 51.28 kB / 0.6735 GB, free: 12.25 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.911e-05/0.1816, allocations: 33.7 kB / 0.6735 GB, free: 12.21 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001314/0.1817, allocations: 330.8 kB / 0.6739 GB, free: 11.88 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000183/0.1819, allocations: 71.95 kB / 0.6739 GB, free: 11.8 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001955/0.1821, allocations: 97.67 kB / 0.674 GB, free: 11.7 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003482/0.1825, allocations: 160 kB / 0.6742 GB, free: 11.54 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.1825, allocations: 3.938 kB / 0.6742 GB, free: 11.54 MB / 0.5137 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000442/0.1829, allocations: 211.6 kB / 0.6744 GB, free: 11.33 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.56e-05/0.183, allocations: 8 kB / 0.6744 GB, free: 11.32 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.601e-06/0.183, allocations: 0 / 0.6744 GB, free: 11.32 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.384e-05/0.183, allocations: 0 / 0.6744 GB, free: 11.32 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002321/0.1832, allocations: 39.97 kB / 0.6744 GB, free: 11.28 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.504e-06/0.1832, allocations: 4 kB / 0.6744 GB, free: 11.28 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001542/0.1834, allocations: 19.83 kB / 0.6745 GB, free: 11.26 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.742e-05/0.1834, allocations: 8 kB / 0.6745 GB, free: 11.25 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.0001009/0.1835, allocations: 131 kB / 0.6746 GB, free: 11.11 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.373e-05/0.1836, allocations: 15.89 kB / 0.6746 GB, free: 11.1 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004575/0.184, allocations: 189.1 kB / 0.6748 GB, free: 10.91 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.898e-06/0.1841, allocations: 4 kB / 0.6748 GB, free: 10.91 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.091e-06/0.1841, allocations: 4 kB / 0.6748 GB, free: 10.9 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/0.1841, allocations: 3.984 kB / 0.6748 GB, free: 10.9 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001258/0.1853, allocations: 0.9894 MB / 0.6758 GB, free: 9.754 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.1854, allocations: 0 / 0.6758 GB, free: 9.754 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001838/0.1855, allocations: 27.97 kB / 0.6758 GB, free: 9.727 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/0.1856, allocations: 4 kB / 0.6758 GB, free: 9.723 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.699e-05/0.1856, allocations: 4 kB / 0.6758 GB, free: 9.719 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.468e-06/0.1856, allocations: 7.938 kB / 0.6758 GB, free: 9.711 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.1856, allocations: 0 / 0.6758 GB, free: 9.711 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004404/0.186, allocations: 289 kB / 0.6761 GB, free: 9.406 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.813e-05/0.1861, allocations: 89.02 kB / 0.6762 GB, free: 9.301 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.04e-05/0.1861, allocations: 7.984 kB / 0.6762 GB, free: 9.293 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001941/0.1863, allocations: 19.92 kB / 0.6762 GB, free: 9.273 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.454e-05/0.1864, allocations: 11.98 kB / 0.6762 GB, free: 9.262 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.471e-05/0.1864, allocations: 7.938 kB / 0.6762 GB, free: 9.254 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 7.852e-05/0.1865, allocations: 119.2 kB / 0.6763 GB, free: 9.137 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.41e-07/0.1865, allocations: 0 / 0.6763 GB, free: 9.137 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0004285/0.1869, allocations: 127.9 kB / 0.6764 GB, free: 9.012 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.0003924/0.1873, allocations: 234.9 kB / 0.6767 GB, free: 8.773 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0004444/0.1878, allocations: 171.8 kB / 0.6768 GB, free: 8.605 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 5.821e-06/0.1878, allocations: 8.062 kB / 0.6768 GB, free: 8.598 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001873/0.188, allocations: 83.89 kB / 0.6769 GB, free: 8.516 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003587/0.1883, allocations: 41.67 kB / 0.677 GB, free: 8.477 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006625/0.189, allocations: 316.7 kB / 0.6773 GB, free: 8.133 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002674/0.1893, allocations: 0.7086 MB / 0.678 GB, free: 7.398 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.000117/0.1894, allocations: 28.44 kB / 0.678 GB, free: 7.375 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.526e-05/0.1895, allocations: 23.42 kB / 0.678 GB, free: 7.352 MB / 0.5137 GB Notification: Performance of SimCode: time 2.1e-07/0.1895, allocations: 4 kB / 0.678 GB, free: 7.348 MB / 0.5137 GB Notification: Performance of Templates: time 0.007592/0.1971, allocations: 4.276 MB / 0.6822 GB, free: 3.117 MB / 0.5137 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.makefile (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 & ./IDEAS_dev_IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe 2>&1)