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.007679/0.007679, allocations: 105.8 kB / 15.74 MB, free: 5.992 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.001666/0.001666, allocations: 195.8 kB / 16.67 MB, free: 5.914 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.327/1.327, 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.7746/0.7746, allocations: 135.1 MB / 425.7 MB, free: 4.066 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001416/0.001416, allocations: 67.41 kB / 0.5851 GB, free: 21.81 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1531/0.1545, allocations: 80.92 MB / 0.6642 GB, free: 6.273 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.003243/0.1578, allocations: 2.003 MB / 0.6661 GB, free: 4.262 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002457/0.1603, allocations: 1.66 MB / 0.6677 GB, free: 2.594 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001034/0.1604, allocations: 4 kB / 0.6677 GB, free: 2.59 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 7.729e-05/0.1605, allocations: 19.78 kB / 0.6678 GB, free: 2.57 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001394/0.1606, allocations: 51.55 kB / 0.6678 GB, free: 2.52 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001355/0.162, allocations: 362.8 kB / 0.6682 GB, free: 2.164 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0003542/0.1624, allocations: 223 kB / 0.6684 GB, free: 1.945 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001849/0.1626, allocations: 60.2 kB / 0.6684 GB, free: 1.883 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000173/0.1628, allocations: 75.84 kB / 0.6685 GB, free: 1.809 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001926/0.163, allocations: 91.66 kB / 0.6686 GB, free: 1.719 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.765e-05/0.163, allocations: 20 kB / 0.6686 GB, free: 1.699 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000924/0.1639, allocations: 411.5 kB / 0.669 GB, free: 1.297 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 5.813e-05/0.164, allocations: 39.89 kB / 0.669 GB, free: 1.258 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.000106/0.1641, allocations: 87.66 kB / 0.6691 GB, free: 1.172 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0008043/0.1649, allocations: 419.8 kB / 0.6695 GB, free: 0.7617 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.389e-06/0.1649, allocations: 4 kB / 0.6695 GB, free: 0.7578 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.744e-06/0.165, allocations: 0 / 0.6695 GB, free: 0.7578 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.183e-05/0.165, allocations: 0 / 0.6695 GB, free: 0.7578 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.001094/0.1661, allocations: 0.5226 MB / 0.67 GB, free: 188 kB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.895e-05/0.1661, allocations: 9.109 kB / 0.67 GB, free: 180 kB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.362e-05/0.1662, allocations: 46.73 kB / 0.6701 GB, free: 124 kB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006321/0.1669, allocations: 96.64 kB / 0.6702 GB, free: 28 kB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001809/0.167, allocations: 180.2 kB / 0.6703 GB, free: 15.81 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.72e-05/0.1672, allocations: 46.25 kB / 0.6704 GB, free: 15.76 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.158e-05/0.1672, allocations: 27.86 kB / 0.6704 GB, free: 15.73 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004437/0.1677, allocations: 193.9 kB / 0.6706 GB, free: 15.54 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.016e-05/0.1677, allocations: 0 / 0.6706 GB, free: 15.54 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.351e-05/0.1677, allocations: 4 kB / 0.6706 GB, free: 15.54 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.114e-06/0.1677, allocations: 4 kB / 0.6706 GB, free: 15.53 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000461/0.1682, allocations: 175.9 kB / 0.6708 GB, free: 15.36 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001532/0.1697, allocations: 0.9223 MB / 0.6717 GB, free: 14.31 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005143/0.1703, allocations: 170.6 kB / 0.6718 GB, free: 14.14 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002067/0.1705, allocations: 80.81 kB / 0.6719 GB, free: 14.05 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006865/0.1712, allocations: 0.5181 MB / 0.6724 GB, free: 13.43 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.241e-05/0.1712, allocations: 38.5 kB / 0.6725 GB, free: 13.38 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=14): time 1.803e-06/0.1712, allocations: 0 / 0.6725 GB, free: 13.38 MB / 0.5137 GB Notification: Performance of matching and sorting (n=14): time 0.0007335/0.172, allocations: 229.4 kB / 0.6727 GB, free: 13.15 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.324e-05/0.172, allocations: 55.39 kB / 0.6727 GB, free: 13.08 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001508/0.1722, allocations: 157.5 kB / 0.6729 GB, free: 12.92 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.498e-05/0.1722, allocations: 29.7 kB / 0.6729 GB, free: 12.89 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 7.917e-05/0.1723, allocations: 123.8 kB / 0.673 GB, free: 12.76 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 4.523e-05/0.1724, allocations: 51.28 kB / 0.6731 GB, free: 12.71 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.18e-05/0.1724, allocations: 37.7 kB / 0.6731 GB, free: 12.67 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001227/0.1726, allocations: 330.7 kB / 0.6734 GB, free: 12.34 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002038/0.1728, allocations: 71.95 kB / 0.6735 GB, free: 12.27 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002499/0.173, allocations: 108 kB / 0.6736 GB, free: 12.16 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000381/0.1734, allocations: 145.9 kB / 0.6737 GB, free: 12.01 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.1734, allocations: 0 / 0.6737 GB, free: 12.01 MB / 0.5137 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005129/0.174, allocations: 215.8 kB / 0.6739 GB, free: 11.79 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.612e-05/0.174, allocations: 13.91 kB / 0.674 GB, free: 11.78 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.122e-06/0.174, allocations: 3.938 kB / 0.674 GB, free: 11.78 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.712e-05/0.174, allocations: 0 / 0.674 GB, free: 11.78 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000249/0.1743, allocations: 35.97 kB / 0.674 GB, free: 11.74 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.819e-06/0.1743, allocations: 4 kB / 0.674 GB, free: 11.74 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001875/0.1745, allocations: 23.83 kB / 0.674 GB, free: 11.71 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.912e-05/0.1745, allocations: 4 kB / 0.674 GB, free: 11.71 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.0001105/0.1746, allocations: 129.7 kB / 0.6742 GB, free: 11.57 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.567e-05/0.1747, allocations: 15.91 kB / 0.6742 GB, free: 11.56 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005286/0.1752, allocations: 197.8 kB / 0.6744 GB, free: 11.36 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.156e-06/0.1752, allocations: 4 kB / 0.6744 GB, free: 11.36 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.1753, allocations: 3.938 kB / 0.6744 GB, free: 11.36 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/0.1753, allocations: 4 kB / 0.6744 GB, free: 11.35 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001509/0.1768, allocations: 0.974 MB / 0.6753 GB, free: 10.22 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.899e-06/0.1768, allocations: 0 / 0.6753 GB, free: 10.22 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002172/0.177, allocations: 39.92 kB / 0.6754 GB, free: 10.18 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.582e-06/0.177, allocations: 0 / 0.6754 GB, free: 10.18 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.027e-05/0.1771, allocations: 3.984 kB / 0.6754 GB, free: 10.18 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.178e-06/0.1771, allocations: 7.938 kB / 0.6754 GB, free: 10.17 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.1771, allocations: 0 / 0.6754 GB, free: 10.17 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000513/0.1776, allocations: 293 kB / 0.6756 GB, free: 9.863 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 5.321e-05/0.1777, allocations: 85.02 kB / 0.6757 GB, free: 9.762 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.524e-05/0.1777, allocations: 8 kB / 0.6757 GB, free: 9.754 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002197/0.1779, allocations: 19.91 kB / 0.6758 GB, free: 9.734 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.694e-05/0.178, allocations: 11.97 kB / 0.6758 GB, free: 9.723 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.747e-05/0.178, allocations: 12 kB / 0.6758 GB, free: 9.711 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001008/0.1781, allocations: 119.2 kB / 0.6759 GB, free: 9.594 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.5e-07/0.1781, allocations: 0 / 0.6759 GB, free: 9.594 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0005033/0.1786, allocations: 127.8 kB / 0.676 GB, free: 9.469 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.001164/0.1798, allocations: 0.9454 MB / 0.6769 GB, free: 8.492 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0004845/0.1803, allocations: 179.8 kB / 0.6771 GB, free: 8.316 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.1803, allocations: 0 / 0.6771 GB, free: 8.316 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0002111/0.1805, allocations: 83.89 kB / 0.6772 GB, free: 8.234 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004403/0.181, allocations: 48.09 kB / 0.6772 GB, free: 8.188 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002896/0.1839, allocations: 2.055 MB / 0.6792 GB, free: 6.027 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002797/0.1842, allocations: 0.7047 MB / 0.6799 GB, free: 5.297 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0001438/0.1843, allocations: 32.78 kB / 0.68 GB, free: 5.27 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001053/0.1844, allocations: 43.42 kB / 0.68 GB, free: 5.227 MB / 0.5137 GB Notification: Performance of SimCode: time 6.61e-07/0.1845, allocations: 0 / 0.68 GB, free: 5.227 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02382/0.2083, allocations: 6.09 MB / 0.6859 GB, free: 15.3 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.881/8.09, allocations: 7.375 kB / 0.686 GB, free: 15.29 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)