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.007152/0.007152, allocations: 102.7 kB / 15.74 MB, free: 6.5 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.001681/0.001681, allocations: 199 kB / 16.68 MB, free: 6.375 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.344/1.344, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7621/0.7621, allocations: 132.2 MB / 422.7 MB, free: 1.711 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001356/0.001356, allocations: 67.89 kB / 0.5809 GB, free: 8.062 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4121/0.4135, allocations: 80.21 MB / 0.6592 GB, free: 10.03 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput): time 0.003435/0.417, allocations: 2.004 MB / 0.6611 GB, free: 8.629 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002398/0.4194, allocations: 1.676 MB / 0.6628 GB, free: 7.438 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001356/0.4196, allocations: 1.156 kB / 0.6628 GB, free: 7.438 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 8.518e-05/0.4197, allocations: 21.19 kB / 0.6628 GB, free: 7.426 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001432/0.4198, allocations: 47.8 kB / 0.6628 GB, free: 7.391 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00152/0.4214, allocations: 358.7 kB / 0.6632 GB, free: 7.211 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0003396/0.4217, allocations: 219.7 kB / 0.6634 GB, free: 7.105 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001666/0.4219, allocations: 48.81 kB / 0.6634 GB, free: 7.078 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001087/0.422, allocations: 88.25 kB / 0.6635 GB, free: 7.031 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001414/0.4221, allocations: 81.25 kB / 0.6636 GB, free: 6.98 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.175e-05/0.4222, allocations: 22.28 kB / 0.6636 GB, free: 6.977 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008192/0.423, allocations: 416.3 kB / 0.664 GB, free: 6.77 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.569e-05/0.4231, allocations: 40.97 kB / 0.6641 GB, free: 6.734 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 7.568e-05/0.4231, allocations: 85.78 kB / 0.6641 GB, free: 6.68 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.000503/0.4236, allocations: 433.5 kB / 0.6646 GB, free: 6.422 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.4237, allocations: 0 / 0.6646 GB, free: 6.422 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.433e-06/0.4237, allocations: 0 / 0.6646 GB, free: 6.422 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.312e-06/0.4237, allocations: 5.266 kB / 0.6646 GB, free: 6.418 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.0006476/0.4243, allocations: 0.5172 MB / 0.6651 GB, free: 5.926 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.473e-05/0.4244, allocations: 9.75 kB / 0.6651 GB, free: 5.926 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.096e-05/0.4244, allocations: 53.08 kB / 0.6651 GB, free: 5.871 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005092/0.4249, allocations: 89.86 kB / 0.6652 GB, free: 5.832 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.964e-05/0.425, allocations: 185.3 kB / 0.6654 GB, free: 5.617 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.557e-05/0.4251, allocations: 49.77 kB / 0.6654 GB, free: 5.574 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.848e-05/0.4251, allocations: 18.66 kB / 0.6655 GB, free: 5.566 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003536/0.4255, allocations: 185.5 kB / 0.6656 GB, free: 5.445 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.358e-06/0.4255, allocations: 0 / 0.6656 GB, free: 5.445 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.015e-05/0.4255, allocations: 5.156 kB / 0.6656 GB, free: 5.441 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.713e-06/0.4255, allocations: 4.281 kB / 0.6656 GB, free: 5.441 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004122/0.426, allocations: 183.2 kB / 0.6658 GB, free: 5.355 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001121/0.4271, allocations: 0.9199 MB / 0.6667 GB, free: 4.438 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004662/0.4276, allocations: 171.6 kB / 0.6669 GB, free: 4.34 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001752/0.4277, allocations: 80.53 kB / 0.667 GB, free: 4.293 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004693/0.4282, allocations: 0.5201 MB / 0.6675 GB, free: 3.699 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.629e-05/0.4283, allocations: 41.22 kB / 0.6675 GB, free: 3.652 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=14): time 1.242e-06/0.4283, allocations: 0 / 0.6675 GB, free: 3.652 MB / 0.4981 GB Notification: Performance of matching and sorting (n=14): time 0.0006398/0.4289, allocations: 239.5 kB / 0.6677 GB, free: 3.52 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.888e-05/0.4289, allocations: 56.91 kB / 0.6678 GB, free: 3.453 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001078/0.429, allocations: 160 kB / 0.6679 GB, free: 3.324 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.866e-05/0.4291, allocations: 30.92 kB / 0.668 GB, free: 3.289 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.483e-05/0.4291, allocations: 121.2 kB / 0.6681 GB, free: 3.172 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.85e-05/0.4292, allocations: 49.89 kB / 0.6681 GB, free: 3.129 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.962e-05/0.4292, allocations: 33.95 kB / 0.6682 GB, free: 3.102 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.935e-05/0.4293, allocations: 330.7 kB / 0.6685 GB, free: 2.773 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001844/0.4295, allocations: 72.67 kB / 0.6686 GB, free: 2.738 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000195/0.4297, allocations: 101.3 kB / 0.6686 GB, free: 2.676 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003356/0.43, allocations: 148.9 kB / 0.6688 GB, free: 2.59 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.43, allocations: 1.062 kB / 0.6688 GB, free: 2.59 MB / 0.4981 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004534/0.4305, allocations: 213.7 kB / 0.669 GB, free: 2.473 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.505e-05/0.4305, allocations: 6.031 kB / 0.669 GB, free: 2.473 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.4305, allocations: 0 / 0.669 GB, free: 2.473 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.408e-05/0.4305, allocations: 2.125 kB / 0.669 GB, free: 2.473 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002286/0.4308, allocations: 43.31 kB / 0.669 GB, free: 2.457 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.929e-06/0.4308, allocations: 1.281 kB / 0.669 GB, free: 2.457 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001623/0.431, allocations: 24.92 kB / 0.6691 GB, free: 2.441 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.712e-05/0.431, allocations: 8.312 kB / 0.6691 GB, free: 2.438 MB / 0.4981 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 7.792e-05/0.4311, allocations: 133.2 kB / 0.6692 GB, free: 2.305 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.181e-05/0.4311, allocations: 10.55 kB / 0.6692 GB, free: 2.301 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004618/0.4316, allocations: 194.2 kB / 0.6694 GB, free: 2.176 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.587e-06/0.4316, allocations: 1.062 kB / 0.6694 GB, free: 2.176 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.4316, allocations: 5.094 kB / 0.6694 GB, free: 2.172 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.4316, allocations: 0 / 0.6694 GB, free: 2.172 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00112/0.4327, allocations: 0.9887 MB / 0.6704 GB, free: 1.176 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.4327, allocations: 1.25 kB / 0.6704 GB, free: 1.176 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001824/0.4329, allocations: 29.95 kB / 0.6704 GB, free: 1.168 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.4329, allocations: 1.031 kB / 0.6704 GB, free: 1.168 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.824e-05/0.433, allocations: 10.73 kB / 0.6704 GB, free: 1.16 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.433, allocations: 5.344 kB / 0.6704 GB, free: 1.156 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.433, allocations: 4 kB / 0.6704 GB, free: 1.152 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004132/0.4334, allocations: 290.7 kB / 0.6707 GB, free: 0.9258 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.623e-05/0.4334, allocations: 84.75 kB / 0.6708 GB, free: 0.8281 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.128e-05/0.4335, allocations: 6.5 kB / 0.6708 GB, free: 0.8242 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002023/0.4337, allocations: 19.16 kB / 0.6708 GB, free: 0.8125 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.071e-05/0.4337, allocations: 17.39 kB / 0.6708 GB, free: 0.8008 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.519e-05/0.4337, allocations: 5.125 kB / 0.6708 GB, free: 0.8008 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.817e-05/0.4338, allocations: 120.5 kB / 0.6709 GB, free: 0.707 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4338, allocations: 0 / 0.6709 GB, free: 0.707 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000445/0.4343, allocations: 133.7 kB / 0.6711 GB, free: 0.6641 MB / 0.4981 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.0009523/0.4352, allocations: 0.9476 MB / 0.672 GB, free: 15.85 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0004771/0.4357, allocations: 176.8 kB / 0.6722 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.4357, allocations: 0 / 0.6722 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.000208/0.4359, allocations: 85.08 kB / 0.6722 GB, free: 15.73 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004166/0.4364, allocations: 40.77 kB / 0.6723 GB, free: 15.71 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00276/0.4391, allocations: 2.076 MB / 0.6743 GB, free: 14.02 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003243/0.4395, allocations: 0.7056 MB / 0.675 GB, free: 13.31 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0001343/0.4396, allocations: 33.72 kB / 0.675 GB, free: 13.3 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.471e-05/0.4397, allocations: 42.7 kB / 0.6751 GB, free: 13.27 MB / 0.5137 GB Notification: Performance of SimCode: time 3.5e-07/0.4397, allocations: 0 / 0.6751 GB, free: 13.27 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02296/0.4627, allocations: 6.054 MB / 0.681 GB, free: 10.25 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.411/7.874, allocations: 11.17 kB / 0.681 GB, free: 10.25 MB / 0.5137 GB (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)