Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.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_ZeroInput,fileNamePrefix="IDEAS_IDEAS_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor_ZeroInput",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput,fileNamePrefix="IDEAS_IDEAS_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor_ZeroInput",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.001066/0.001066, 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.001132/0.001132, allocations: 197 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.283/1.283, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7206/0.7206, allocations: 132.2 MB / 422.6 MB, free: 1.785 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001183/0.001183, allocations: 64.22 kB / 0.5019 GB, free: 3.754 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3188/0.32, allocations: 80.19 MB / 0.5802 GB, free: 4.57 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput): time 0.0026/0.3226, allocations: 2.025 MB / 0.5822 GB, free: 3.148 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001881/0.3245, allocations: 1.652 MB / 0.5838 GB, free: 1.98 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.249e-05/0.3246, allocations: 1.812 kB / 0.5838 GB, free: 1.98 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 5.946e-05/0.3246, allocations: 19.39 kB / 0.5838 GB, free: 1.969 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 8.476e-05/0.3247, allocations: 48.3 kB / 0.5838 GB, free: 1.934 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008131/0.3255, allocations: 358.7 kB / 0.5842 GB, free: 1.754 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001879/0.3257, allocations: 221.4 kB / 0.5844 GB, free: 1.645 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001373/0.3259, allocations: 61.98 kB / 0.5845 GB, free: 1.609 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.107e-05/0.326, allocations: 82.09 kB / 0.5845 GB, free: 1.574 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001285/0.3261, allocations: 92.02 kB / 0.5846 GB, free: 1.531 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 3.059e-05/0.3262, allocations: 18.06 kB / 0.5846 GB, free: 1.531 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007057/0.3269, allocations: 397.5 kB / 0.585 GB, free: 1.414 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 3.919e-05/0.3269, allocations: 37.73 kB / 0.5851 GB, free: 1.391 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 7.917e-05/0.327, allocations: 89.83 kB / 0.5851 GB, free: 1.34 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005461/0.3275, allocations: 427.4 kB / 0.5855 GB, free: 1.199 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.715e-06/0.3276, allocations: 0 / 0.5855 GB, free: 1.199 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.3276, allocations: 0 / 0.5855 GB, free: 1.199 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.12e-06/0.3276, allocations: 4 kB / 0.5855 GB, free: 1.195 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.0006841/0.3283, allocations: 0.5166 MB / 0.5861 GB, free: 0.7344 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.538e-05/0.3283, allocations: 8.75 kB / 0.5861 GB, free: 0.7344 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.571e-05/0.3284, allocations: 56.61 kB / 0.5861 GB, free: 0.6797 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005763/0.3289, allocations: 89.67 kB / 0.5862 GB, free: 0.668 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.551e-05/0.329, allocations: 183.4 kB / 0.5864 GB, free: 468 kB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.524e-05/0.3291, allocations: 47.42 kB / 0.5864 GB, free: 428 kB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.781e-05/0.3291, allocations: 18.66 kB / 0.5864 GB, free: 420 kB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003797/0.3295, allocations: 180.2 kB / 0.5866 GB, free: 336 kB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.966e-06/0.3295, allocations: 0 / 0.5866 GB, free: 336 kB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.203e-05/0.3296, allocations: 6.25 kB / 0.5866 GB, free: 332 kB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.554e-06/0.3296, allocations: 3.656 kB / 0.5866 GB, free: 332 kB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004504/0.33, allocations: 183.4 kB / 0.5868 GB, free: 272 kB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001253/0.3313, allocations: 0.9232 MB / 0.5877 GB, free: 15.45 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005071/0.3318, allocations: 167.3 kB / 0.5879 GB, free: 15.38 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002042/0.332, allocations: 78.28 kB / 0.5879 GB, free: 15.34 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006224/0.3327, allocations: 0.5201 MB / 0.5884 GB, free: 14.77 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.983e-05/0.3327, allocations: 37.42 kB / 0.5885 GB, free: 14.73 MB / 446.1 MB Notification: Performance of pre-optimization done (n=14): time 1.282e-06/0.3327, allocations: 0 / 0.5885 GB, free: 14.73 MB / 446.1 MB Notification: Performance of matching and sorting (n=14): time 0.000726/0.3334, allocations: 237.8 kB / 0.5887 GB, free: 14.62 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.593e-05/0.3335, allocations: 53.25 kB / 0.5888 GB, free: 14.56 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001434/0.3336, allocations: 159.9 kB / 0.5889 GB, free: 14.44 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.467e-05/0.3337, allocations: 26.77 kB / 0.5889 GB, free: 14.41 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.244e-05/0.3337, allocations: 122.8 kB / 0.589 GB, free: 14.3 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.339e-05/0.3338, allocations: 49.89 kB / 0.5891 GB, free: 14.26 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.479e-05/0.3339, allocations: 35.02 kB / 0.5891 GB, free: 14.23 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001035/0.334, allocations: 333.4 kB / 0.5894 GB, free: 13.91 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002163/0.3342, allocations: 76.42 kB / 0.5895 GB, free: 13.88 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002336/0.3344, allocations: 96.34 kB / 0.5896 GB, free: 13.83 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004041/0.3349, allocations: 148.3 kB / 0.5898 GB, free: 13.76 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.3349, allocations: 1.281 kB / 0.5898 GB, free: 13.76 MB / 446.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005266/0.3354, allocations: 214.7 kB / 0.59 GB, free: 13.66 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.449e-05/0.3354, allocations: 7.844 kB / 0.59 GB, free: 13.66 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.3354, allocations: 0 / 0.59 GB, free: 13.66 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.3e-05/0.3354, allocations: 3.141 kB / 0.59 GB, free: 13.66 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002423/0.3357, allocations: 38.66 kB / 0.59 GB, free: 13.66 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.641e-06/0.3357, allocations: 2.094 kB / 0.59 GB, free: 13.66 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001826/0.3359, allocations: 27.7 kB / 0.59 GB, free: 13.64 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.916e-05/0.3359, allocations: 9.828 kB / 0.59 GB, free: 13.64 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.0001009/0.336, allocations: 134.1 kB / 0.5902 GB, free: 13.51 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.731e-05/0.3361, allocations: 10.97 kB / 0.5902 GB, free: 13.5 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005237/0.3366, allocations: 193.5 kB / 0.5904 GB, free: 13.41 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.947e-06/0.3366, allocations: 7.391 kB / 0.5904 GB, free: 13.41 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.3366, allocations: 0 / 0.5904 GB, free: 13.41 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.3366, allocations: 0.6094 kB / 0.5904 GB, free: 13.41 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001404/0.3381, allocations: 0.9869 MB / 0.5913 GB, free: 12.5 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.3381, allocations: 1 kB / 0.5913 GB, free: 12.5 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002019/0.3383, allocations: 28.73 kB / 0.5914 GB, free: 12.5 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.985e-06/0.3383, allocations: 1.25 kB / 0.5914 GB, free: 12.5 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.859e-05/0.3383, allocations: 7.172 kB / 0.5914 GB, free: 12.5 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.32e-06/0.3383, allocations: 5.562 kB / 0.5914 GB, free: 12.49 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.3383, allocations: 5.484 kB / 0.5914 GB, free: 12.49 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005031/0.3388, allocations: 286.2 kB / 0.5917 GB, free: 12.29 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.178e-05/0.3389, allocations: 86.09 kB / 0.5917 GB, free: 12.19 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.515e-05/0.3389, allocations: 7.859 kB / 0.5917 GB, free: 12.18 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000223/0.3392, allocations: 20.3 kB / 0.5918 GB, free: 12.18 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.562e-05/0.3392, allocations: 13.5 kB / 0.5918 GB, free: 12.17 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.545e-05/0.3392, allocations: 4.531 kB / 0.5918 GB, free: 12.17 MB / 446.1 MB Notification: Performance of sorting global known variables: time 9.415e-05/0.3393, allocations: 121 kB / 0.5919 GB, free: 12.09 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.3393, allocations: 4.688 kB / 0.5919 GB, free: 12.08 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004374/0.3398, allocations: 126.6 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.001024/0.3408, allocations: 0.9506 MB / 0.593 GB, free: 11.27 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004908/0.3413, allocations: 185.2 kB / 0.5931 GB, free: 11.21 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.3413, allocations: 0.9688 kB / 0.5931 GB, free: 11.21 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002111/0.3415, allocations: 87.41 kB / 0.5932 GB, free: 11.18 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003819/0.3419, allocations: 45.48 kB / 0.5933 GB, free: 11.16 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00271/0.3446, allocations: 2.064 MB / 0.5953 GB, free: 9.594 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002144/0.3449, allocations: 0.7074 MB / 0.596 GB, free: 8.898 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001474/0.345, allocations: 31.11 kB / 0.596 GB, free: 8.891 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.208e-05/0.3451, allocations: 42.47 kB / 0.596 GB, free: 8.863 MB / 446.1 MB Notification: Performance of SimCode: time 2.71e-07/0.3451, allocations: 1.094 kB / 0.596 GB, free: 8.863 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02124/0.3664, allocations: 5.985 MB / 0.6019 GB, free: 6.348 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.065/7.431, allocations: 10.05 kB / 0.6019 GB, free: 6.34 MB / 446.1 MB (rm -f IDEAS_IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput_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_ZeroInput.fmu > IDEAS_IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe 2>&1)