Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_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.001579/0.001579, allocations: 96.42 kB / 19.7 MB, free: 2.133 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.001821/0.001821, allocations: 207.8 kB / 22.99 MB, free: 4.957 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.393/1.393, allocations: 230.6 MB / 256.8 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo): time 0.1316/0.1316, allocations: 23.93 MB / 337.1 MB, free: 10.92 MB / 270.1 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 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: translateModel(Chemical.Obsolete.Examples.GasSolubility_blood,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.GasSolubility_blood") translateModel(Chemical.Obsolete.Examples.GasSolubility_blood,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_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.001989/0.001989, allocations: 71.89 kB / 472.4 MB, free: 6.957 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2745/0.2765, allocations: 59.88 MB / 0.5198 GB, free: 9.758 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.GasSolubility_blood): time 0.007075/0.2836, allocations: 6.265 MB / 0.5259 GB, free: 5.598 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02258/0.3061, allocations: 19.18 MB / 0.5447 GB, free: 8.543 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001069/0.3072, allocations: 22 kB / 0.5447 GB, free: 8.531 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001276/0.3085, allocations: 405.7 kB / 0.5451 GB, free: 8.328 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004772/0.3133, allocations: 1.634 MB / 0.5467 GB, free: 7.363 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008139/0.3214, allocations: 2.846 MB / 0.5495 GB, free: 5.695 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002723/0.3241, allocations: 1.836 MB / 0.5512 GB, free: 4.699 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001048/0.3252, allocations: 0.7687 MB / 0.552 GB, free: 4.137 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001144/0.3263, allocations: 0.8748 MB / 0.5529 GB, free: 3.727 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001381/0.3277, allocations: 0.9552 MB / 0.5538 GB, free: 3.148 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002365/0.3279, allocations: 151.8 kB / 0.5539 GB, free: 3.148 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006478/0.3344, allocations: 2.256 MB / 0.5561 GB, free: 2.367 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004561/0.3349, allocations: 364.6 kB / 0.5565 GB, free: 2.074 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009942/0.3359, allocations: 0.6684 MB / 0.5571 GB, free: 1.672 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008972/0.3448, allocations: 4.239 MB / 0.5613 GB, free: 15.05 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.3448, allocations: 5.156 kB / 0.5613 GB, free: 15.05 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.472e-06/0.3448, allocations: 0 / 0.5613 GB, free: 15.05 MB / 414.1 MB Notification: Performance of Transformations before backend: time 3.202e-05/0.3449, allocations: 0 / 0.5613 GB, free: 15.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.004059/0.3489, allocations: 2.058 MB / 0.5633 GB, free: 13.03 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.716e-05/0.349, allocations: 8.031 kB / 0.5633 GB, free: 13.02 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00179/0.3508, allocations: 395.1 kB / 0.5637 GB, free: 12.63 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00149/0.3522, allocations: 0.6964 MB / 0.5644 GB, free: 11.91 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.848e-05/0.3523, allocations: 90.84 kB / 0.5644 GB, free: 11.82 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002434/0.3526, allocations: 136.3 kB / 0.5646 GB, free: 11.69 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002921/0.3555, allocations: 1.779 MB / 0.5663 GB, free: 9.867 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.823e-05/0.3555, allocations: 4 kB / 0.5663 GB, free: 9.863 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000136/0.3556, allocations: 48 kB / 0.5664 GB, free: 9.816 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.839e-05/0.3557, allocations: 35.94 kB / 0.5664 GB, free: 9.781 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00368/0.3594, allocations: 2.489 MB / 0.5688 GB, free: 7.285 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.008079/0.3674, allocations: 4.18 MB / 0.5729 GB, free: 3.035 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003558/0.371, allocations: 1.839 MB / 0.5747 GB, free: 1.191 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008266/0.3718, allocations: 498.7 kB / 0.5752 GB, free: 0.6953 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006386/0.3782, allocations: 2.685 MB / 0.5778 GB, free: 13.99 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.772e-05/0.3782, allocations: 43.2 kB / 0.5778 GB, free: 13.93 MB / 430.1 MB Notification: Performance of pre-optimization done (n=72): time 2.395e-06/0.3782, allocations: 0 / 0.5778 GB, free: 13.93 MB / 430.1 MB Notification: Performance of matching and sorting (n=89): time 0.01664/0.3949, allocations: 3.228 MB / 0.581 GB, free: 10.67 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.873e-05/0.3949, allocations: 68.34 kB / 0.5811 GB, free: 10.59 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001583/0.3965, allocations: 1.286 MB / 0.5823 GB, free: 9.293 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 7.924e-05/0.3966, allocations: 41.7 kB / 0.5824 GB, free: 9.246 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005253/0.3971, allocations: 0.71 MB / 0.583 GB, free: 8.527 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003045/0.3974, allocations: 333.2 kB / 0.5834 GB, free: 8.199 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004272/0.3979, allocations: 291.4 kB / 0.5836 GB, free: 7.91 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001678/0.398, allocations: 349.9 kB / 0.584 GB, free: 7.562 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008428/0.3989, allocations: 0.5232 MB / 0.5845 GB, free: 7.039 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001232/0.4001, allocations: 1.008 MB / 0.5855 GB, free: 5.824 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001996/0.4021, allocations: 1.453 MB / 0.5869 GB, free: 4.152 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.446e-06/0.4021, allocations: 7.938 kB / 0.5869 GB, free: 4.145 MB / 430.1 MB Notification: Performance of matching and sorting (n=185) (initialization): time 0.005107/0.4072, allocations: 1.924 MB / 0.5888 GB, free: 2.207 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.585e-05/0.4072, allocations: 12 kB / 0.5888 GB, free: 2.195 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.314e-05/0.4073, allocations: 16 kB / 0.5888 GB, free: 2.18 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002305/0.4096, allocations: 249.5 kB / 0.589 GB, free: 1.93 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001217/0.4108, allocations: 347.5 kB / 0.5894 GB, free: 1.59 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005923/0.4167, allocations: 3.605 MB / 0.5929 GB, free: 13.78 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001073/0.4178, allocations: 48 kB / 0.5929 GB, free: 13.73 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001507/0.4179, allocations: 83.97 kB / 0.593 GB, free: 13.65 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.0004984/0.4184, allocations: 289.3 kB / 0.5933 GB, free: 13.36 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002451/0.4187, allocations: 111.4 kB / 0.5934 GB, free: 13.25 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00436/0.423, allocations: 1.236 MB / 0.5946 GB, free: 12 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.348e-05/0.423, allocations: 12 kB / 0.5946 GB, free: 11.99 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.423, allocations: 0 / 0.5946 GB, free: 11.99 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.567e-05/0.4231, allocations: 7.922 kB / 0.5946 GB, free: 11.98 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001417/0.4245, allocations: 0.8195 MB / 0.5954 GB, free: 11.11 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/0.4245, allocations: 0 / 0.5954 GB, free: 11.11 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007196/0.4252, allocations: 179.8 kB / 0.5956 GB, free: 10.94 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002237/0.4274, allocations: 229.6 kB / 0.5958 GB, free: 10.71 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.271e-05/0.4275, allocations: 31.98 kB / 0.5958 GB, free: 10.68 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005325/0.4328, allocations: 3.476 MB / 0.5992 GB, free: 7 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.03e-06/0.4328, allocations: 4.031 kB / 0.5992 GB, free: 6.996 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004523/0.4374, allocations: 1.592 MB / 0.6008 GB, free: 5.371 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002641/0.4376, allocations: 87.39 kB / 0.6009 GB, free: 5.285 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001531/0.4378, allocations: 32.11 kB / 0.6009 GB, free: 5.254 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005779/0.4384, allocations: 20 kB / 0.6009 GB, free: 5.234 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001764/0.4385, allocations: 80.78 kB / 0.601 GB, free: 5.156 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.281e-05/0.4386, allocations: 39.98 kB / 0.601 GB, free: 5.117 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001056/0.4397, allocations: 0.8856 MB / 0.6019 GB, free: 4.234 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4397, allocations: 0 / 0.6019 GB, free: 4.234 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00258/0.4423, allocations: 0.853 MB / 0.6027 GB, free: 3.379 MB / 446.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.002012/0.4443, allocations: 1.035 MB / 0.6038 GB, free: 2.332 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002445/0.4467, allocations: 1.357 MB / 0.6051 GB, free: 0.9531 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.477e-06/0.4467, allocations: 8 kB / 0.6051 GB, free: 0.9453 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001034/0.4478, allocations: 0.6395 MB / 0.6057 GB, free: 284 kB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001152/0.4489, allocations: 223.5 kB / 0.6059 GB, free: 60 kB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003495/0.4524, allocations: 2.134 MB / 0.608 GB, free: 13.88 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005109/0.4529, allocations: 496 kB / 0.6085 GB, free: 13.36 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0008673/0.4538, allocations: 259 kB / 0.6087 GB, free: 13.12 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003689/0.4542, allocations: 170.8 kB / 0.6089 GB, free: 12.95 MB / 462.1 MB Notification: Performance of SimCode: time 9.92e-07/0.4542, allocations: 4 kB / 0.6089 GB, free: 12.95 MB / 462.1 MB Notification: Performance of Templates: time 0.04529/0.4994, allocations: 30.71 MB / 0.6389 GB, free: 14.45 MB / 494.1 MB " [Timeout remaining time 659] make -j1 -f Chemical_master_Chemical.Obsolete.Examples.GasSolubility_blood.makefile [Timeout 660] (rm -f Chemical_master_Chemical.Obsolete.Examples.GasSolubility_blood.pipe ; mkfifo Chemical_master_Chemical.Obsolete.Examples.GasSolubility_blood.pipe ; head -c 1048576 < Chemical_master_Chemical.Obsolete.Examples.GasSolubility_blood.pipe >> ../files/Chemical_master_Chemical.Obsolete.Examples.GasSolubility_blood.sim & ./Chemical_master_Chemical.Obsolete.Examples.GasSolubility_blood -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.GasSolubility_blood.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.6793775700061815] Failed to read output from testmodel.py, exit status != 0: 0.5084524560079444 0.522352386 0.17434183299999995 Calling exit ...