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.0007302/0.0007302, allocations: 76.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0007417/0.0007417, allocations: 174.3 kB / 23.21 MB, free: 1.352 MB / 18.57 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.8414/0.8414, allocations: 177.1 MB / 203.5 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] 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.08036/0.08036, allocations: 17.37 MB / 277.3 MB, free: 11.86 MB / 266.7 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.282e-06/1.282e-06, allocations: 0 / 412.7 MB, free: 15.93 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.938e-05/2.066e-05, allocations: 6.219 kB / 412.7 MB, free: 15.93 MB / 394.7 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.GasSolubility_blood): time 0.004959/0.00498, allocations: 6.241 MB / 418.9 MB, free: 9.652 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.01356/0.01854, allocations: 19.17 MB / 438.1 MB, free: 6.402 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005147/0.01906, allocations: 15.88 kB / 438.1 MB, free: 6.387 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007809/0.01984, allocations: 420.6 kB / 438.5 MB, free: 5.973 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002843/0.02268, allocations: 1.683 MB / 440.2 MB, free: 4.277 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004852/0.02753, allocations: 2.934 MB / 443.2 MB, free: 1.324 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.1392/0.1667, allocations: 1.887 MB / 445 MB, free: 46.04 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007462/0.1675, allocations: 0.7619 MB / 445.8 MB, free: 45.99 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007919/0.1683, allocations: 1.212 MB / 447 MB, free: 45.99 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005691/0.1688, allocations: 0.7589 MB / 447.8 MB, free: 45.99 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001203/0.169, allocations: 152.3 kB / 447.9 MB, free: 45.99 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00352/0.1725, allocations: 2.223 MB / 450.2 MB, free: 45.99 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001727/0.1727, allocations: 361.2 kB / 450.5 MB, free: 45.99 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003094/0.173, allocations: 0.5762 MB / 451.1 MB, free: 45.99 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003247/0.1762, allocations: 4.516 MB / 455.6 MB, free: 45.45 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.275e-06/0.1762, allocations: 0 / 455.6 MB, free: 45.45 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.203e-06/0.1762, allocations: 0 / 455.6 MB, free: 45.45 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.467e-05/0.1762, allocations: 2.75 kB / 455.6 MB, free: 45.45 MB / 410.7 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.001744/0.178, allocations: 2.04 MB / 457.6 MB, free: 44.45 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.459e-05/0.178, allocations: 9.594 kB / 457.6 MB, free: 44.45 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000791/0.1788, allocations: 384 kB / 458 MB, free: 44.37 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007122/0.1795, allocations: 0.6988 MB / 458.7 MB, free: 44.12 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.304e-05/0.1796, allocations: 94.28 kB / 458.8 MB, free: 44.11 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001272/0.1797, allocations: 128.5 kB / 458.9 MB, free: 44.11 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001402/0.1811, allocations: 1.78 MB / 460.7 MB, free: 43.76 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.12e-05/0.1811, allocations: 7.656 kB / 460.7 MB, free: 43.75 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.557e-05/0.1812, allocations: 46.12 kB / 460.8 MB, free: 43.72 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.401e-05/0.1812, allocations: 32.31 kB / 460.8 MB, free: 43.71 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001836/0.183, allocations: 2.504 MB / 463.3 MB, free: 42.94 MB / 410.7 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.003842/0.1869, allocations: 4.165 MB / 467.5 MB, free: 40.94 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001695/0.1886, allocations: 1.843 MB / 469.3 MB, free: 40.36 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004181/0.189, allocations: 496.6 kB / 469.8 MB, free: 40.17 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002794/0.1918, allocations: 2.689 MB / 472.5 MB, free: 39.1 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.453e-05/0.1918, allocations: 43.34 kB / 472.5 MB, free: 39.05 MB / 410.7 MB Notification: Performance of pre-optimization done (n=72): time 1.914e-06/0.1918, allocations: 0 / 472.5 MB, free: 39.05 MB / 410.7 MB Notification: Performance of matching and sorting (n=89): time 0.006423/0.1982, allocations: 3.237 MB / 475.8 MB, free: 37.79 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.837e-05/0.1982, allocations: 61.16 kB / 475.8 MB, free: 37.73 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008056/0.1991, allocations: 1.284 MB / 477.1 MB, free: 37.15 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.568e-05/0.1991, allocations: 40.36 kB / 477.2 MB, free: 37.11 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001895/0.1993, allocations: 0.7049 MB / 477.9 MB, free: 36.54 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001153/0.1994, allocations: 334.6 kB / 478.2 MB, free: 36.28 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002175/0.1996, allocations: 289.6 kB / 478.5 MB, free: 36.14 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.557e-05/0.1997, allocations: 349.5 kB / 478.8 MB, free: 35.82 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005/0.2002, allocations: 0.5267 MB / 479.3 MB, free: 35.62 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006199/0.2008, allocations: 1.009 MB / 480.3 MB, free: 34.83 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001091/0.2019, allocations: 1.449 MB / 481.8 MB, free: 33.8 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.444e-06/0.2019, allocations: 4.406 kB / 481.8 MB, free: 33.8 MB / 410.7 MB Notification: Performance of matching and sorting (n=185) (initialization): time 0.00241/0.2043, allocations: 1.924 MB / 483.7 MB, free: 33.14 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.93e-05/0.2043, allocations: 16.16 kB / 483.7 MB, free: 33.14 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.669e-05/0.2043, allocations: 16.31 kB / 483.8 MB, free: 33.14 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008468/0.2052, allocations: 249.2 kB / 484 MB, free: 33.08 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005859/0.2058, allocations: 350.4 kB / 484.3 MB, free: 33.07 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002539/0.2083, allocations: 3.588 MB / 487.9 MB, free: 29.97 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004304/0.2087, allocations: 47.72 kB / 488 MB, free: 29.95 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.53e-05/0.2088, allocations: 80.78 kB / 488.1 MB, free: 29.94 MB / 410.7 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.0002903/0.2091, allocations: 291.7 kB / 488.3 MB, free: 29.73 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001105/0.2092, allocations: 105 kB / 488.4 MB, free: 29.67 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001947/0.2112, allocations: 1.246 MB / 489.7 MB, free: 29.17 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.251e-06/0.2112, allocations: 8.719 kB / 489.7 MB, free: 29.17 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.2112, allocations: 1.25 kB / 489.7 MB, free: 29.17 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.346e-06/0.2112, allocations: 8.766 kB / 489.7 MB, free: 29.17 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00074/0.2119, allocations: 0.8144 MB / 490.5 MB, free: 28.73 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.587e-06/0.2119, allocations: 1.094 kB / 490.5 MB, free: 28.73 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003529/0.2123, allocations: 179 kB / 490.7 MB, free: 28.72 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000797/0.2131, allocations: 230.4 kB / 490.9 MB, free: 28.66 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.218e-05/0.2131, allocations: 36.92 kB / 491 MB, free: 28.65 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002168/0.2153, allocations: 3.479 MB / 494.4 MB, free: 25.59 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.2153, allocations: 5.25 kB / 494.4 MB, free: 25.58 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002081/0.2174, allocations: 1.583 MB / 496 MB, free: 24.84 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.293e-05/0.2174, allocations: 92.05 kB / 496.1 MB, free: 24.78 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.484e-05/0.2175, allocations: 18.03 kB / 496.1 MB, free: 24.77 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002413/0.2178, allocations: 22.16 kB / 496.2 MB, free: 24.76 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.456e-05/0.2179, allocations: 85.55 kB / 496.2 MB, free: 24.74 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.51e-05/0.2179, allocations: 38.89 kB / 496.3 MB, free: 24.73 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0005748/0.2185, allocations: 0.8831 MB / 497.2 MB, free: 24.34 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.2185, allocations: 0 / 497.2 MB, free: 24.34 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001448/0.2199, allocations: 0.8511 MB / 498 MB, free: 24.11 MB / 410.7 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.001137/0.2211, allocations: 1.07 MB / 499.1 MB, free: 23.78 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001212/0.2223, allocations: 1.357 MB / 0.4887 GB, free: 23.21 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.2223, allocations: 5.125 kB / 0.4887 GB, free: 23.2 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004804/0.2228, allocations: 0.6406 MB / 0.4893 GB, free: 22.85 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006239/0.2234, allocations: 229.2 kB / 0.4896 GB, free: 22.76 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00193/0.2253, allocations: 2.075 MB / 0.4916 GB, free: 21.64 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003641/0.2257, allocations: 0.4913 MB / 0.4921 GB, free: 21.5 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000304/0.226, allocations: 221.7 kB / 0.4923 GB, free: 21.46 MB / 410.7 MB Notification: Performance of SimCode: time 6.61e-07/0.226, allocations: 2.906 kB / 0.4923 GB, free: 21.46 MB / 410.7 MB Notification: Performance of Templates: time 0.01976/0.2457, allocations: 32.3 MB / 0.5238 GB, free: 13.03 MB / 426.7 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: 6.075858365744352] Failed to read output from testmodel.py, exit status != 0: 0.25119719840586185 0.259114919 0.08108103 Calling exit ...