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.000834/0.000834, allocations: 109.9 kB / 18.93 MB, free: 1.266 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.0009327/0.0009327, allocations: 218.3 kB / 22.26 MB, free: 3.695 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.9691/0.9691, allocations: 230.6 MB / 256 MB, free: 9.629 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.813/0.813, allocations: 203.8 MB / 0.5042 GB, free: 10.74 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.000889/0.000889, allocations: 69.88 kB / 0.7182 GB, free: 4.379 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5501/0.5509, allocations: 102 MB / 0.8179 GB, free: 1.27 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.002465/0.5534, allocations: 2.056 MB / 0.8199 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002008/0.5554, allocations: 1.687 MB / 0.8215 GB, free: 14.65 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.817e-05/0.5555, allocations: 3.281 kB / 0.8215 GB, free: 14.65 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 5.829e-05/0.5556, allocations: 18.38 kB / 0.8215 GB, free: 14.64 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 9.576e-05/0.5557, allocations: 48.78 kB / 0.8216 GB, free: 14.61 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001113/0.5568, allocations: 360.9 kB / 0.8219 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.000231/0.557, allocations: 215.8 kB / 0.8221 GB, free: 14.32 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001249/0.5571, allocations: 52.2 kB / 0.8222 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000101/0.5572, allocations: 86.06 kB / 0.8223 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001267/0.5574, allocations: 91.22 kB / 0.8224 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.37e-05/0.5574, allocations: 19.09 kB / 0.8224 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007724/0.5582, allocations: 422.8 kB / 0.8228 GB, free: 14.08 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.545e-05/0.5582, allocations: 37.78 kB / 0.8228 GB, free: 14.05 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 8.151e-05/0.5583, allocations: 88.66 kB / 0.8229 GB, free: 14 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0006005/0.5589, allocations: 425.4 kB / 0.8233 GB, free: 13.86 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.5589, allocations: 1.125 kB / 0.8233 GB, free: 13.86 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.733e-06/0.5589, allocations: 0 / 0.8233 GB, free: 13.86 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.392e-06/0.5589, allocations: 3.938 kB / 0.8233 GB, free: 13.86 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.0006053/0.5595, allocations: 453.5 kB / 0.8237 GB, free: 13.48 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.918e-05/0.5595, allocations: 9.969 kB / 0.8238 GB, free: 13.48 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.102e-05/0.5596, allocations: 51.33 kB / 0.8238 GB, free: 13.43 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00142/0.561, allocations: 320 kB / 0.8241 GB, free: 13.41 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001171/0.5611, allocations: 125.2 kB / 0.8242 GB, free: 13.27 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.6e-05/0.5612, allocations: 79.39 kB / 0.8243 GB, free: 13.19 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.69e-05/0.5612, allocations: 18.75 kB / 0.8243 GB, free: 13.18 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008084/0.562, allocations: 345 kB / 0.8246 GB, free: 13.07 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.215e-06/0.5621, allocations: 0 / 0.8246 GB, free: 13.07 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.642e-05/0.5621, allocations: 4.812 kB / 0.8247 GB, free: 13.07 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.113e-06/0.5621, allocations: 4.5 kB / 0.8247 GB, free: 13.07 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00111/0.5632, allocations: 369 kB / 0.825 GB, free: 12.99 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001274/0.5645, allocations: 0.8209 MB / 0.8258 GB, free: 12.43 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002309/0.5668, allocations: 0.6432 MB / 0.8264 GB, free: 12.3 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005811/0.5674, allocations: 203.7 kB / 0.8266 GB, free: 12.24 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001145/0.5675, allocations: 26.73 kB / 0.8267 GB, free: 12.23 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.469e-05/0.5675, allocations: 30.56 kB / 0.8267 GB, free: 12.19 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=15): time 3.036e-06/0.5675, allocations: 0 / 0.8267 GB, free: 12.19 MB / 0.6198 GB Notification: Performance of matching and sorting (n=15): time 0.002521/0.57, allocations: 0.7137 MB / 0.8274 GB, free: 12 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.008e-05/0.5701, allocations: 53.19 kB / 0.8274 GB, free: 11.93 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001477/0.5702, allocations: 156.3 kB / 0.8276 GB, free: 11.82 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.834e-05/0.5702, allocations: 31.45 kB / 0.8276 GB, free: 11.78 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.82e-05/0.5703, allocations: 113.7 kB / 0.8277 GB, free: 11.68 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 5.083e-05/0.5704, allocations: 58.73 kB / 0.8278 GB, free: 11.63 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.217e-05/0.5704, allocations: 44.97 kB / 0.8278 GB, free: 11.6 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.139e-05/0.5705, allocations: 326.4 kB / 0.8281 GB, free: 11.28 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005881/0.5711, allocations: 203 kB / 0.8283 GB, free: 11.23 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005814/0.5717, allocations: 202.3 kB / 0.8285 GB, free: 11.18 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001031/0.5727, allocations: 355.5 kB / 0.8289 GB, free: 11.08 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.487e-06/0.5727, allocations: 0 / 0.8289 GB, free: 11.08 MB / 0.6198 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.00155/0.5743, allocations: 0.5016 MB / 0.8293 GB, free: 10.93 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.507e-05/0.5743, allocations: 5.469 kB / 0.8294 GB, free: 10.93 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.075e-06/0.5743, allocations: 0.5625 kB / 0.8294 GB, free: 10.93 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005188/0.5748, allocations: 127.7 kB / 0.8295 GB, free: 10.89 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009239/0.5758, allocations: 155.6 kB / 0.8296 GB, free: 10.88 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006417/0.5764, allocations: 0.6246 MB / 0.8302 GB, free: 10.33 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003572/0.5768, allocations: 69.94 kB / 0.8303 GB, free: 10.31 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.259e-05/0.5768, allocations: 8.219 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.0001434/0.5769, allocations: 128.7 kB / 0.8304 GB, free: 10.18 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.558e-05/0.577, allocations: 16.25 kB / 0.8304 GB, free: 10.17 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001612/0.5786, allocations: 0.5369 MB / 0.831 GB, free: 9.996 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.893e-06/0.5786, allocations: 1.5 kB / 0.831 GB, free: 9.996 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.643e-06/0.5786, allocations: 0.8438 kB / 0.831 GB, free: 9.996 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.723e-06/0.5786, allocations: 1.188 kB / 0.831 GB, free: 9.996 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002694/0.5813, allocations: 1.041 MB / 0.832 GB, free: 9.508 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.068e-06/0.5813, allocations: 0 / 0.832 GB, free: 9.508 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007524/0.5821, allocations: 150 kB / 0.8321 GB, free: 9.496 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003913/0.5825, allocations: 124.4 kB / 0.8323 GB, free: 9.465 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.994e-05/0.5825, allocations: 6.75 kB / 0.8323 GB, free: 9.465 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005202/0.583, allocations: 0.6353 MB / 0.8329 GB, free: 8.902 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.367e-06/0.583, allocations: 2.062 kB / 0.8329 GB, free: 8.902 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001426/0.5844, allocations: 0.5616 MB / 0.8334 GB, free: 8.645 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.917e-05/0.5845, allocations: 13.23 kB / 0.8334 GB, free: 8.637 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.795e-05/0.5845, allocations: 5.984 kB / 0.8334 GB, free: 8.633 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003182/0.5848, allocations: 56.06 kB / 0.8335 GB, free: 8.629 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.784e-05/0.5849, allocations: 13.91 kB / 0.8335 GB, free: 8.625 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.308e-05/0.5849, allocations: 9.016 kB / 0.8335 GB, free: 8.625 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 8.7e-05/0.585, allocations: 124.1 kB / 0.8336 GB, free: 8.535 MB / 0.6198 GB Notification: Performance of sort global known variables: time 8e-08/0.585, allocations: 7.938 kB / 0.8337 GB, free: 8.527 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0004966/0.5855, allocations: 131 kB / 0.8338 GB, free: 8.492 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.002019/0.5875, allocations: 1.194 MB / 0.8349 GB, free: 7.688 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001508/0.589, allocations: 459.4 kB / 0.8354 GB, free: 7.586 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/0.589, allocations: 4 kB / 0.8354 GB, free: 7.582 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0007526/0.5898, allocations: 235.5 kB / 0.8356 GB, free: 7.539 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004052/0.5902, allocations: 60.55 kB / 0.8357 GB, free: 7.508 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005888/0.5961, allocations: 2.928 MB / 0.8385 GB, free: 5.434 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002565/0.5963, allocations: 0.7129 MB / 0.8392 GB, free: 4.719 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0002746/0.5966, allocations: 46.25 kB / 0.8393 GB, free: 4.688 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001482/0.5967, allocations: 51.05 kB / 0.8393 GB, free: 4.648 MB / 0.6198 GB Notification: Performance of SimCode: time 2.275e-06/0.5967, allocations: 7.938 kB / 0.8393 GB, free: 4.641 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02849/0.6252, allocations: 8.353 MB / 0.8475 GB, free: 356 kB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.707/8.333, allocations: 8.547 kB / 0.8475 GB, free: 352 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor_fmu --startTime=0 --stopTime=100 --stepSize=0.04 --timeout=50 --tolerance=1e-06 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.352447740966454] Failed to read output from testmodel.py, exit status != 0: 8.424572790972888 8.437235084 7.875903366 Calling exit ...