Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001178/0.001178, allocations: 101.5 kB / 18.95 MB, free: 1.184 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001668/0.001668, allocations: 209.2 kB / 22.24 MB, free: 3.59 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.959/0.959, allocations: 230.6 MB / 256 MB, free: 9.605 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7729/0.7729, allocations: 203.8 MB / 0.5042 GB, free: 10.45 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor_ZeroInput",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor_ZeroInput",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0009341/0.0009341, allocations: 74.66 kB / 0.7182 GB, free: 4.031 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5501/0.551, allocations: 102 MB / 0.8178 GB, free: 1.051 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput): time 0.002473/0.5535, allocations: 1.976 MB / 0.8197 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.00199/0.5555, allocations: 1.517 MB / 0.8212 GB, free: 14.7 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.071e-05/0.5556, allocations: 1.344 kB / 0.8212 GB, free: 14.7 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 6.465e-05/0.5556, allocations: 18.78 kB / 0.8212 GB, free: 14.69 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 9.742e-05/0.5557, allocations: 50.14 kB / 0.8213 GB, free: 14.66 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001006/0.5567, allocations: 365.7 kB / 0.8216 GB, free: 14.47 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001877/0.5569, allocations: 224.3 kB / 0.8218 GB, free: 14.36 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001366/0.5571, allocations: 37.23 kB / 0.8219 GB, free: 14.34 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 8.915e-05/0.5571, allocations: 81.47 kB / 0.8219 GB, free: 14.31 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001203/0.5573, allocations: 77.88 kB / 0.822 GB, free: 14.28 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.443e-05/0.5573, allocations: 17.44 kB / 0.822 GB, free: 14.28 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006177/0.5579, allocations: 408.2 kB / 0.8224 GB, free: 14.16 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 4.182e-05/0.5579, allocations: 36.12 kB / 0.8225 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 7.467e-05/0.558, allocations: 84.41 kB / 0.8225 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0006202/0.5586, allocations: 429.2 kB / 0.823 GB, free: 13.95 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.5586, allocations: 0 / 0.823 GB, free: 13.95 MB / 0.6198 GB Notification: Performance of FrontEnd: time 4.248e-06/0.5586, allocations: 0.6562 kB / 0.823 GB, free: 13.95 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 9.638e-06/0.5587, allocations: 0 / 0.823 GB, free: 13.95 MB / 0.6198 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.0007833/0.5594, allocations: 449.3 kB / 0.8234 GB, free: 13.58 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 6.344e-05/0.5595, allocations: 10.22 kB / 0.8234 GB, free: 13.58 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.086e-05/0.5596, allocations: 56.05 kB / 0.8234 GB, free: 13.53 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001664/0.5612, allocations: 320.2 kB / 0.8238 GB, free: 13.5 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001158/0.5613, allocations: 128.3 kB / 0.8239 GB, free: 13.36 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001041/0.5615, allocations: 79.89 kB / 0.8239 GB, free: 13.28 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.586e-05/0.5615, allocations: 14.41 kB / 0.824 GB, free: 13.28 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009332/0.5624, allocations: 392.6 kB / 0.8243 GB, free: 13.11 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.027e-05/0.5624, allocations: 0 / 0.8243 GB, free: 13.11 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.595e-05/0.5625, allocations: 13.12 kB / 0.8244 GB, free: 13.09 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.534e-06/0.5625, allocations: 7.938 kB / 0.8244 GB, free: 13.09 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00124/0.5637, allocations: 363.4 kB / 0.8247 GB, free: 13.02 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001376/0.5651, allocations: 0.7683 MB / 0.8255 GB, free: 12.47 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0026/0.5677, allocations: 0.6453 MB / 0.8261 GB, free: 12.34 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006334/0.5683, allocations: 205.7 kB / 0.8263 GB, free: 12.27 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 9.209e-05/0.5684, allocations: 13.36 kB / 0.8263 GB, free: 12.27 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.979e-05/0.5684, allocations: 33.97 kB / 0.8263 GB, free: 12.23 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=15): time 1.683e-06/0.5684, allocations: 0 / 0.8263 GB, free: 12.23 MB / 0.6198 GB Notification: Performance of matching and sorting (n=15): time 0.002529/0.571, allocations: 0.7167 MB / 0.827 GB, free: 12.04 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.127e-05/0.571, allocations: 54.22 kB / 0.8271 GB, free: 11.98 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001266/0.5711, allocations: 156.2 kB / 0.8272 GB, free: 11.86 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.094e-05/0.5712, allocations: 31.38 kB / 0.8273 GB, free: 11.83 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.757e-05/0.5712, allocations: 113.6 kB / 0.8274 GB, free: 11.72 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.527e-05/0.5713, allocations: 54.12 kB / 0.8274 GB, free: 11.68 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.041e-05/0.5713, allocations: 50.25 kB / 0.8275 GB, free: 11.65 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.697e-05/0.5714, allocations: 326.9 kB / 0.8278 GB, free: 11.33 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006033/0.572, allocations: 198.3 kB / 0.828 GB, free: 11.28 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006064/0.5727, allocations: 201.1 kB / 0.8282 GB, free: 11.23 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001131/0.5738, allocations: 355.8 kB / 0.8285 GB, free: 11.13 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.826e-06/0.5738, allocations: 0 / 0.8285 GB, free: 11.13 MB / 0.6198 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.001709/0.5755, allocations: 0.503 MB / 0.829 GB, free: 10.98 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.132e-05/0.5755, allocations: 6.281 kB / 0.829 GB, free: 10.98 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.57e-06/0.5755, allocations: 0 / 0.829 GB, free: 10.98 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004575/0.576, allocations: 122.6 kB / 0.8291 GB, free: 10.95 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008641/0.5768, allocations: 155.3 kB / 0.8293 GB, free: 10.93 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005641/0.5774, allocations: 0.6288 MB / 0.8299 GB, free: 10.38 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003296/0.5777, allocations: 67.16 kB / 0.8299 GB, free: 10.36 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.298e-05/0.5778, allocations: 12.5 kB / 0.8299 GB, free: 10.36 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (17): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,1)} Notification: Performance of prepare postOptimizeDAE: time 0.000368/0.5781, allocations: 133.2 kB / 0.8301 GB, free: 10.23 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.036e-05/0.5782, allocations: 22.81 kB / 0.8301 GB, free: 10.21 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001554/0.5797, allocations: 0.5323 MB / 0.8306 GB, free: 10.04 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.649e-06/0.5797, allocations: 1.156 kB / 0.8306 GB, free: 10.04 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.173e-06/0.5797, allocations: 1.156 kB / 0.8306 GB, free: 10.04 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.668e-06/0.5797, allocations: 4.969 kB / 0.8306 GB, free: 10.04 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002632/0.5824, allocations: 0.9974 MB / 0.8316 GB, free: 9.562 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.5824, allocations: 1.312 kB / 0.8316 GB, free: 9.562 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008237/0.5832, allocations: 150 kB / 0.8317 GB, free: 9.551 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003341/0.5835, allocations: 121 kB / 0.8319 GB, free: 9.52 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.847e-05/0.5836, allocations: 10.41 kB / 0.8319 GB, free: 9.516 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004864/0.5841, allocations: 0.625 MB / 0.8325 GB, free: 8.965 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.5841, allocations: 1.312 kB / 0.8325 GB, free: 8.965 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001496/0.5855, allocations: 0.5595 MB / 0.833 GB, free: 8.711 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.844e-05/0.5856, allocations: 18.11 kB / 0.833 GB, free: 8.699 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.876e-05/0.5856, allocations: 2.047 kB / 0.833 GB, free: 8.699 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003476/0.586, allocations: 59.59 kB / 0.8331 GB, free: 8.691 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.94e-05/0.586, allocations: 10.7 kB / 0.8331 GB, free: 8.691 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.807e-05/0.586, allocations: 20.39 kB / 0.8331 GB, free: 8.68 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 9.602e-05/0.5861, allocations: 123.1 kB / 0.8332 GB, free: 8.59 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6e-08/0.5861, allocations: 0 / 0.8332 GB, free: 8.59 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0005438/0.5867, allocations: 131.4 kB / 0.8334 GB, free: 8.555 MB / 0.6198 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 (12): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002063/0.5887, allocations: 1.205 MB / 0.8346 GB, free: 7.746 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001637/0.5904, allocations: 450.2 kB / 0.835 GB, free: 7.652 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/0.5904, allocations: 0 / 0.835 GB, free: 7.652 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0008533/0.5912, allocations: 239.9 kB / 0.8352 GB, free: 7.605 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004126/0.5916, allocations: 54.75 kB / 0.8353 GB, free: 7.578 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005756/0.5974, allocations: 2.951 MB / 0.8381 GB, free: 5.484 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.239e-05/0.5975, allocations: 101.5 kB / 0.8382 GB, free: 5.391 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001973/0.5977, allocations: 56.17 kB / 0.8383 GB, free: 5.355 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001348/0.5978, allocations: 50.86 kB / 0.8383 GB, free: 5.316 MB / 0.6198 GB Notification: Performance of SimCode: time 1.202e-06/0.5978, allocations: 0 / 0.8383 GB, free: 5.316 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02387/0.6217, allocations: 9.234 MB / 0.8474 GB, free: 408 kB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.676/8.297, allocations: 5.094 kB / 0.8474 GB, free: 404 kB / 0.6198 GB " [Timeout remaining time 652] (rm -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.sim & python3 -m fmpy simulate --output-file IDEAS_dev_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_dev_IDEAS_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor_ZeroInput.fmu > IDEAS_dev_IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.317708381917328] Failed to read output from testmodel.py, exit status != 0: 8.384910490363836 8.395457904 7.834863763 Calling exit ...