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.0007006/0.0007006, allocations: 109.9 kB / 18.93 MB, free: 1.27 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.0007988/0.0007988, allocations: 217.7 kB / 22.26 MB, free: 3.703 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 1.012/1.012, allocations: 230.6 MB / 256 MB, free: 9.793 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.7886/0.7886, allocations: 203.8 MB / 0.5042 GB, free: 10.73 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.0009851/0.0009851, allocations: 67.69 kB / 0.7182 GB, free: 4.367 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.562/0.563, allocations: 102 MB / 0.8179 GB, free: 1.281 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.002322/0.5653, allocations: 2.058 MB / 0.8199 GB, free: 15.85 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001843/0.5672, allocations: 1.686 MB / 0.8215 GB, free: 14.66 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.234e-05/0.5672, allocations: 4.031 kB / 0.8215 GB, free: 14.66 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 5.184e-05/0.5673, allocations: 21.81 kB / 0.8215 GB, free: 14.65 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 8.238e-05/0.5673, allocations: 49.45 kB / 0.8216 GB, free: 14.61 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008114/0.5682, allocations: 356.9 kB / 0.8219 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002012/0.5684, allocations: 226.2 kB / 0.8221 GB, free: 14.32 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001481/0.5685, allocations: 43.73 kB / 0.8222 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 9.771e-05/0.5686, allocations: 89.08 kB / 0.8223 GB, free: 14.26 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00011/0.5687, allocations: 84.55 kB / 0.8224 GB, free: 14.22 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.706e-05/0.5687, allocations: 18.53 kB / 0.8224 GB, free: 14.22 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006397/0.5694, allocations: 418.8 kB / 0.8228 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.949e-05/0.5694, allocations: 47.23 kB / 0.8228 GB, free: 14.06 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 8.065e-05/0.5695, allocations: 86.19 kB / 0.8229 GB, free: 14.02 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0004951/0.57, allocations: 423.5 kB / 0.8233 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.57, allocations: 0.6562 kB / 0.8233 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.044e-06/0.57, allocations: 4 kB / 0.8233 GB, free: 13.87 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.605e-06/0.57, allocations: 1.219 kB / 0.8233 GB, free: 13.87 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.0005766/0.5706, allocations: 449.4 kB / 0.8237 GB, free: 13.5 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.101e-05/0.5706, allocations: 13.61 kB / 0.8237 GB, free: 13.5 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.222e-05/0.5707, allocations: 50.47 kB / 0.8238 GB, free: 13.45 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001442/0.5721, allocations: 328.9 kB / 0.8241 GB, free: 13.41 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.394e-05/0.5722, allocations: 124.3 kB / 0.8242 GB, free: 13.27 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.128e-05/0.5723, allocations: 76.17 kB / 0.8243 GB, free: 13.2 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.495e-05/0.5723, allocations: 18.19 kB / 0.8243 GB, free: 13.19 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000862/0.5732, allocations: 336.4 kB / 0.8246 GB, free: 13.09 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.141e-05/0.5732, allocations: 0 / 0.8246 GB, free: 13.09 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.512e-05/0.5732, allocations: 6.203 kB / 0.8246 GB, free: 13.08 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.056e-05/0.5732, allocations: 8.547 kB / 0.8247 GB, free: 13.08 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001188/0.5744, allocations: 371.2 kB / 0.825 GB, free: 13 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001254/0.5757, allocations: 0.8211 MB / 0.8258 GB, free: 12.43 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002447/0.5781, allocations: 0.6495 MB / 0.8264 GB, free: 12.3 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006636/0.5788, allocations: 199.5 kB / 0.8266 GB, free: 12.24 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 9.526e-05/0.5789, allocations: 12.34 kB / 0.8266 GB, free: 12.24 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.092e-05/0.5789, allocations: 36.03 kB / 0.8267 GB, free: 12.2 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=15): time 1.163e-06/0.5789, allocations: 5.25 kB / 0.8267 GB, free: 12.2 MB / 0.6198 GB Notification: Performance of matching and sorting (n=15): time 0.002498/0.5814, allocations: 0.708 MB / 0.8274 GB, free: 12.01 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.834e-05/0.5815, allocations: 58.16 kB / 0.8274 GB, free: 11.95 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001427/0.5816, allocations: 161 kB / 0.8276 GB, free: 11.82 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.192e-05/0.5816, allocations: 27.23 kB / 0.8276 GB, free: 11.79 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 8.185e-05/0.5817, allocations: 118.5 kB / 0.8277 GB, free: 11.68 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 5.023e-05/0.5818, allocations: 53.77 kB / 0.8278 GB, free: 11.64 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.655e-05/0.5818, allocations: 53.62 kB / 0.8278 GB, free: 11.61 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.776e-05/0.5819, allocations: 325.6 kB / 0.8281 GB, free: 11.29 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006155/0.5826, allocations: 202.9 kB / 0.8283 GB, free: 11.23 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005922/0.5832, allocations: 205.8 kB / 0.8285 GB, free: 11.18 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001067/0.5842, allocations: 347.5 kB / 0.8289 GB, free: 11.09 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.5842, allocations: 1.125 kB / 0.8289 GB, free: 11.09 MB / 0.6198 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.001499/0.5857, allocations: 0.5064 MB / 0.8294 GB, free: 10.93 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.139e-05/0.5857, allocations: 5.562 kB / 0.8294 GB, free: 10.93 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.5857, allocations: 4.5 kB / 0.8294 GB, free: 10.93 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004417/0.5862, allocations: 119.6 kB / 0.8295 GB, free: 10.9 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008533/0.587, allocations: 151.4 kB / 0.8296 GB, free: 10.89 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005946/0.5876, allocations: 0.6317 MB / 0.8302 GB, free: 10.33 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003023/0.5879, allocations: 67.88 kB / 0.8303 GB, free: 10.32 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.489e-05/0.588, allocations: 11.48 kB / 0.8303 GB, free: 10.31 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.0001023/0.5881, allocations: 125 kB / 0.8304 GB, free: 10.19 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.829e-05/0.5881, allocations: 16.27 kB / 0.8305 GB, free: 10.18 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001507/0.5896, allocations: 0.5294 MB / 0.831 GB, free: 10.01 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.5896, allocations: 2.375 kB / 0.831 GB, free: 10.01 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.5896, allocations: 8 kB / 0.831 GB, free: 10 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.551e-06/0.5896, allocations: 2.344 kB / 0.831 GB, free: 10 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002528/0.5922, allocations: 1.033 MB / 0.832 GB, free: 9.52 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.5922, allocations: 3.938 kB / 0.832 GB, free: 9.516 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007465/0.5929, allocations: 146.5 kB / 0.8321 GB, free: 9.508 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003162/0.5932, allocations: 127.4 kB / 0.8323 GB, free: 9.473 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.408e-05/0.5932, allocations: 11.5 kB / 0.8323 GB, free: 9.469 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004735/0.5937, allocations: 0.6315 MB / 0.8329 GB, free: 8.91 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.5937, allocations: 1.375 kB / 0.8329 GB, free: 8.91 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001391/0.5951, allocations: 0.5606 MB / 0.8334 GB, free: 8.656 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.143e-05/0.5951, allocations: 17.16 kB / 0.8334 GB, free: 8.645 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.292e-05/0.5952, allocations: 2.906 kB / 0.8334 GB, free: 8.645 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003176/0.5955, allocations: 62.36 kB / 0.8335 GB, free: 8.633 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.483e-05/0.5955, allocations: 15.19 kB / 0.8335 GB, free: 8.629 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.071e-05/0.5955, allocations: 8.547 kB / 0.8335 GB, free: 8.629 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 7.357e-05/0.5956, allocations: 121.2 kB / 0.8336 GB, free: 8.539 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6.1e-08/0.5956, allocations: 0 / 0.8336 GB, free: 8.539 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0004101/0.596, allocations: 135.6 kB / 0.8338 GB, free: 8.5 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.001861/0.5979, allocations: 1.202 MB / 0.8349 GB, free: 7.688 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001454/0.5993, allocations: 449.8 kB / 0.8354 GB, free: 7.594 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.5993, allocations: 0.875 kB / 0.8354 GB, free: 7.594 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0007606/0.6001, allocations: 239.5 kB / 0.8356 GB, free: 7.547 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000364/0.6005, allocations: 51.33 kB / 0.8357 GB, free: 7.523 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005336/0.6058, allocations: 2.942 MB / 0.8385 GB, free: 5.418 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002333/0.606, allocations: 0.7101 MB / 0.8392 GB, free: 4.707 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0002111/0.6062, allocations: 49.78 kB / 0.8393 GB, free: 4.672 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001346/0.6064, allocations: 47 kB / 0.8393 GB, free: 4.637 MB / 0.6198 GB Notification: Performance of SimCode: time 9.41e-07/0.6064, allocations: 0 / 0.8393 GB, free: 4.637 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02152/0.6279, allocations: 8.354 MB / 0.8475 GB, free: 348 kB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.719/8.347, allocations: 5.375 kB / 0.8475 GB, free: 348 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 sys.exit(0), Time elapsed: 11.484298280905932] Failed to read output from testmodel.py, exit status != 0: 8.433519035112113 8.444736436 7.87248517 Calling exit ...