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.001505/0.001505, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001619/0.001619, allocations: 195.2 kB / 16.53 MB, free: 6.664 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.348/1.348, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7249/0.7249, allocations: 132.2 MB / 422.6 MB, free: 1.781 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001243/0.001243, allocations: 60.09 kB / 0.5019 GB, free: 3.801 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3496/0.3509, allocations: 80.2 MB / 0.5802 GB, free: 4.578 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.003132/0.354, allocations: 2.016 MB / 0.5822 GB, free: 3.164 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002102/0.3562, allocations: 1.664 MB / 0.5838 GB, free: 1.984 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001025/0.3563, allocations: 2.125 kB / 0.5838 GB, free: 1.984 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 6.652e-05/0.3564, allocations: 18.88 kB / 0.5838 GB, free: 1.973 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001226/0.3565, allocations: 48.95 kB / 0.5839 GB, free: 1.938 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001086/0.3576, allocations: 358.6 kB / 0.5842 GB, free: 1.758 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002443/0.3578, allocations: 213.4 kB / 0.5844 GB, free: 1.656 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001375/0.358, allocations: 54.23 kB / 0.5845 GB, free: 1.629 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001267/0.3581, allocations: 89.47 kB / 0.5845 GB, free: 1.586 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001682/0.3583, allocations: 91.12 kB / 0.5846 GB, free: 1.543 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 3.815e-05/0.3583, allocations: 18.66 kB / 0.5846 GB, free: 1.543 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00084/0.3592, allocations: 398.2 kB / 0.585 GB, free: 1.426 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 4.112e-05/0.3592, allocations: 36.94 kB / 0.5851 GB, free: 1.402 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 9.081e-05/0.3593, allocations: 90.33 kB / 0.5851 GB, free: 1.352 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006675/0.36, allocations: 426.7 kB / 0.5855 GB, free: 1.211 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.36, allocations: 0 / 0.5855 GB, free: 1.211 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.36, allocations: 5.031 kB / 0.5856 GB, free: 1.207 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.983e-06/0.36, allocations: 0 / 0.5856 GB, free: 1.207 MB / 430.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.0007737/0.3608, allocations: 0.5143 MB / 0.5861 GB, free: 0.7461 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.567e-05/0.3609, allocations: 9.844 kB / 0.5861 GB, free: 0.7461 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.258e-05/0.3609, allocations: 47.14 kB / 0.5861 GB, free: 0.6992 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005946/0.3615, allocations: 94.03 kB / 0.5862 GB, free: 0.6836 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.461e-05/0.3616, allocations: 183.2 kB / 0.5864 GB, free: 484 kB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.919e-05/0.3617, allocations: 49.25 kB / 0.5864 GB, free: 444 kB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.161e-05/0.3617, allocations: 21 kB / 0.5864 GB, free: 432 kB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004042/0.3621, allocations: 188.8 kB / 0.5866 GB, free: 340 kB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.019e-05/0.3622, allocations: 0 / 0.5866 GB, free: 340 kB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.379e-05/0.3622, allocations: 10.17 kB / 0.5866 GB, free: 332 kB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.753e-06/0.3622, allocations: 3.875 kB / 0.5866 GB, free: 332 kB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000463/0.3627, allocations: 179 kB / 0.5868 GB, free: 276 kB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001321/0.364, allocations: 0.9075 MB / 0.5877 GB, free: 15.46 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005204/0.3645, allocations: 179.6 kB / 0.5879 GB, free: 15.38 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002029/0.3647, allocations: 77.91 kB / 0.5879 GB, free: 15.35 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006721/0.3654, allocations: 0.5242 MB / 0.5884 GB, free: 14.77 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.39e-05/0.3655, allocations: 32.92 kB / 0.5885 GB, free: 14.73 MB / 446.1 MB Notification: Performance of pre-optimization done (n=14): time 1.282e-06/0.3655, allocations: 0 / 0.5885 GB, free: 14.73 MB / 446.1 MB Notification: Performance of matching and sorting (n=14): time 0.0007341/0.3662, allocations: 233.5 kB / 0.5887 GB, free: 14.64 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.209e-05/0.3662, allocations: 62.09 kB / 0.5888 GB, free: 14.57 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001494/0.3664, allocations: 155.7 kB / 0.5889 GB, free: 14.45 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.682e-05/0.3664, allocations: 31.55 kB / 0.5889 GB, free: 14.41 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.524e-05/0.3665, allocations: 119.4 kB / 0.5891 GB, free: 14.3 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.241e-05/0.3666, allocations: 49.44 kB / 0.5891 GB, free: 14.27 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.275e-05/0.3667, allocations: 37.72 kB / 0.5891 GB, free: 14.24 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001055/0.3668, allocations: 326 kB / 0.5894 GB, free: 13.92 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002224/0.367, allocations: 79.52 kB / 0.5895 GB, free: 13.89 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002384/0.3672, allocations: 97.45 kB / 0.5896 GB, free: 13.84 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003886/0.3676, allocations: 139.5 kB / 0.5898 GB, free: 13.78 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.3676, allocations: 1.375 kB / 0.5898 GB, free: 13.78 MB / 446.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005331/0.3682, allocations: 218.1 kB / 0.59 GB, free: 13.68 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.311e-05/0.3682, allocations: 5.188 kB / 0.59 GB, free: 13.68 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.3682, allocations: 2.109 kB / 0.59 GB, free: 13.68 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.253e-05/0.3682, allocations: 1.562 kB / 0.59 GB, free: 13.68 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002552/0.3685, allocations: 39.02 kB / 0.59 GB, free: 13.67 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.314e-06/0.3685, allocations: 1.719 kB / 0.59 GB, free: 13.67 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001964/0.3687, allocations: 29.02 kB / 0.59 GB, free: 13.66 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.815e-05/0.3687, allocations: 8.797 kB / 0.59 GB, free: 13.65 MB / 446.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.3689, allocations: 131 kB / 0.5902 GB, free: 13.52 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.935e-05/0.3689, allocations: 11.23 kB / 0.5902 GB, free: 13.52 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005477/0.3695, allocations: 198.1 kB / 0.5904 GB, free: 13.42 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.626e-06/0.3695, allocations: 4.844 kB / 0.5904 GB, free: 13.42 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.3695, allocations: 0 / 0.5904 GB, free: 13.42 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.928e-06/0.3695, allocations: 1.969 kB / 0.5904 GB, free: 13.42 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001494/0.371, allocations: 0.9787 MB / 0.5913 GB, free: 12.52 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.366e-06/0.371, allocations: 1 kB / 0.5913 GB, free: 12.52 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002237/0.3712, allocations: 40.72 kB / 0.5914 GB, free: 12.51 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.108e-06/0.3713, allocations: 1.25 kB / 0.5914 GB, free: 12.51 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.815e-05/0.3713, allocations: 6.438 kB / 0.5914 GB, free: 12.5 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.639e-06/0.3713, allocations: 6.172 kB / 0.5914 GB, free: 12.5 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.3713, allocations: 1.031 kB / 0.5914 GB, free: 12.5 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000522/0.3718, allocations: 289.2 kB / 0.5917 GB, free: 12.3 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.835e-05/0.3719, allocations: 90.36 kB / 0.5917 GB, free: 12.2 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.763e-05/0.3719, allocations: 6.844 kB / 0.5918 GB, free: 12.19 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002295/0.3722, allocations: 23.72 kB / 0.5918 GB, free: 12.18 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.925e-05/0.3722, allocations: 15.27 kB / 0.5918 GB, free: 12.18 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.516e-05/0.3722, allocations: 3.859 kB / 0.5918 GB, free: 12.18 MB / 446.1 MB Notification: Performance of sorting global known variables: time 8.817e-05/0.3723, allocations: 120 kB / 0.5919 GB, free: 12.09 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.443e-06/0.3723, allocations: 1.125 kB / 0.5919 GB, free: 12.09 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004779/0.3728, allocations: 129.7 kB / 0.592 GB, free: 12.05 MB / 446.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.001126/0.374, allocations: 0.944 MB / 0.593 GB, free: 11.28 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0005226/0.3745, allocations: 180.9 kB / 0.5931 GB, free: 11.22 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.3745, allocations: 1.062 kB / 0.5931 GB, free: 11.22 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002191/0.3747, allocations: 89.08 kB / 0.5932 GB, free: 11.19 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003881/0.3751, allocations: 34.19 kB / 0.5932 GB, free: 11.18 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002813/0.378, allocations: 2.056 MB / 0.5953 GB, free: 9.613 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002574/0.3782, allocations: 0.707 MB / 0.5959 GB, free: 8.918 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001859/0.3784, allocations: 37.27 kB / 0.596 GB, free: 8.906 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.687e-05/0.3785, allocations: 41.7 kB / 0.596 GB, free: 8.879 MB / 446.1 MB Notification: Performance of SimCode: time 4.01e-07/0.3785, allocations: 0 / 0.596 GB, free: 8.879 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4554/0.8339, allocations: 5.968 MB / 0.6018 GB, free: 6.379 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.734/8.568, allocations: 9.828 kB / 0.6019 GB, free: 6.375 MB / 446.1 MB (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)