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.002335/0.002335, allocations: 85.48 kB / 19.44 MB, free: 348 kB / 13.93 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.002902/0.002902, allocations: 177.2 kB / 22.76 MB, free: 1.664 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 1.573/1.573, allocations: 177.1 MB / 203.1 MB, free: 5.602 MB / 186.7 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.1481/0.1481, allocations: 17.45 MB / 277 MB, free: 11.61 MB / 266.7 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: Performance of FrontEnd - loaded program: time 1.723e-06/1.723e-06, allocations: 0 / 352.8 MB, free: 10.2 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.164e-05/3.336e-05, allocations: 6.312 kB / 352.8 MB, free: 10.19 MB / 282.7 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.05234/0.05237, allocations: 35.53 MB / 388.4 MB, free: 6.766 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.2069/0.2593, allocations: 47.72 MB / 436.1 MB, free: 31.18 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002127/0.2614, allocations: 55.59 kB / 436.2 MB, free: 31.15 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002408/0.2638, allocations: 0.9364 MB / 437.1 MB, free: 30.67 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00933/0.2732, allocations: 3.844 MB / 440.9 MB, free: 28.46 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01546/0.2886, allocations: 6.682 MB / 447.6 MB, free: 23.48 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.004842/0.2935, allocations: 4.687 MB / 452.3 MB, free: 20.64 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002431/0.2959, allocations: 2.318 MB / 454.6 MB, free: 18.93 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003197/0.2991, allocations: 3.157 MB / 457.8 MB, free: 16.57 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002878/0.302, allocations: 2.154 MB / 459.9 MB, free: 14.42 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000801/0.3028, allocations: 420 kB / 460.3 MB, free: 14.01 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01368/0.3164, allocations: 5.075 MB / 465.4 MB, free: 8.926 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001144/0.3176, allocations: 1.001 MB / 466.4 MB, free: 7.922 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002219/0.3198, allocations: 1.505 MB / 467.9 MB, free: 6.414 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02547/0.3453, allocations: 10.92 MB / 478.8 MB, free: 11.45 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.853e-06/0.3453, allocations: 0 / 478.8 MB, free: 11.45 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.3453, allocations: 3.938 kB / 478.8 MB, free: 11.45 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0001942/0.3455, allocations: 0 / 478.8 MB, free: 11.45 MB / 346.7 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.01453/0.36, allocations: 5.07 MB / 483.9 MB, free: 6.344 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.362e-05/0.3601, allocations: 8.031 kB / 483.9 MB, free: 6.336 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005163/0.3652, allocations: 1.423 MB / 485.3 MB, free: 4.91 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003984/0.3692, allocations: 1.64 MB / 487 MB, free: 3.238 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000362/0.3696, allocations: 349.7 kB / 487.3 MB, free: 2.871 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006593/0.3702, allocations: 332.2 kB / 487.7 MB, free: 2.547 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008149/0.3784, allocations: 4.13 MB / 491.8 MB, free: 14.33 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.798e-05/0.3785, allocations: 8.125 kB / 491.8 MB, free: 14.32 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003763/0.3788, allocations: 128.3 kB / 491.9 MB, free: 14.2 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.698e-05/0.3789, allocations: 79.94 kB / 492 MB, free: 14.12 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01043/0.3893, allocations: 5.211 MB / 497.2 MB, free: 8.902 MB / 362.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.02831/0.4177, allocations: 12.38 MB / 0.4976 GB, free: 12.44 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0106/0.4283, allocations: 4.827 MB / 0.5024 GB, free: 7.656 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003806/0.4321, allocations: 1.73 MB / 0.504 GB, free: 5.918 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02235/0.4544, allocations: 8.928 MB / 0.5128 GB, free: 12.97 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.266e-05/0.4545, allocations: 67.56 kB / 0.5128 GB, free: 12.89 MB / 394.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00211/0.4566, allocations: 456.4 kB / 0.5133 GB, free: 12.45 MB / 394.7 MB Notification: Performance of pre-optimization done (n=284): time 6.262e-06/0.4566, allocations: 0 / 0.5133 GB, free: 12.45 MB / 394.7 MB Notification: Performance of matching and sorting (n=387): time 0.08117/0.5378, allocations: 19.82 MB / 0.5326 GB, free: 8.656 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.799e-05/0.5379, allocations: 94.45 kB / 0.5327 GB, free: 8.551 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002744/0.5406, allocations: 1.823 MB / 0.5345 GB, free: 6.715 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006183/0.5412, allocations: 89.7 kB / 0.5346 GB, free: 6.621 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001389/0.5426, allocations: 1.491 MB / 0.536 GB, free: 5.117 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001924/0.5445, allocations: 1.44 MB / 0.5374 GB, free: 3.668 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001866/0.5464, allocations: 0.8899 MB / 0.5383 GB, free: 2.762 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002514/0.5467, allocations: 480.8 kB / 0.5388 GB, free: 2.289 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003243/0.5499, allocations: 1.496 MB / 0.5402 GB, free: 0.7852 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004994/0.5549, allocations: 2.98 MB / 0.5431 GB, free: 13.22 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0106/0.5655, allocations: 5.264 MB / 0.5483 GB, free: 7.418 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.834e-05/0.5655, allocations: 8 kB / 0.5483 GB, free: 7.41 MB / 426.7 MB Notification: Performance of matching and sorting (n=542) (initialization): time 0.02165/0.5872, allocations: 6.302 MB / 0.5544 GB, free: 1.094 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.733e-05/0.5873, allocations: 20 kB / 0.5545 GB, free: 1.074 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.919e-05/0.5873, allocations: 28 kB / 0.5545 GB, free: 1.047 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.1525/0.7398, allocations: 2.648 MB / 0.5571 GB, free: 136.7 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003795/0.7436, allocations: 0.8997 MB / 0.5579 GB, free: 136.7 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02451/0.7681, allocations: 21.73 MB / 0.5792 GB, free: 121 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003394/0.7715, allocations: 138.4 kB / 0.5793 GB, free: 120.9 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000636/0.7722, allocations: 231.9 kB / 0.5795 GB, free: 120.9 MB / 426.7 MB 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.001324/0.7735, allocations: 0.6426 MB / 0.5802 GB, free: 120.4 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009856/0.7745, allocations: 393 kB / 0.5805 GB, free: 120.4 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01617/0.7906, allocations: 6.08 MB / 0.5865 GB, free: 118.4 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.88e-05/0.7907, allocations: 41 kB / 0.5865 GB, free: 118.4 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.642e-05/0.7907, allocations: 6.031 kB / 0.5865 GB, free: 118.4 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.5e-05/0.7908, allocations: 17.77 kB / 0.5865 GB, free: 118.4 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02081/0.8116, allocations: 9.398 MB / 0.5957 GB, free: 114.3 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.2e-05/0.8116, allocations: 7.938 kB / 0.5957 GB, free: 114.3 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002834/0.8144, allocations: 0.6589 MB / 0.5964 GB, free: 113.7 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01246/0.8269, allocations: 2.377 MB / 0.5987 GB, free: 111.6 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000577/0.8275, allocations: 135.9 kB / 0.5988 GB, free: 111.5 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01868/0.8462, allocations: 20.4 MB / 0.6187 GB, free: 90.38 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.969e-06/0.8462, allocations: 7.938 kB / 0.6187 GB, free: 90.37 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01699/0.8631, allocations: 7.839 MB / 0.6264 GB, free: 82.4 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001684/0.8648, allocations: 0.6184 MB / 0.627 GB, free: 81.79 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004693/0.8653, allocations: 80 kB / 0.6271 GB, free: 81.71 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001915/0.8672, allocations: 102.6 kB / 0.6272 GB, free: 81.61 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000694/0.8679, allocations: 350.5 kB / 0.6275 GB, free: 81.27 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003051/0.8682, allocations: 163.9 kB / 0.6277 GB, free: 81.11 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001132/0.8693, allocations: 1.007 MB / 0.6286 GB, free: 80.11 MB / 426.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.8693, allocations: 4 kB / 0.6286 GB, free: 80.1 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.005614/0.875, allocations: 2.197 MB / 0.6308 GB, free: 78.24 MB / 426.7 MB 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.003928/0.8789, allocations: 2.335 MB / 0.6331 GB, free: 76.64 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.008917/0.8878, allocations: 5.714 MB / 0.6386 GB, free: 70.8 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 7.154e-06/0.8878, allocations: 4 kB / 0.6387 GB, free: 70.8 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005104/0.8929, allocations: 3.649 MB / 0.6422 GB, free: 67.03 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002839/0.8958, allocations: 0.6282 MB / 0.6428 GB, free: 66.46 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009669/0.9054, allocations: 6.535 MB / 0.6492 GB, free: 59.92 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009898/0.9064, allocations: 1.327 MB / 0.6505 GB, free: 58.59 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.002437/0.9088, allocations: 0.6426 MB / 0.6511 GB, free: 58.14 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001032/0.9099, allocations: 456.1 kB / 0.6516 GB, free: 57.7 MB / 426.7 MB Notification: Performance of SimCode: time 2.605e-06/0.9099, allocations: 2.688 kB / 0.6516 GB, free: 57.7 MB / 426.7 MB Notification: Performance of Templates: time 0.2346/1.144, allocations: 87.51 MB / 0.737 GB, free: 140.8 MB / 442.7 MB " [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=240 -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInBlood.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 9.73116292792838]