Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInBlood.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.001284/0.001284, allocations: 79.34 kB / 19.76 MB, free: 2.035 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.001361/0.001361, allocations: 156.6 kB / 23.01 MB, free: 4.941 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.339/1.339, allocations: 177.2 MB / 203.4 MB, free: 8.969 MB / 190.1 MB " [Timeout remaining time 179] 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.1229/0.1229, allocations: 17.45 MB / 277.2 MB, free: 15.18 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.AcidBase.CarbonDioxideInBlood,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInBlood") translateModel(Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInBlood,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInBlood") [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.002049/0.002049, allocations: 64.09 kB / 412.6 MB, free: 5.547 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09859/0.1006, allocations: 59.88 MB / 472.5 MB, free: 9.551 MB / 446.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/Obsolete.mo:14335:7-14335:66:writable] Warning: An inner declaration for outer component system could not be found and was automatically generated. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/Obsolete.mo:14335:7-14335:66:writable] Notification: The diagnostics message for the missing inner is: Your model is using an outer \"system\" component but an inner \"system\" component is not defined. For simulation drag Modelica.Fluid.System into your model to specify system properties. Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInBlood): time 0.2568/0.3574, allocations: 33.4 MB / 0.494 GB, free: 37.05 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.03941/0.3968, allocations: 41.75 MB / 0.5348 GB, free: 10.37 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002018/0.3989, allocations: 47 kB / 0.5348 GB, free: 10.35 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002471/0.4013, allocations: 0.9228 MB / 0.5357 GB, free: 9.859 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009262/0.4106, allocations: 3.713 MB / 0.5394 GB, free: 7.641 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01451/0.4251, allocations: 6.494 MB / 0.5457 GB, free: 3.84 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.00488/0.43, allocations: 4.534 MB / 0.5501 GB, free: 0.6172 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002989/0.433, allocations: 2.206 MB / 0.5523 GB, free: 14.93 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003519/0.4365, allocations: 2.29 MB / 0.5545 GB, free: 12.89 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004499/0.441, allocations: 2.346 MB / 0.5568 GB, free: 11.06 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001042/0.442, allocations: 420 kB / 0.5572 GB, free: 10.65 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01535/0.4574, allocations: 5.03 MB / 0.5621 GB, free: 6.141 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001924/0.4593, allocations: 0.9953 MB / 0.5631 GB, free: 5.332 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002939/0.4623, allocations: 1.727 MB / 0.5648 GB, free: 3.785 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0234/0.4857, allocations: 10.2 MB / 0.5747 GB, free: 10.94 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.231e-06/0.4857, allocations: 0 / 0.5747 GB, free: 10.94 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.4857, allocations: 0 / 0.5747 GB, free: 10.94 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0001225/0.4858, allocations: 0 / 0.5747 GB, free: 10.94 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 803 * Number of variables: 803 Notification: Performance of Generate backend data structure: time 0.01092/0.4967, allocations: 4.765 MB / 0.5794 GB, free: 6.117 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.993e-05/0.4968, allocations: 12.03 kB / 0.5794 GB, free: 6.105 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003786/0.5005, allocations: 0.841 MB / 0.5802 GB, free: 5.262 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00308/0.5036, allocations: 1.616 MB / 0.5818 GB, free: 3.602 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003085/0.5039, allocations: 345.7 kB / 0.5821 GB, free: 3.238 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005843/0.5045, allocations: 332.2 kB / 0.5825 GB, free: 2.914 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007665/0.5122, allocations: 4.551 MB / 0.5869 GB, free: 14.29 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.15e-05/0.5122, allocations: 3.938 kB / 0.5869 GB, free: 14.29 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003334/0.5126, allocations: 128 kB / 0.587 GB, free: 14.16 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.195e-05/0.5126, allocations: 76 kB / 0.5871 GB, free: 14.09 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009821/0.5225, allocations: 6.169 MB / 0.5931 GB, free: 7.91 MB / 494.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.0221/0.5446, allocations: 11.66 MB / 0.6045 GB, free: 12.14 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008982/0.5535, allocations: 5.306 MB / 0.6097 GB, free: 6.852 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003132/0.5567, allocations: 2.059 MB / 0.6117 GB, free: 4.785 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01988/0.5765, allocations: 9.109 MB / 0.6206 GB, free: 11.64 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.717e-05/0.5766, allocations: 64.8 kB / 0.6207 GB, free: 11.57 MB / 0.5137 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001938/0.5785, allocations: 450 kB / 0.6211 GB, free: 11.12 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=284): time 1.146e-05/0.5786, allocations: 3.984 kB / 0.6211 GB, free: 11.12 MB / 0.5137 GB Notification: Performance of matching and sorting (n=387): time 0.08652/0.6651, allocations: 23.34 MB / 0.6439 GB, free: 3.605 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.299e-05/0.6652, allocations: 94.45 kB / 0.644 GB, free: 3.5 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002179/0.6673, allocations: 1.641 MB / 0.6456 GB, free: 1.855 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0002951/0.6676, allocations: 89.7 kB / 0.6457 GB, free: 1.762 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.001045/0.6687, allocations: 1.366 MB / 0.647 GB, free: 392 kB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001277/0.67, allocations: 1.375 MB / 0.6483 GB, free: 14.99 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001355/0.6713, allocations: 0.7798 MB / 0.6491 GB, free: 14.2 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001277/0.6714, allocations: 305.1 kB / 0.6494 GB, free: 13.9 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003224/0.6747, allocations: 1.839 MB / 0.6512 GB, free: 12.05 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004218/0.6789, allocations: 2.85 MB / 0.654 GB, free: 8.766 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008015/0.6869, allocations: 4.975 MB / 0.6588 GB, free: 3.363 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.112e-05/0.6869, allocations: 11.75 kB / 0.6588 GB, free: 3.355 MB / 0.545 GB Notification: Performance of matching and sorting (n=542) (initialization): time 0.01895/0.7059, allocations: 6.822 MB / 0.6655 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 6.431e-05/0.7059, allocations: 20 kB / 0.6655 GB, free: 12.46 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.174e-05/0.706, allocations: 28 kB / 0.6656 GB, free: 12.43 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01142/0.7174, allocations: 2.286 MB / 0.6678 GB, free: 10.12 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00378/0.7212, allocations: 0.8932 MB / 0.6687 GB, free: 9.223 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02847/0.7497, allocations: 17.42 MB / 0.6857 GB, free: 7.027 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003438/0.7531, allocations: 140 kB / 0.6858 GB, free: 6.891 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009977/0.7541, allocations: 231.9 kB / 0.686 GB, free: 6.664 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 133 * 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 (469): * Single equations (assignments): 460 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,16,77.8%), (1,3,100.0%), (2,6,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 5 systems {(3,26), (1,3), (1,6), (1,2), (1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.00197/0.7561, allocations: 0.606 MB / 0.6866 GB, free: 6.047 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001034/0.7571, allocations: 270.3 kB / 0.6869 GB, free: 5.781 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2364/0.9935, allocations: 6.559 MB / 0.6933 GB, free: 167.3 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.94e-05/0.9936, allocations: 39.91 kB / 0.6933 GB, free: 167.3 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.69e-05/0.9936, allocations: 6.438 kB / 0.6933 GB, free: 167.3 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001097/0.9937, allocations: 20.11 kB / 0.6933 GB, free: 167.3 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01984/1.014, allocations: 9.757 MB / 0.7029 GB, free: 165.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.197e-05/1.014, allocations: 3.219 kB / 0.7029 GB, free: 165.2 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002939/1.016, allocations: 0.6616 MB / 0.7035 GB, free: 165.1 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008624/1.025, allocations: 2.011 MB / 0.7055 GB, free: 164.7 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005928/1.026, allocations: 134.6 kB / 0.7056 GB, free: 164.7 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01817/1.044, allocations: 16.02 MB / 0.7213 GB, free: 152.1 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.364e-06/1.044, allocations: 6.25 kB / 0.7213 GB, free: 152.1 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01865/1.063, allocations: 8.504 MB / 0.7296 GB, free: 148.6 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001654/1.064, allocations: 0.6276 MB / 0.7302 GB, free: 148.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006559/1.065, allocations: 84.53 kB / 0.7303 GB, free: 148.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002145/1.067, allocations: 92.11 kB / 0.7303 GB, free: 148.3 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007343/1.068, allocations: 351.7 kB / 0.7307 GB, free: 148.2 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004229/1.068, allocations: 165.6 kB / 0.7308 GB, free: 148.2 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001385/1.07, allocations: 1.029 MB / 0.7318 GB, free: 147.8 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/1.07, allocations: 0 / 0.7318 GB, free: 147.8 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.00646/1.076, allocations: 2.202 MB / 0.734 GB, free: 147.6 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 18 * Number of states: 14 (blood_erythrocytes.temperature,blood_erythrocytes.mass,blood_plasma.temperature,blood_plasma.mass,HCO3.logn,CO2.logn,H2O.logn,HCO3_E.logn,CO2_E.logn,H2O_E.logn,Cl_E.logn,Cl.logn,others_E.logn,others_P.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 (354): * Single equations (assignments): 345 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,16,77.8%), (1,3,100.0%), (2,6,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 5 systems {(2,8), (4,30), (1,3), (1,2), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.005013/1.081, allocations: 2.253 MB / 0.7362 GB, free: 147.4 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01013/1.091, allocations: 5.598 MB / 0.7417 GB, free: 144.8 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.035e-05/1.091, allocations: 1.875 kB / 0.7417 GB, free: 144.8 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.006062/1.097, allocations: 3.351 MB / 0.7449 GB, free: 143.1 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00308/1.1, allocations: 0.5444 MB / 0.7455 GB, free: 142.9 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01405/1.114, allocations: 6.772 MB / 0.7521 GB, free: 139.7 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00245/1.117, allocations: 1.33 MB / 0.7534 GB, free: 139.5 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.003226/1.12, allocations: 0.6548 MB / 0.754 GB, free: 139.4 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001443/1.121, allocations: 453.1 kB / 0.7544 GB, free: 139.4 MB / 0.5762 GB Notification: Performance of SimCode: time 1.233e-06/1.121, allocations: 0 / 0.7544 GB, free: 139.4 MB / 0.5762 GB Notification: Performance of Templates: time 0.09919/1.221, allocations: 86.12 MB / 0.8386 GB, free: 66.52 MB / 0.5762 GB " [Timeout remaining time 659] make -j1 -f Chemical_master_Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInBlood.makefile [Timeout 660] (rm -f Chemical_master_Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInBlood.pipe ; mkfifo Chemical_master_Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInBlood.pipe ; head -c 1048576 < Chemical_master_Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInBlood.pipe >> ../files/Chemical_master_Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInBlood.sim & ./Chemical_master_Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInBlood -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInBlood.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.843264455907047] Failed to read output from testmodel.py, exit status != 0: 1.229136171983555 1.237859252 0.749938664 Calling exit ...