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.008289/0.008289, allocations: 98.12 kB / 15.73 MB, free: 6.004 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.001964/0.001964, allocations: 195 kB / 16.67 MB, free: 5.934 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.361/1.361, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7317/0.7317, allocations: 132.2 MB / 422.7 MB, free: 1.703 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001245/0.001245, allocations: 67.89 kB / 0.5809 GB, free: 8.043 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4327/0.434, allocations: 80.21 MB / 0.6592 GB, free: 9.852 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput): time 0.002709/0.4367, allocations: 2.005 MB / 0.6611 GB, free: 8.449 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001972/0.4387, allocations: 1.671 MB / 0.6628 GB, free: 7.262 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.39e-05/0.4388, allocations: 2.438 kB / 0.6628 GB, free: 7.262 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 5.986e-05/0.4388, allocations: 19.11 kB / 0.6628 GB, free: 7.25 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 9.303e-05/0.4389, allocations: 48.83 kB / 0.6628 GB, free: 7.215 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008424/0.4398, allocations: 358.5 kB / 0.6632 GB, free: 7.035 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001899/0.44, allocations: 220.1 kB / 0.6634 GB, free: 6.93 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001362/0.4401, allocations: 54.67 kB / 0.6635 GB, free: 6.898 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 9.74e-05/0.4402, allocations: 81.14 kB / 0.6635 GB, free: 6.863 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001548/0.4404, allocations: 84.22 kB / 0.6636 GB, free: 6.828 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.308e-05/0.4404, allocations: 17.31 kB / 0.6636 GB, free: 6.828 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007088/0.4411, allocations: 420.4 kB / 0.664 GB, free: 6.645 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.558e-05/0.4412, allocations: 41.06 kB / 0.6641 GB, free: 6.609 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 7.772e-05/0.4413, allocations: 89.39 kB / 0.6642 GB, free: 6.551 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0005201/0.4418, allocations: 433.5 kB / 0.6646 GB, free: 6.293 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.197e-06/0.4418, allocations: 0 / 0.6646 GB, free: 6.293 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.463e-06/0.4418, allocations: 1.062 kB / 0.6646 GB, free: 6.293 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.673e-06/0.4418, allocations: 0 / 0.6646 GB, free: 6.293 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.0007148/0.4426, allocations: 0.5253 MB / 0.6651 GB, free: 5.793 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.82e-05/0.4426, allocations: 10.19 kB / 0.6651 GB, free: 5.793 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.072e-05/0.4426, allocations: 48.45 kB / 0.6651 GB, free: 5.742 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005464/0.4432, allocations: 91.16 kB / 0.6652 GB, free: 5.703 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.974e-05/0.4433, allocations: 180.1 kB / 0.6654 GB, free: 5.492 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.795e-05/0.4434, allocations: 46.38 kB / 0.6654 GB, free: 5.453 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.342e-05/0.4434, allocations: 25.62 kB / 0.6655 GB, free: 5.438 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000372/0.4438, allocations: 181.7 kB / 0.6656 GB, free: 5.32 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.091e-05/0.4438, allocations: 0 / 0.6656 GB, free: 5.32 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.274e-05/0.4438, allocations: 10.28 kB / 0.6656 GB, free: 5.312 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/0.4438, allocations: 3.062 kB / 0.6656 GB, free: 5.312 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004186/0.4443, allocations: 178.9 kB / 0.6658 GB, free: 5.23 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001047/0.4453, allocations: 0.9207 MB / 0.6667 GB, free: 4.312 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004735/0.4458, allocations: 173.5 kB / 0.6669 GB, free: 4.215 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000186/0.446, allocations: 77.17 kB / 0.667 GB, free: 4.172 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004962/0.4465, allocations: 0.5216 MB / 0.6675 GB, free: 3.578 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.409e-05/0.4465, allocations: 30.56 kB / 0.6675 GB, free: 3.539 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=14): time 1.242e-06/0.4465, allocations: 0 / 0.6675 GB, free: 3.539 MB / 0.4981 GB Notification: Performance of matching and sorting (n=14): time 0.0006814/0.4472, allocations: 251.7 kB / 0.6677 GB, free: 3.395 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.529e-05/0.4473, allocations: 53.44 kB / 0.6678 GB, free: 3.332 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001221/0.4474, allocations: 159.8 kB / 0.6679 GB, free: 3.203 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.981e-05/0.4474, allocations: 30.77 kB / 0.668 GB, free: 3.168 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.565e-05/0.4475, allocations: 121.4 kB / 0.6681 GB, free: 3.051 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.235e-05/0.4475, allocations: 46.3 kB / 0.6681 GB, free: 3.012 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.547e-05/0.4476, allocations: 37.83 kB / 0.6682 GB, free: 2.98 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 6.178e-05/0.4476, allocations: 330.4 kB / 0.6685 GB, free: 2.652 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001946/0.4478, allocations: 76.17 kB / 0.6686 GB, free: 2.613 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002091/0.4481, allocations: 95.75 kB / 0.6686 GB, free: 2.555 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003698/0.4484, allocations: 152 kB / 0.6688 GB, free: 2.469 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.876e-06/0.4484, allocations: 0 / 0.6688 GB, free: 2.469 MB / 0.4981 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004571/0.4489, allocations: 207.7 kB / 0.669 GB, free: 2.355 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.389e-05/0.4489, allocations: 6.312 kB / 0.669 GB, free: 2.355 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.498e-06/0.4489, allocations: 0 / 0.669 GB, free: 2.355 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.429e-05/0.449, allocations: 1.188 kB / 0.669 GB, free: 2.355 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002388/0.4492, allocations: 44.81 kB / 0.669 GB, free: 2.34 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-06/0.4492, allocations: 4.938 kB / 0.669 GB, free: 2.336 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001681/0.4494, allocations: 25.11 kB / 0.6691 GB, free: 2.32 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.534e-05/0.4494, allocations: 3.875 kB / 0.6691 GB, free: 2.32 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.962e-05/0.4495, allocations: 133 kB / 0.6692 GB, free: 2.188 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.427e-05/0.4495, allocations: 15.09 kB / 0.6692 GB, free: 2.18 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004736/0.45, allocations: 197 kB / 0.6694 GB, free: 2.051 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/0.45, allocations: 1.344 kB / 0.6694 GB, free: 2.051 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.45, allocations: 0 / 0.6694 GB, free: 2.051 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.4501, allocations: 3.984 kB / 0.6694 GB, free: 2.047 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001113/0.4512, allocations: 0.9822 MB / 0.6704 GB, free: 1.055 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.4512, allocations: 1.5 kB / 0.6704 GB, free: 1.055 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001922/0.4514, allocations: 33.06 kB / 0.6704 GB, free: 1.043 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.4514, allocations: 4.875 kB / 0.6704 GB, free: 1.039 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.382e-05/0.4514, allocations: 6.562 kB / 0.6704 GB, free: 1.035 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/0.4514, allocations: 5.406 kB / 0.6704 GB, free: 1.031 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.4514, allocations: 1.438 kB / 0.6704 GB, free: 1.031 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004332/0.4519, allocations: 290.4 kB / 0.6707 GB, free: 0.8047 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.871e-05/0.4519, allocations: 88.97 kB / 0.6708 GB, free: 0.7031 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.44e-05/0.4519, allocations: 9.453 kB / 0.6708 GB, free: 0.6953 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002129/0.4522, allocations: 16.11 kB / 0.6708 GB, free: 0.6875 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.714e-05/0.4522, allocations: 12.67 kB / 0.6708 GB, free: 0.6797 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.453e-05/0.4522, allocations: 4.688 kB / 0.6708 GB, free: 0.6797 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.127e-05/0.4523, allocations: 120.5 kB / 0.6709 GB, free: 0.5859 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.21e-07/0.4523, allocations: 0 / 0.6709 GB, free: 0.5859 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004362/0.4527, allocations: 134.1 kB / 0.6711 GB, free: 0.543 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.0009387/0.4537, allocations: 0.9548 MB / 0.672 GB, free: 15.72 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0004729/0.4542, allocations: 181.4 kB / 0.6722 GB, free: 15.64 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.4542, allocations: 0 / 0.6722 GB, free: 15.64 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001988/0.4544, allocations: 80.34 kB / 0.6722 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004001/0.4548, allocations: 48.25 kB / 0.6723 GB, free: 15.58 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002659/0.4575, allocations: 2.071 MB / 0.6743 GB, free: 13.89 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002326/0.4577, allocations: 0.7051 MB / 0.675 GB, free: 13.19 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0001474/0.4579, allocations: 27.73 kB / 0.675 GB, free: 13.18 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.658e-05/0.458, allocations: 48.81 kB / 0.6751 GB, free: 13.14 MB / 0.5137 GB Notification: Performance of SimCode: time 2.2e-07/0.458, allocations: 0 / 0.6751 GB, free: 13.14 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0204/0.4784, allocations: 6.045 MB / 0.681 GB, free: 10.13 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.408/7.886, allocations: 7.609 kB / 0.681 GB, free: 10.13 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)