Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_Chemical.Obsolete.Examples.GasSolubility_blood.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.001723/0.001723, allocations: 80.69 kB / 19.18 MB, free: 2.516 MB / 14.72 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.002148/0.002148, allocations: 162.8 kB / 22.46 MB, free: 5.375 MB / 14.72 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.492/1.492, allocations: 177.1 MB / 202.8 MB, free: 9.16 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo): time 0.1283/0.1283, allocations: 17.37 MB / 276.6 MB, free: 15.29 MB / 270.1 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/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: translateModel(Chemical.Obsolete.Examples.GasSolubility_blood,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.GasSolubility_blood") translateModel(Chemical.Obsolete.Examples.GasSolubility_blood,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.GasSolubility_blood") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 412 MB, free: 4.453 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.691e-05/2.843e-05, allocations: 2.281 kB / 412 MB, free: 4.449 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.GasSolubility_blood): time 0.008477/0.008506, allocations: 6.23 MB / 418.2 MB, free: 14.19 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.02625/0.03476, allocations: 19.18 MB / 437.4 MB, free: 10.93 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00106/0.03582, allocations: 23.81 kB / 437.4 MB, free: 10.91 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001318/0.03714, allocations: 416.7 kB / 437.8 MB, free: 10.5 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005061/0.0422, allocations: 1.683 MB / 439.5 MB, free: 8.805 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00779/0.04999, allocations: 2.942 MB / 442.4 MB, free: 5.844 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.002913/0.0529, allocations: 1.887 MB / 444.3 MB, free: 3.949 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00109/0.05399, allocations: 0.762 MB / 445.1 MB, free: 3.168 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001439/0.05543, allocations: 1.213 MB / 446.3 MB, free: 1.953 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001176/0.05661, allocations: 0.76 MB / 447 MB, free: 1.191 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002651/0.05687, allocations: 152 kB / 447.2 MB, free: 1.043 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.179/0.2359, allocations: 2.215 MB / 449.4 MB, free: 20.5 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004709/0.2364, allocations: 370.6 kB / 449.8 MB, free: 20.5 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009539/0.2373, allocations: 0.5735 MB / 450.3 MB, free: 20.5 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007961/0.2453, allocations: 4.513 MB / 454.9 MB, free: 20.29 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.2453, allocations: 1.031 kB / 454.9 MB, free: 20.29 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.2453, allocations: 0 / 454.9 MB, free: 20.29 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.392e-05/0.2453, allocations: 1.375 kB / 454.9 MB, free: 20.29 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 314 * Number of variables: 314 Notification: Performance of Generate backend data structure: time 0.003653/0.249, allocations: 2.043 MB / 456.9 MB, free: 19.29 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.579e-05/0.249, allocations: 9.625 kB / 456.9 MB, free: 19.29 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001642/0.2507, allocations: 381.2 kB / 457.3 MB, free: 19.21 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00119/0.2519, allocations: 0.695 MB / 458 MB, free: 18.95 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.622e-05/0.2519, allocations: 91.5 kB / 458.1 MB, free: 18.95 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002104/0.2521, allocations: 132.5 kB / 458.2 MB, free: 18.95 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002887/0.255, allocations: 1.778 MB / 460 MB, free: 18.82 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.237e-05/0.2551, allocations: 1.344 kB / 460 MB, free: 18.82 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001517/0.2552, allocations: 53.41 kB / 460 MB, free: 18.82 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.832e-05/0.2552, allocations: 34 kB / 460.1 MB, free: 18.82 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003625/0.2589, allocations: 2.496 MB / 462.6 MB, free: 18.8 MB / 366.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006872/0.2657, allocations: 4.173 MB / 466.7 MB, free: 16.87 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003006/0.2687, allocations: 1.83 MB / 468.6 MB, free: 16.3 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006318/0.2694, allocations: 495.4 kB / 469 MB, free: 16.11 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005133/0.2745, allocations: 2.701 MB / 471.7 MB, free: 15.04 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.176e-05/0.2745, allocations: 41.44 kB / 471.8 MB, free: 15 MB / 366.1 MB Notification: Performance of pre-optimization done (n=72): time 2.365e-06/0.2745, allocations: 0 / 471.8 MB, free: 15 MB / 366.1 MB Notification: Performance of matching and sorting (n=89): time 0.01404/0.2886, allocations: 3.231 MB / 475 MB, free: 13.73 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.891e-05/0.2886, allocations: 62.12 kB / 475.1 MB, free: 13.67 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001255/0.2899, allocations: 1.285 MB / 476.4 MB, free: 13.09 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.955e-05/0.2899, allocations: 44.98 kB / 476.4 MB, free: 13.04 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002717/0.2902, allocations: 0.7101 MB / 477.1 MB, free: 12.47 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001706/0.2904, allocations: 328.2 kB / 477.4 MB, free: 12.22 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003523/0.2907, allocations: 285.7 kB / 477.7 MB, free: 12.09 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 7.538e-05/0.2908, allocations: 350.9 kB / 478.1 MB, free: 11.77 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000689/0.2915, allocations: 0.5255 MB / 478.6 MB, free: 11.57 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009642/0.2924, allocations: 1.01 MB / 479.6 MB, free: 10.77 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0016/0.294, allocations: 1.448 MB / 481 MB, free: 9.754 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.233e-06/0.2941, allocations: 4.812 kB / 481 MB, free: 9.754 MB / 366.1 MB Notification: Performance of matching and sorting (n=185) (initialization): time 0.004103/0.2982, allocations: 1.925 MB / 483 MB, free: 8.441 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.545e-05/0.2982, allocations: 15.94 kB / 483 MB, free: 8.426 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.028e-05/0.2982, allocations: 16 kB / 483 MB, free: 8.41 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001969/0.3002, allocations: 256.5 kB / 483.3 MB, free: 8.156 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001015/0.3012, allocations: 345.8 kB / 483.6 MB, free: 7.844 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004469/0.3057, allocations: 3.597 MB / 487.2 MB, free: 4.074 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001089/0.3068, allocations: 44 kB / 487.2 MB, free: 4.031 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001167/0.3069, allocations: 83.98 kB / 487.3 MB, free: 3.949 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 71 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (179): * Single equations (assignments): 177 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0004737/0.3074, allocations: 286.8 kB / 487.6 MB, free: 3.68 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001849/0.3075, allocations: 107.3 kB / 487.7 MB, free: 3.574 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003648/0.3112, allocations: 1.246 MB / 488.9 MB, free: 2.328 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.354e-06/0.3112, allocations: 8 kB / 489 MB, free: 2.32 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.117e-06/0.3112, allocations: 2.734 kB / 489 MB, free: 2.32 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.548e-06/0.3112, allocations: 7.984 kB / 489 MB, free: 2.312 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001177/0.3124, allocations: 0.8212 MB / 489.8 MB, free: 1.473 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.988e-06/0.3124, allocations: 0 / 489.8 MB, free: 1.473 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006348/0.313, allocations: 177.7 kB / 490 MB, free: 1.309 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001904/0.3149, allocations: 229 kB / 490.2 MB, free: 1.082 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.054e-05/0.315, allocations: 35.98 kB / 490.2 MB, free: 1.047 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005021/0.32, allocations: 3.482 MB / 493.7 MB, free: 13.39 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.156e-06/0.32, allocations: 7.938 kB / 493.7 MB, free: 13.38 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004411/0.3244, allocations: 1.575 MB / 495.3 MB, free: 11.78 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002596/0.3247, allocations: 99.38 kB / 495.4 MB, free: 11.68 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001909/0.3249, allocations: 20 kB / 495.4 MB, free: 11.66 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000585/0.3255, allocations: 20 kB / 495.4 MB, free: 11.64 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001786/0.3256, allocations: 80.36 kB / 495.5 MB, free: 11.57 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.117e-05/0.3257, allocations: 39.98 kB / 495.5 MB, free: 11.53 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001105/0.3268, allocations: 0.8856 MB / 496.4 MB, free: 10.65 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3268, allocations: 0 / 496.4 MB, free: 10.65 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002813/0.3296, allocations: 0.8491 MB / 497.3 MB, free: 9.797 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 5 (blood_plasma.temperature,CO2_unbound_plasma.logn,O2_unbound_plasma.logn,water.logn,others.logn) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (93): * Single equations (assignments): 91 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002691/0.3323, allocations: 1.059 MB / 498.3 MB, free: 8.863 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002577/0.3349, allocations: 1.368 MB / 499.7 MB, free: 7.527 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.3349, allocations: 0 / 499.7 MB, free: 7.527 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001124/0.336, allocations: 0.6487 MB / 0.4886 GB, free: 6.875 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001195/0.3372, allocations: 217.8 kB / 0.4888 GB, free: 6.66 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003874/0.3411, allocations: 2.029 MB / 0.4908 GB, free: 4.605 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005912/0.3417, allocations: 0.4922 MB / 0.4913 GB, free: 4.074 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0008799/0.3426, allocations: 258.4 kB / 0.4915 GB, free: 3.828 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004069/0.343, allocations: 171.9 kB / 0.4917 GB, free: 3.66 MB / 382.1 MB Notification: Performance of SimCode: time 5.11e-07/0.343, allocations: 0 / 0.4917 GB, free: 3.66 MB / 382.1 MB Notification: Performance of Templates: time 0.0477/0.3907, allocations: 28.6 MB / 0.5196 GB, free: 7.359 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f Chemical_Chemical.Obsolete.Examples.GasSolubility_blood.makefile [Timeout 660] (rm -f Chemical_Chemical.Obsolete.Examples.GasSolubility_blood.pipe ; mkfifo Chemical_Chemical.Obsolete.Examples.GasSolubility_blood.pipe ; head -c 1048576 < Chemical_Chemical.Obsolete.Examples.GasSolubility_blood.pipe >> ../files/Chemical_Chemical.Obsolete.Examples.GasSolubility_blood.sim & ./Chemical_Chemical.Obsolete.Examples.GasSolubility_blood -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.GasSolubility_blood.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.824408147484064] Failed to read output from testmodel.py, exit status != 0: 0.3995976559817791 0.41579871 0.16718116200000002 Calling exit ...