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.001418/0.001418, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001685/0.001685, allocations: 214.8 kB / 22.25 MB, free: 5.082 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.376/1.376, allocations: 230.6 MB / 256 MB, free: 8.027 MB / 206.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.1308/0.1308, allocations: 23.85 MB / 336.3 MB, free: 11.23 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: Chemical 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.001979/0.001979, allocations: 70.95 kB / 471.7 MB, free: 7.238 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.279/0.281, allocations: 59.86 MB / 0.5191 GB, free: 9.84 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.GasSolubility_blood): time 0.006561/0.2876, allocations: 7.081 MB / 0.526 GB, free: 4.816 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02494/0.3125, allocations: 21.94 MB / 0.5474 GB, free: 4.82 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001137/0.3137, allocations: 17.91 kB / 0.5474 GB, free: 4.812 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00123/0.3149, allocations: 448.2 kB / 0.5478 GB, free: 4.566 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004487/0.3194, allocations: 1.677 MB / 0.5495 GB, free: 3.559 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008155/0.3275, allocations: 2.848 MB / 0.5523 GB, free: 1.887 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002887/0.3304, allocations: 1.829 MB / 0.554 GB, free: 0.957 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001091/0.3315, allocations: 0.7703 MB / 0.5548 GB, free: 400 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001028/0.3325, allocations: 0.8786 MB / 0.5557 GB, free: 15.97 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001279/0.3338, allocations: 0.9553 MB / 0.5566 GB, free: 15.4 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001881/0.334, allocations: 153 kB / 0.5567 GB, free: 15.4 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00735/0.3414, allocations: 2.35 MB / 0.559 GB, free: 14.52 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003768/0.3417, allocations: 360.3 kB / 0.5594 GB, free: 14.23 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008816/0.3426, allocations: 0.789 MB / 0.5601 GB, free: 13.71 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008978/0.3516, allocations: 4.262 MB / 0.5643 GB, free: 11.05 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.3516, allocations: 1.469 kB / 0.5643 GB, free: 11.05 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.3516, allocations: 0 / 0.5643 GB, free: 11.05 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.366e-05/0.3516, allocations: 0 / 0.5643 GB, free: 11.05 MB / 414.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.003861/0.3555, allocations: 2.058 MB / 0.5663 GB, free: 9.547 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.346e-05/0.3555, allocations: 8.031 kB / 0.5663 GB, free: 9.539 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00161/0.3571, allocations: 387.3 kB / 0.5667 GB, free: 9.16 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001338/0.3585, allocations: 0.7002 MB / 0.5674 GB, free: 8.434 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.034e-05/0.3585, allocations: 94.84 kB / 0.5675 GB, free: 8.34 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002203/0.3588, allocations: 128.3 kB / 0.5676 GB, free: 8.215 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002743/0.3615, allocations: 1.783 MB / 0.5693 GB, free: 6.391 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.501e-05/0.3615, allocations: 4 kB / 0.5693 GB, free: 6.387 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001206/0.3617, allocations: 48 kB / 0.5694 GB, free: 6.34 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.678e-05/0.3617, allocations: 32 kB / 0.5694 GB, free: 6.309 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003877/0.3656, allocations: 2.52 MB / 0.5719 GB, free: 3.781 MB / 414.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.008323/0.3739, allocations: 5.089 MB / 0.5768 GB, free: 14.5 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003452/0.3773, allocations: 1.874 MB / 0.5787 GB, free: 12.62 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008058/0.3781, allocations: 498.6 kB / 0.5791 GB, free: 12.13 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006215/0.3844, allocations: 2.87 MB / 0.5819 GB, free: 9.234 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.648e-05/0.3844, allocations: 47.16 kB / 0.582 GB, free: 9.176 MB / 430.1 MB Notification: Performance of pre-optimization done (n=72): time 2.074e-06/0.3844, allocations: 0 / 0.582 GB, free: 9.176 MB / 430.1 MB Notification: Performance of matching and sorting (n=89): time 0.01506/0.3995, allocations: 3.234 MB / 0.5852 GB, free: 5.906 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.054e-05/0.3995, allocations: 60.41 kB / 0.5852 GB, free: 5.836 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001615/0.4011, allocations: 1.316 MB / 0.5865 GB, free: 4.496 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.754e-05/0.4012, allocations: 41.7 kB / 0.5865 GB, free: 4.449 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005431/0.4017, allocations: 0.7061 MB / 0.5872 GB, free: 3.734 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002977/0.402, allocations: 337.2 kB / 0.5875 GB, free: 3.402 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004176/0.4024, allocations: 291.4 kB / 0.5878 GB, free: 3.109 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001751/0.4026, allocations: 357.9 kB / 0.5882 GB, free: 2.754 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008307/0.4035, allocations: 0.5271 MB / 0.5887 GB, free: 2.227 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001253/0.4047, allocations: 1.016 MB / 0.5897 GB, free: 0.9961 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002046/0.4068, allocations: 1.433 MB / 0.5911 GB, free: 15.34 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.812e-06/0.4068, allocations: 8 kB / 0.5911 GB, free: 15.34 MB / 446.1 MB Notification: Performance of matching and sorting (n=185) (initialization): time 0.00487/0.4116, allocations: 1.932 MB / 0.593 GB, free: 13.39 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.339e-05/0.4117, allocations: 15.94 kB / 0.593 GB, free: 13.38 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.609e-05/0.4117, allocations: 23.98 kB / 0.593 GB, free: 13.35 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002017/0.4137, allocations: 249.6 kB / 0.5932 GB, free: 13.1 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001317/0.415, allocations: 347.5 kB / 0.5936 GB, free: 12.76 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005745/0.4208, allocations: 3.67 MB / 0.5972 GB, free: 8.863 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009103/0.4217, allocations: 44 kB / 0.5972 GB, free: 8.82 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001297/0.4218, allocations: 83.98 kB / 0.5973 GB, free: 8.738 MB / 446.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.0004498/0.4222, allocations: 297.8 kB / 0.5976 GB, free: 8.438 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000202/0.4224, allocations: 115.2 kB / 0.5977 GB, free: 8.324 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004103/0.4266, allocations: 1.252 MB / 0.5989 GB, free: 7.062 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.326e-05/0.4266, allocations: 12 kB / 0.5989 GB, free: 7.051 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.4266, allocations: 0 / 0.5989 GB, free: 7.051 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.068e-05/0.4266, allocations: 3.984 kB / 0.5989 GB, free: 7.047 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001492/0.4281, allocations: 1.066 MB / 0.6 GB, free: 5.922 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.742e-06/0.4281, allocations: 3.984 kB / 0.6 GB, free: 5.918 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006884/0.4288, allocations: 175.8 kB / 0.6001 GB, free: 5.746 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002061/0.4308, allocations: 233.5 kB / 0.6003 GB, free: 5.512 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.818e-05/0.4309, allocations: 35.92 kB / 0.6004 GB, free: 5.477 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005276/0.4362, allocations: 3.553 MB / 0.6038 GB, free: 1.699 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.4362, allocations: 0 / 0.6038 GB, free: 1.699 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004268/0.4404, allocations: 1.608 MB / 0.6054 GB, free: 60 kB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002054/0.4406, allocations: 107.5 kB / 0.6055 GB, free: 15.95 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001375/0.4408, allocations: 23.98 kB / 0.6055 GB, free: 15.93 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005259/0.4413, allocations: 16 kB / 0.6056 GB, free: 15.91 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001513/0.4415, allocations: 80.61 kB / 0.6056 GB, free: 15.84 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.682e-05/0.4415, allocations: 39.98 kB / 0.6057 GB, free: 15.8 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001095/0.4426, allocations: 0.9297 MB / 0.6066 GB, free: 14.85 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4426, allocations: 0 / 0.6066 GB, free: 14.85 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002326/0.445, allocations: 0.8491 MB / 0.6074 GB, free: 14 MB / 462.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.001711/0.4467, allocations: 1.035 MB / 0.6084 GB, free: 12.95 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002244/0.4489, allocations: 1.357 MB / 0.6097 GB, free: 11.57 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.4489, allocations: 4.062 kB / 0.6098 GB, free: 11.57 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001035/0.45, allocations: 0.6395 MB / 0.6104 GB, free: 10.9 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001059/0.451, allocations: 233.3 kB / 0.6106 GB, free: 10.68 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003426/0.4544, allocations: 2.134 MB / 0.6127 GB, free: 8.508 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007223/0.4552, allocations: 1.077 MB / 0.6137 GB, free: 7.402 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0008089/0.456, allocations: 263.9 kB / 0.614 GB, free: 7.148 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003609/0.4563, allocations: 178.8 kB / 0.6142 GB, free: 6.973 MB / 462.1 MB Notification: Performance of SimCode: time 8.02e-07/0.4563, allocations: 4 kB / 0.6142 GB, free: 6.969 MB / 462.1 MB Notification: Performance of Templates: time 0.04597/0.5023, allocations: 29.73 MB / 0.6432 GB, free: 9.352 MB / 494.1 MB " [Timeout remaining time 659] 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.589315193006769] Failed to read output from testmodel.py, exit status != 0: 0.510812354972586 0.5251565659999999 0.170449762 Calling exit ...