Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.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.0007565/0.0007565, allocations: 109.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.0008165/0.0008165, allocations: 216 kB / 22.25 MB, free: 3.73 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.9252/0.9252, allocations: 230.6 MB / 256 MB, free: 9.66 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.778/0.778, allocations: 203.8 MB / 0.5042 GB, free: 10.51 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,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor",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.0009416/0.0009416, allocations: 70.73 kB / 0.7182 GB, free: 4.062 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5499/0.5509, allocations: 102 MB / 0.8178 GB, free: 1.051 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.002654/0.5535, allocations: 1.97 MB / 0.8197 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001784/0.5553, allocations: 1.522 MB / 0.8212 GB, free: 14.7 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.751e-05/0.5554, allocations: 2.188 kB / 0.8212 GB, free: 14.7 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 6.178e-05/0.5554, allocations: 18.95 kB / 0.8212 GB, free: 14.69 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 8.777e-05/0.5555, allocations: 49.19 kB / 0.8213 GB, free: 14.66 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009941/0.5565, allocations: 358 kB / 0.8216 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002219/0.5567, allocations: 227 kB / 0.8218 GB, free: 14.36 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001451/0.5569, allocations: 42.22 kB / 0.8219 GB, free: 14.34 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 9.9e-05/0.557, allocations: 87.89 kB / 0.822 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001214/0.5571, allocations: 76.2 kB / 0.822 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.459e-05/0.5571, allocations: 18.59 kB / 0.822 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006801/0.5578, allocations: 400.7 kB / 0.8224 GB, free: 14.16 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 4.998e-05/0.5578, allocations: 45.8 kB / 0.8225 GB, free: 14.13 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 7.482e-05/0.5579, allocations: 75.08 kB / 0.8225 GB, free: 14.1 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0006023/0.5585, allocations: 427.7 kB / 0.823 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/0.5585, allocations: 0 / 0.823 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.894e-06/0.5585, allocations: 0 / 0.823 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.555e-06/0.5585, allocations: 0 / 0.823 GB, free: 13.96 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.0006895/0.5592, allocations: 455.8 kB / 0.8234 GB, free: 13.58 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.053e-05/0.5593, allocations: 9.781 kB / 0.8234 GB, free: 13.58 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.408e-05/0.5593, allocations: 52.62 kB / 0.8234 GB, free: 13.53 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001546/0.5609, allocations: 323.4 kB / 0.8238 GB, free: 13.5 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001131/0.561, allocations: 128.8 kB / 0.8239 GB, free: 13.36 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.837e-05/0.5611, allocations: 76.2 kB / 0.8239 GB, free: 13.29 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.587e-05/0.5611, allocations: 14.97 kB / 0.824 GB, free: 13.28 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009256/0.562, allocations: 395.4 kB / 0.8243 GB, free: 13.11 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.409e-05/0.562, allocations: 0 / 0.8243 GB, free: 13.11 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.401e-05/0.5621, allocations: 6.812 kB / 0.8243 GB, free: 13.1 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.192e-05/0.5621, allocations: 3.125 kB / 0.8244 GB, free: 13.1 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001222/0.5633, allocations: 371.3 kB / 0.8247 GB, free: 13.02 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001238/0.5645, allocations: 0.7694 MB / 0.8255 GB, free: 12.47 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002464/0.567, allocations: 0.6425 MB / 0.8261 GB, free: 12.34 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006066/0.5676, allocations: 202.8 kB / 0.8263 GB, free: 12.29 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 9.837e-05/0.5677, allocations: 13.41 kB / 0.8263 GB, free: 12.29 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.532e-05/0.5677, allocations: 35.91 kB / 0.8263 GB, free: 12.24 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=15): time 2.094e-06/0.5677, allocations: 0 / 0.8263 GB, free: 12.24 MB / 0.6198 GB Notification: Performance of matching and sorting (n=15): time 0.002596/0.5703, allocations: 0.7142 MB / 0.827 GB, free: 12.05 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.894e-05/0.5704, allocations: 58.14 kB / 0.8271 GB, free: 11.99 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000153/0.5705, allocations: 159 kB / 0.8272 GB, free: 11.87 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.789e-05/0.5706, allocations: 28.11 kB / 0.8273 GB, free: 11.84 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 8.337e-05/0.5706, allocations: 117.8 kB / 0.8274 GB, free: 11.73 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 5.11e-05/0.5707, allocations: 54.44 kB / 0.8274 GB, free: 11.68 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.648e-05/0.5708, allocations: 41.86 kB / 0.8275 GB, free: 11.66 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001049/0.5709, allocations: 339.1 kB / 0.8278 GB, free: 11.33 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00065/0.5715, allocations: 202.1 kB / 0.828 GB, free: 11.28 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006019/0.5721, allocations: 201.3 kB / 0.8282 GB, free: 11.23 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00109/0.5732, allocations: 352.3 kB / 0.8285 GB, free: 11.13 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.5732, allocations: 0 / 0.8285 GB, free: 11.13 MB / 0.6198 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.001707/0.5749, allocations: 0.502 MB / 0.829 GB, free: 10.98 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.556e-05/0.575, allocations: 9.688 kB / 0.829 GB, free: 10.97 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/0.575, allocations: 1.172 kB / 0.829 GB, free: 10.97 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005024/0.5755, allocations: 120.2 kB / 0.8291 GB, free: 10.94 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008773/0.5764, allocations: 152.8 kB / 0.8293 GB, free: 10.93 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005817/0.5769, allocations: 0.6324 MB / 0.8299 GB, free: 10.38 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003507/0.5773, allocations: 66.97 kB / 0.8299 GB, free: 10.36 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.384e-05/0.5773, allocations: 8.391 kB / 0.83 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.0001301/0.5774, allocations: 128.9 kB / 0.8301 GB, free: 10.23 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.215e-05/0.5775, allocations: 20.03 kB / 0.8301 GB, free: 10.22 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001618/0.5791, allocations: 0.534 MB / 0.8306 GB, free: 10.04 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.919e-06/0.5791, allocations: 2.125 kB / 0.8306 GB, free: 10.04 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.652e-06/0.5791, allocations: 0 / 0.8306 GB, free: 10.04 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.5791, allocations: 1.125 kB / 0.8306 GB, free: 10.04 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002657/0.5818, allocations: 1.01 MB / 0.8316 GB, free: 9.559 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/0.5818, allocations: 0.6562 kB / 0.8316 GB, free: 9.559 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008002/0.5826, allocations: 149.5 kB / 0.8317 GB, free: 9.547 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003491/0.5829, allocations: 121.8 kB / 0.8319 GB, free: 9.516 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.506e-05/0.583, allocations: 5.703 kB / 0.8319 GB, free: 9.516 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004948/0.5834, allocations: 0.6253 MB / 0.8325 GB, free: 8.965 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.472e-06/0.5835, allocations: 1.406 kB / 0.8325 GB, free: 8.965 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001453/0.5849, allocations: 0.5625 MB / 0.833 GB, free: 8.711 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.096e-05/0.5849, allocations: 13.39 kB / 0.833 GB, free: 8.703 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.602e-05/0.585, allocations: 7.047 kB / 0.8331 GB, free: 8.699 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003375/0.5853, allocations: 55.97 kB / 0.8331 GB, free: 8.695 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.437e-05/0.5853, allocations: 13.31 kB / 0.8331 GB, free: 8.691 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.901e-05/0.5854, allocations: 9.016 kB / 0.8331 GB, free: 8.691 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 7.226e-05/0.5854, allocations: 126.5 kB / 0.8332 GB, free: 8.598 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6e-08/0.5854, allocations: 0.9062 kB / 0.8332 GB, free: 8.598 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0005146/0.5859, allocations: 131.8 kB / 0.8334 GB, free: 8.562 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.001984/0.5879, allocations: 1.203 MB / 0.8345 GB, free: 7.754 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001582/0.5895, allocations: 450 kB / 0.835 GB, free: 7.66 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 4.138e-06/0.5895, allocations: 1.812 kB / 0.835 GB, free: 7.66 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0008076/0.5903, allocations: 243.3 kB / 0.8352 GB, free: 7.609 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004071/0.5907, allocations: 55.5 kB / 0.8353 GB, free: 7.582 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005599/0.5963, allocations: 2.924 MB / 0.8381 GB, free: 5.516 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.269e-05/0.5964, allocations: 98.25 kB / 0.8382 GB, free: 5.426 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0002089/0.5966, allocations: 49.2 kB / 0.8383 GB, free: 5.395 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001329/0.5967, allocations: 56.39 kB / 0.8383 GB, free: 5.352 MB / 0.6198 GB Notification: Performance of SimCode: time 8.51e-07/0.5967, allocations: 0 / 0.8383 GB, free: 5.352 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02481/0.6216, allocations: 9.22 MB / 0.8473 GB, free: 432 kB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.61/8.231, allocations: 4.844 kB / 0.8473 GB, free: 432 kB / 0.6198 GB " [Timeout remaining time 652] (rm -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.sim & python3 -m fmpy simulate --output-file IDEAS_dev_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_dev_IDEAS_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor.fmu > IDEAS_dev_IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.159118393901736] Failed to read output from testmodel.py, exit status != 0: 8.318857917096466 8.328471111 7.767990403 Calling exit ...