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.001667/0.001667, allocations: 92.42 kB / 19.7 MB, free: 2.137 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.001987/0.001987, allocations: 213 kB / 22.99 MB, free: 4.953 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.469/1.469, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.1456/0.1456, allocations: 23.92 MB / 337.1 MB, free: 10.94 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.002052/0.002052, allocations: 63.91 kB / 472.4 MB, free: 6.977 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3462/0.3483, allocations: 59.88 MB / 0.5198 GB, free: 9.77 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.GasSolubility_blood): time 0.007047/0.3553, allocations: 6.256 MB / 0.5259 GB, free: 5.625 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02513/0.3804, allocations: 19.19 MB / 0.5447 GB, free: 8.562 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001588/0.382, allocations: 20.5 kB / 0.5447 GB, free: 8.551 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001567/0.3836, allocations: 406.7 kB / 0.5451 GB, free: 8.348 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006402/0.39, allocations: 1.63 MB / 0.5467 GB, free: 7.387 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01022/0.4002, allocations: 2.858 MB / 0.5495 GB, free: 5.707 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003482/0.4037, allocations: 1.831 MB / 0.5513 GB, free: 4.723 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001282/0.405, allocations: 0.7656 MB / 0.552 GB, free: 4.164 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001342/0.4063, allocations: 0.8706 MB / 0.5528 GB, free: 3.758 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001577/0.4079, allocations: 0.9594 MB / 0.5538 GB, free: 3.176 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002991/0.4082, allocations: 152.3 kB / 0.5539 GB, free: 3.176 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008611/0.4168, allocations: 2.26 MB / 0.5561 GB, free: 2.391 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006897/0.4175, allocations: 364.5 kB / 0.5565 GB, free: 2.098 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001339/0.4189, allocations: 0.6732 MB / 0.5571 GB, free: 1.691 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01305/0.4319, allocations: 4.238 MB / 0.5613 GB, free: 15.07 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.061e-06/0.4319, allocations: 0 / 0.5613 GB, free: 15.07 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.4319, allocations: 0 / 0.5613 GB, free: 15.07 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.051e-05/0.4319, allocations: 1.188 kB / 0.5613 GB, free: 15.07 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.004563/0.4365, allocations: 2.051 MB / 0.5633 GB, free: 13.06 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.296e-05/0.4366, allocations: 8.031 kB / 0.5633 GB, free: 13.05 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001682/0.4382, allocations: 391.1 kB / 0.5637 GB, free: 12.67 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001536/0.4398, allocations: 0.7041 MB / 0.5644 GB, free: 11.94 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.213e-05/0.4399, allocations: 102.8 kB / 0.5645 GB, free: 11.84 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002321/0.4401, allocations: 124.3 kB / 0.5646 GB, free: 11.72 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002789/0.4429, allocations: 1.783 MB / 0.5663 GB, free: 9.895 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.867e-05/0.4429, allocations: 0 / 0.5663 GB, free: 9.895 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001265/0.443, allocations: 55.94 kB / 0.5664 GB, free: 9.84 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.965e-05/0.4431, allocations: 28 kB / 0.5664 GB, free: 9.812 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003678/0.4467, allocations: 2.5 MB / 0.5688 GB, free: 7.305 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.008492/0.4552, allocations: 4.172 MB / 0.5729 GB, free: 3.062 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003477/0.4587, allocations: 1.839 MB / 0.5747 GB, free: 1.219 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008387/0.4595, allocations: 498.7 kB / 0.5752 GB, free: 0.7227 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006479/0.466, allocations: 2.685 MB / 0.5778 GB, free: 14.02 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.737e-05/0.4661, allocations: 47.2 kB / 0.5778 GB, free: 13.96 MB / 430.1 MB Notification: Performance of pre-optimization done (n=72): time 2.284e-06/0.4661, allocations: 0 / 0.5778 GB, free: 13.96 MB / 430.1 MB Notification: Performance of matching and sorting (n=89): time 0.01408/0.4802, allocations: 3.224 MB / 0.581 GB, free: 10.7 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.111e-05/0.4802, allocations: 60.41 kB / 0.5811 GB, free: 10.63 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002022/0.4823, allocations: 1.286 MB / 0.5823 GB, free: 9.328 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001245/0.4824, allocations: 41.64 kB / 0.5824 GB, free: 9.281 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006424/0.483, allocations: 0.7061 MB / 0.583 GB, free: 8.566 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003834/0.4834, allocations: 337.2 kB / 0.5834 GB, free: 8.234 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004632/0.4839, allocations: 291.4 kB / 0.5836 GB, free: 7.945 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002195/0.4841, allocations: 353.9 kB / 0.584 GB, free: 7.594 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008759/0.485, allocations: 0.5232 MB / 0.5845 GB, free: 7.07 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001355/0.4863, allocations: 1.008 MB / 0.5855 GB, free: 5.855 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002089/0.4884, allocations: 1.445 MB / 0.5869 GB, free: 4.191 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.508e-06/0.4884, allocations: 4 kB / 0.5869 GB, free: 4.188 MB / 430.1 MB Notification: Performance of matching and sorting (n=185) (initialization): time 0.00469/0.4931, allocations: 1.928 MB / 0.5888 GB, free: 2.246 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.851e-05/0.4931, allocations: 15.94 kB / 0.5888 GB, free: 2.23 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.969e-05/0.4932, allocations: 16 kB / 0.5888 GB, free: 2.215 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001795/0.495, allocations: 249.4 kB / 0.589 GB, free: 1.965 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001145/0.4961, allocations: 355.5 kB / 0.5894 GB, free: 1.617 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005715/0.5018, allocations: 3.597 MB / 0.5929 GB, free: 13.82 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001156/0.503, allocations: 48 kB / 0.5929 GB, free: 13.77 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001711/0.5032, allocations: 79.97 kB / 0.593 GB, free: 13.69 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.0005663/0.5037, allocations: 297.3 kB / 0.5933 GB, free: 13.39 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002627/0.504, allocations: 103.3 kB / 0.5934 GB, free: 13.29 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003802/0.5078, allocations: 1.251 MB / 0.5946 GB, free: 12.02 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.143e-05/0.5078, allocations: 8 kB / 0.5946 GB, free: 12.02 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.251e-06/0.5078, allocations: 4 kB / 0.5946 GB, free: 12.01 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.265e-05/0.5078, allocations: 7.922 kB / 0.5946 GB, free: 12 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00151/0.5093, allocations: 0.8079 MB / 0.5954 GB, free: 11.15 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.51e-06/0.5093, allocations: 8.062 kB / 0.5954 GB, free: 11.14 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000688/0.51, allocations: 183.7 kB / 0.5956 GB, free: 10.96 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001724/0.5117, allocations: 225.5 kB / 0.5958 GB, free: 10.73 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.332e-05/0.5118, allocations: 31.98 kB / 0.5959 GB, free: 10.7 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005168/0.517, allocations: 3.488 MB / 0.5993 GB, free: 7.016 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.325e-06/0.517, allocations: 0 / 0.5993 GB, free: 7.016 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004221/0.5212, allocations: 1.588 MB / 0.6008 GB, free: 5.395 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00041/0.5216, allocations: 91.39 kB / 0.6009 GB, free: 5.305 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001632/0.5218, allocations: 27.92 kB / 0.6009 GB, free: 5.277 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004989/0.5223, allocations: 20 kB / 0.6009 GB, free: 5.258 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001902/0.5225, allocations: 76.86 kB / 0.601 GB, free: 5.184 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.283e-05/0.5226, allocations: 39.98 kB / 0.6011 GB, free: 5.145 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001122/0.5237, allocations: 0.8817 MB / 0.6019 GB, free: 4.266 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.5237, allocations: 0 / 0.6019 GB, free: 4.266 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00294/0.5266, allocations: 0.8569 MB / 0.6028 GB, free: 3.406 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.002331/0.529, allocations: 1.035 MB / 0.6038 GB, free: 2.363 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002762/0.5317, allocations: 1.36 MB / 0.6051 GB, free: 0.9805 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.342e-06/0.5317, allocations: 4 kB / 0.6051 GB, free: 0.9766 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001055/0.5328, allocations: 0.6447 MB / 0.6057 GB, free: 312 kB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001332/0.5341, allocations: 227.7 kB / 0.6059 GB, free: 88 kB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003936/0.5381, allocations: 2.171 MB / 0.6081 GB, free: 13.87 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005744/0.5386, allocations: 500 kB / 0.6085 GB, free: 13.34 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005324/0.5392, allocations: 218.8 kB / 0.6087 GB, free: 13.13 MB / 462.1 MB Notification: Performance of SimCode: time 5.82e-07/0.5392, allocations: 0 / 0.6087 GB, free: 13.13 MB / 462.1 MB Notification: Performance of Templates: time 0.0442/0.5834, allocations: 32.12 MB / 0.6401 GB, free: 13.09 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 -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.GasSolubility_blood.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 10.434425466984976] Failed to read output from testmodel.py, exit status != 0: 0.5930208879872225 0.607807935 0.172455134 Calling exit ...