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.001161/0.001161, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001156/0.001156, allocations: 201.7 kB / 16.26 MB, free: 6.617 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.195/1.195, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7273/0.7273, allocations: 132.2 MB / 422.3 MB, free: 1.922 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001132/0.001132, allocations: 60.84 kB / 0.5014 GB, free: 4.098 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.333/0.3341, allocations: 80.2 MB / 0.5797 GB, free: 4.547 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.002749/0.3369, allocations: 2.078 MB / 0.5817 GB, free: 3.094 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001944/0.3389, allocations: 1.642 MB / 0.5833 GB, free: 1.93 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.156e-05/0.3389, allocations: 2.562 kB / 0.5833 GB, free: 1.93 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 5.63e-05/0.339, allocations: 19.06 kB / 0.5833 GB, free: 1.918 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001007/0.3391, allocations: 41.48 kB / 0.5834 GB, free: 1.891 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008852/0.34, allocations: 315.8 kB / 0.5837 GB, free: 1.734 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001905/0.3402, allocations: 218.2 kB / 0.5839 GB, free: 1.629 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001205/0.3403, allocations: 56.53 kB / 0.5839 GB, free: 1.598 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.237e-05/0.3404, allocations: 81.62 kB / 0.584 GB, free: 1.562 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001354/0.3406, allocations: 91.45 kB / 0.5841 GB, free: 1.52 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.969e-05/0.3406, allocations: 18.09 kB / 0.5841 GB, free: 1.52 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007279/0.3413, allocations: 415.2 kB / 0.5845 GB, free: 1.395 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 4.41e-05/0.3414, allocations: 37.25 kB / 0.5845 GB, free: 1.371 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001127/0.3415, allocations: 93.28 kB / 0.5846 GB, free: 1.32 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000689/0.3422, allocations: 432.1 kB / 0.585 GB, free: 1.176 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.671e-06/0.3422, allocations: 0 / 0.585 GB, free: 1.176 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.3422, allocations: 0.9375 kB / 0.5851 GB, free: 1.176 MB / 430.1 MB Notification: Performance of Transformations before backend: time 9.017e-06/0.3423, allocations: 0.6562 kB / 0.5851 GB, free: 1.176 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.0008526/0.3431, allocations: 0.5214 MB / 0.5856 GB, free: 0.707 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.462e-05/0.3432, allocations: 10.27 kB / 0.5856 GB, free: 0.707 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.308e-05/0.3432, allocations: 48.02 kB / 0.5856 GB, free: 0.6602 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006/0.3438, allocations: 97.48 kB / 0.5857 GB, free: 0.6406 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001159/0.344, allocations: 182.3 kB / 0.5859 GB, free: 440 kB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.176e-05/0.3441, allocations: 49.64 kB / 0.5859 GB, free: 400 kB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.469e-05/0.3441, allocations: 17.94 kB / 0.5859 GB, free: 392 kB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000407/0.3445, allocations: 175.9 kB / 0.5861 GB, free: 312 kB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-06/0.3445, allocations: 0 / 0.5861 GB, free: 312 kB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.297e-05/0.3446, allocations: 6.969 kB / 0.5861 GB, free: 308 kB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.065e-06/0.3446, allocations: 7.469 kB / 0.5861 GB, free: 304 kB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004329/0.345, allocations: 186.7 kB / 0.5863 GB, free: 240 kB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001316/0.3463, allocations: 0.9156 MB / 0.5872 GB, free: 15.42 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000503/0.3468, allocations: 162.7 kB / 0.5874 GB, free: 15.36 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001944/0.347, allocations: 87.34 kB / 0.5874 GB, free: 15.31 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006137/0.3477, allocations: 0.5196 MB / 0.5879 GB, free: 14.74 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.59e-05/0.3477, allocations: 32.62 kB / 0.588 GB, free: 14.7 MB / 446.1 MB Notification: Performance of pre-optimization done (n=14): time 1.252e-06/0.3477, allocations: 0 / 0.588 GB, free: 14.7 MB / 446.1 MB Notification: Performance of matching and sorting (n=14): time 0.0006838/0.3484, allocations: 241.7 kB / 0.5882 GB, free: 14.6 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.138e-05/0.3484, allocations: 53.84 kB / 0.5883 GB, free: 14.54 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001435/0.3486, allocations: 156.7 kB / 0.5884 GB, free: 14.42 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.501e-05/0.3486, allocations: 27.02 kB / 0.5884 GB, free: 14.39 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.8e-05/0.3487, allocations: 122 kB / 0.5886 GB, free: 14.27 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.738e-05/0.3488, allocations: 50.86 kB / 0.5886 GB, free: 14.23 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.529e-05/0.3488, allocations: 41.83 kB / 0.5886 GB, free: 14.2 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.698e-05/0.3489, allocations: 326.2 kB / 0.589 GB, free: 13.88 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001998/0.3491, allocations: 84.47 kB / 0.589 GB, free: 13.85 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002071/0.3494, allocations: 92.95 kB / 0.5891 GB, free: 13.8 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003705/0.3497, allocations: 145.3 kB / 0.5893 GB, free: 13.74 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.3497, allocations: 0 / 0.5893 GB, free: 13.74 MB / 446.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004958/0.3502, allocations: 214.6 kB / 0.5895 GB, free: 13.64 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.635e-05/0.3503, allocations: 5.562 kB / 0.5895 GB, free: 13.64 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.3503, allocations: 1.859 kB / 0.5895 GB, free: 13.64 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.208e-05/0.3503, allocations: 1.375 kB / 0.5895 GB, free: 13.64 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002543/0.3506, allocations: 43.77 kB / 0.5895 GB, free: 13.63 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.117e-06/0.3506, allocations: 5.406 kB / 0.5895 GB, free: 13.63 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001798/0.3508, allocations: 24 kB / 0.5895 GB, free: 13.62 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.862e-05/0.3508, allocations: 8.938 kB / 0.5895 GB, free: 13.61 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.0001049/0.3509, allocations: 126.7 kB / 0.5897 GB, free: 13.49 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.494e-05/0.351, allocations: 12.7 kB / 0.5897 GB, free: 13.48 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005033/0.3515, allocations: 201 kB / 0.5899 GB, free: 13.38 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.145e-06/0.3515, allocations: 1.375 kB / 0.5899 GB, free: 13.38 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.069e-06/0.3515, allocations: 0.6094 kB / 0.5899 GB, free: 13.38 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.3515, allocations: 0.6094 kB / 0.5899 GB, free: 13.38 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001368/0.3529, allocations: 0.984 MB / 0.5908 GB, free: 12.48 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.097e-06/0.3529, allocations: 4.75 kB / 0.5908 GB, free: 12.48 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001929/0.3531, allocations: 27.81 kB / 0.5909 GB, free: 12.48 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.306e-06/0.3531, allocations: 5.688 kB / 0.5909 GB, free: 12.47 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.646e-05/0.3531, allocations: 3.188 kB / 0.5909 GB, free: 12.47 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.142e-06/0.3531, allocations: 9.453 kB / 0.5909 GB, free: 12.46 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.3531, allocations: 0.9375 kB / 0.5909 GB, free: 12.46 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004792/0.3536, allocations: 288.2 kB / 0.5912 GB, free: 12.26 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.373e-05/0.3537, allocations: 86.09 kB / 0.5912 GB, free: 12.16 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.626e-05/0.3537, allocations: 6.844 kB / 0.5913 GB, free: 12.16 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002208/0.3539, allocations: 17.14 kB / 0.5913 GB, free: 12.16 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.298e-05/0.354, allocations: 13.06 kB / 0.5913 GB, free: 12.15 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.553e-05/0.354, allocations: 4.531 kB / 0.5913 GB, free: 12.15 MB / 446.1 MB Notification: Performance of sorting global known variables: time 9.097e-05/0.3541, allocations: 125.4 kB / 0.5914 GB, free: 12.06 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.482e-06/0.3541, allocations: 7.938 kB / 0.5914 GB, free: 12.05 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000518/0.3546, allocations: 130 kB / 0.5915 GB, free: 12.02 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.001042/0.3557, allocations: 0.9357 MB / 0.5924 GB, free: 11.25 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004871/0.3562, allocations: 196.5 kB / 0.5926 GB, free: 11.18 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.3562, allocations: 0.875 kB / 0.5926 GB, free: 11.18 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001991/0.3564, allocations: 82.45 kB / 0.5927 GB, free: 11.15 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004104/0.3568, allocations: 50.53 kB / 0.5928 GB, free: 11.13 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002645/0.3595, allocations: 2.091 MB / 0.5948 GB, free: 9.523 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002307/0.3597, allocations: 0.7105 MB / 0.5955 GB, free: 8.824 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001641/0.3599, allocations: 30.14 kB / 0.5955 GB, free: 8.816 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001001/0.36, allocations: 42.5 kB / 0.5956 GB, free: 8.789 MB / 446.1 MB Notification: Performance of SimCode: time 2.1e-07/0.36, allocations: 0 / 0.5956 GB, free: 8.789 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.378/1.738, allocations: 5.885 MB / 0.6013 GB, free: 6.453 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003263/1.738, allocations: 219.3 kB / 0.6015 GB, free: 6.199 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.031/3.77, allocations: 0 / 0.6015 GB, free: 6.199 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)