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.001039/0.001039, 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.001071/0.001071, allocations: 194.5 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.26/1.26, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7217/0.7217, allocations: 132.2 MB / 422.6 MB, free: 1.824 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001236/0.001236, allocations: 65 kB / 0.5019 GB, free: 3.781 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3292/0.3305, allocations: 80.19 MB / 0.5802 GB, free: 4.578 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.002799/0.3333, allocations: 2.017 MB / 0.5822 GB, free: 3.164 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00193/0.3353, allocations: 1.664 MB / 0.5838 GB, free: 1.984 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.077e-05/0.3353, allocations: 2.062 kB / 0.5838 GB, free: 1.984 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 5.57e-05/0.3354, allocations: 20.2 kB / 0.5838 GB, free: 1.973 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 8.526e-05/0.3355, allocations: 47.58 kB / 0.5839 GB, free: 1.938 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007973/0.3363, allocations: 359.1 kB / 0.5842 GB, free: 1.758 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001875/0.3365, allocations: 214.1 kB / 0.5844 GB, free: 1.656 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001325/0.3366, allocations: 56.73 kB / 0.5845 GB, free: 1.625 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.593e-05/0.3367, allocations: 85.94 kB / 0.5845 GB, free: 1.586 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001369/0.3369, allocations: 88.38 kB / 0.5846 GB, free: 1.547 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 3.544e-05/0.3369, allocations: 17.56 kB / 0.5846 GB, free: 1.547 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007312/0.3377, allocations: 401.8 kB / 0.585 GB, free: 1.426 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 4.099e-05/0.3377, allocations: 38.34 kB / 0.5851 GB, free: 1.402 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 8.058e-05/0.3378, allocations: 85.8 kB / 0.5851 GB, free: 1.355 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000542/0.3383, allocations: 426.9 kB / 0.5855 GB, free: 1.215 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.916e-06/0.3384, allocations: 0 / 0.5855 GB, free: 1.215 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.022e-06/0.3384, allocations: 4 kB / 0.5856 GB, free: 1.211 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.059e-06/0.3384, allocations: 0.7812 kB / 0.5856 GB, free: 1.211 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.000668/0.3391, allocations: 0.518 MB / 0.5861 GB, free: 0.7461 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.355e-05/0.3391, allocations: 9.656 kB / 0.5861 GB, free: 0.7461 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.508e-05/0.3391, allocations: 51.64 kB / 0.5861 GB, free: 0.6953 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005735/0.3397, allocations: 90.47 kB / 0.5862 GB, free: 0.6836 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.731e-05/0.3398, allocations: 186.2 kB / 0.5864 GB, free: 480 kB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.925e-05/0.3399, allocations: 53.38 kB / 0.5864 GB, free: 436 kB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.78e-05/0.3399, allocations: 21.84 kB / 0.5865 GB, free: 424 kB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000388/0.3403, allocations: 176.3 kB / 0.5866 GB, free: 344 kB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.478e-06/0.3403, allocations: 0 / 0.5866 GB, free: 344 kB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.189e-05/0.3404, allocations: 9.719 kB / 0.5866 GB, free: 336 kB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.131e-06/0.3404, allocations: 4.656 kB / 0.5866 GB, free: 336 kB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004767/0.3408, allocations: 182.6 kB / 0.5868 GB, free: 276 kB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001268/0.3421, allocations: 0.9115 MB / 0.5877 GB, free: 15.46 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005244/0.3427, allocations: 171.4 kB / 0.5879 GB, free: 15.39 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001988/0.3429, allocations: 78.36 kB / 0.5879 GB, free: 15.35 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006159/0.3435, allocations: 0.5246 MB / 0.5884 GB, free: 14.78 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.297e-05/0.3435, allocations: 31.94 kB / 0.5885 GB, free: 14.74 MB / 446.1 MB Notification: Performance of pre-optimization done (n=14): time 1.242e-06/0.3435, allocations: 0 / 0.5885 GB, free: 14.74 MB / 446.1 MB Notification: Performance of matching and sorting (n=14): time 0.0007173/0.3443, allocations: 238 kB / 0.5887 GB, free: 14.64 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.325e-05/0.3443, allocations: 60.41 kB / 0.5888 GB, free: 14.57 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000132/0.3444, allocations: 156.6 kB / 0.5889 GB, free: 14.45 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.155e-05/0.3445, allocations: 28.41 kB / 0.5889 GB, free: 14.42 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.631e-05/0.3445, allocations: 122.2 kB / 0.5891 GB, free: 14.3 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.991e-05/0.3446, allocations: 45.77 kB / 0.5891 GB, free: 14.27 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.179e-05/0.3447, allocations: 38 kB / 0.5891 GB, free: 14.24 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 8.931e-05/0.3448, allocations: 326.1 kB / 0.5894 GB, free: 13.92 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002247/0.345, allocations: 83.61 kB / 0.5895 GB, free: 13.89 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002267/0.3452, allocations: 94.72 kB / 0.5896 GB, free: 13.84 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003982/0.3456, allocations: 139.5 kB / 0.5897 GB, free: 13.78 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-06/0.3456, allocations: 0 / 0.5897 GB, free: 13.78 MB / 446.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005275/0.3462, allocations: 218.5 kB / 0.59 GB, free: 13.68 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.726e-05/0.3462, allocations: 6.234 kB / 0.59 GB, free: 13.68 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.3462, allocations: 0.7812 kB / 0.59 GB, free: 13.68 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.279e-05/0.3462, allocations: 1.281 kB / 0.59 GB, free: 13.68 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002566/0.3465, allocations: 42.77 kB / 0.59 GB, free: 13.67 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.833e-06/0.3465, allocations: 1.875 kB / 0.59 GB, free: 13.67 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000187/0.3467, allocations: 29.75 kB / 0.59 GB, free: 13.66 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.867e-05/0.3467, allocations: 12.33 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 9.897e-05/0.3468, allocations: 126 kB / 0.5902 GB, free: 13.52 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.864e-05/0.3469, allocations: 12.58 kB / 0.5902 GB, free: 13.52 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005294/0.3474, allocations: 203.5 kB / 0.5904 GB, free: 13.42 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.498e-06/0.3474, allocations: 5.375 kB / 0.5904 GB, free: 13.41 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.3475, allocations: 1.375 kB / 0.5904 GB, free: 13.41 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.3475, allocations: 1.312 kB / 0.5904 GB, free: 13.41 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001413/0.3489, allocations: 0.9821 MB / 0.5913 GB, free: 12.51 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.519e-06/0.3489, allocations: 6.031 kB / 0.5913 GB, free: 12.51 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002071/0.3491, allocations: 31.22 kB / 0.5914 GB, free: 12.5 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.847e-06/0.3491, allocations: 2.172 kB / 0.5914 GB, free: 12.5 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.563e-05/0.3491, allocations: 3.219 kB / 0.5914 GB, free: 12.5 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.869e-06/0.3491, allocations: 6.344 kB / 0.5914 GB, free: 12.5 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.3492, allocations: 0 / 0.5914 GB, free: 12.5 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005073/0.3497, allocations: 286.5 kB / 0.5917 GB, free: 12.3 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.305e-05/0.3497, allocations: 85.75 kB / 0.5917 GB, free: 12.2 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.595e-05/0.3498, allocations: 6.547 kB / 0.5917 GB, free: 12.2 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000226/0.35, allocations: 21.27 kB / 0.5918 GB, free: 12.19 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.316e-05/0.35, allocations: 18.12 kB / 0.5918 GB, free: 12.18 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.63e-05/0.3501, allocations: 4.781 kB / 0.5918 GB, free: 12.18 MB / 446.1 MB Notification: Performance of sorting global known variables: time 8.665e-05/0.3502, allocations: 120 kB / 0.5919 GB, free: 12.09 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3502, allocations: 3.938 kB / 0.5919 GB, free: 12.09 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004959/0.3507, allocations: 126.1 kB / 0.592 GB, free: 12.06 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.001062/0.3517, allocations: 0.9442 MB / 0.593 GB, free: 11.29 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0005214/0.3523, allocations: 181.5 kB / 0.5931 GB, free: 11.22 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.3523, allocations: 0 / 0.5931 GB, free: 11.22 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002251/0.3525, allocations: 86.59 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.0003946/0.3529, allocations: 37.83 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.002684/0.3556, allocations: 2.065 MB / 0.5953 GB, free: 9.605 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002211/0.3558, allocations: 0.7069 MB / 0.596 GB, free: 8.91 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001538/0.356, allocations: 31.09 kB / 0.596 GB, free: 8.902 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.524e-05/0.3561, allocations: 43.86 kB / 0.596 GB, free: 8.875 MB / 446.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3561, allocations: 0 / 0.596 GB, free: 8.875 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02075/0.3769, allocations: 5.973 MB / 0.6019 GB, free: 6.355 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.04/7.416, allocations: 6.875 kB / 0.6019 GB, free: 6.352 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 & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.04 IDEAS_IDEAS_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor.fmu > IDEAS_IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe 2>&1)