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.000867/0.000867, allocations: 80.89 kB / 19.94 MB, free: 4.551 MB / 18.57 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.0009161/0.0009161, allocations: 181 kB / 23.36 MB, free: 1.137 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 0.992/0.992, allocations: 177.1 MB / 203.8 MB, free: 5.469 MB / 186.7 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.08707/0.08707, allocations: 17.46 MB / 277.7 MB, free: 11.44 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.413e-06/1.413e-06, allocations: 0 / 300.8 MB, free: 1.285 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.145e-05/1.286e-05, allocations: 3.516 kB / 300.8 MB, free: 1.281 MB / 266.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.03498/0.03499, allocations: 43.56 MB / 344.4 MB, free: 8.426 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.03551/0.07051, allocations: 47.21 MB / 391.6 MB, free: 9.027 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001993/0.0725, allocations: 51.56 kB / 391.6 MB, free: 8.977 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001767/0.07427, allocations: 0.9689 MB / 392.6 MB, free: 8 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006538/0.08081, allocations: 3.796 MB / 396.4 MB, free: 4.176 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01178/0.09258, allocations: 6.641 MB / 403 MB, free: 13.49 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.003905/0.09649, allocations: 4.677 MB / 407.7 MB, free: 8.797 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001844/0.09833, allocations: 2.356 MB / 410.1 MB, free: 6.363 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002258/0.1006, allocations: 3.132 MB / 413.2 MB, free: 3.227 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002041/0.1026, allocations: 2.132 MB / 415.3 MB, free: 1.09 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004403/0.1031, allocations: 420 kB / 415.7 MB, free: 0.6797 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0102/0.1133, allocations: 5.259 MB / 421 MB, free: 11.41 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005849/0.1139, allocations: 1.005 MB / 422 MB, free: 10.4 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00144/0.1153, allocations: 1.509 MB / 423.5 MB, free: 8.891 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01385/0.1291, allocations: 9.354 MB / 432.9 MB, free: 15.5 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.1292, allocations: 0 / 432.9 MB, free: 15.5 MB / 410.7 MB Notification: Performance of FrontEnd: time 9.41e-07/0.1292, allocations: 0 / 432.9 MB, free: 15.5 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.777e-05/0.1292, allocations: 4 kB / 432.9 MB, free: 15.5 MB / 410.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.005025/0.1342, allocations: 4.704 MB / 437.6 MB, free: 10.74 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.92e-05/0.1342, allocations: 8.031 kB / 437.6 MB, free: 10.73 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002318/0.1366, allocations: 1.366 MB / 438.9 MB, free: 9.359 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001498/0.1381, allocations: 1.233 MB / 440.2 MB, free: 8.086 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000176/0.1382, allocations: 345.7 kB / 440.5 MB, free: 7.723 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003323/0.1386, allocations: 328.3 kB / 440.8 MB, free: 7.402 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002924/0.1415, allocations: 2.923 MB / 443.8 MB, free: 4.402 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.35e-05/0.1415, allocations: 192 / 443.8 MB, free: 4.402 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000198/0.1417, allocations: 132.1 kB / 443.9 MB, free: 4.273 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.951e-05/0.1418, allocations: 80 kB / 444 MB, free: 4.195 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002753/0.1445, allocations: 2.596 MB / 446.6 MB, free: 1.574 MB / 410.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.1449/0.2894, allocations: 7.977 MB / 454.5 MB, free: 72.43 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005199/0.2946, allocations: 4.769 MB / 459.3 MB, free: 72.2 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008339/0.2955, allocations: 0.879 MB / 460.2 MB, free: 72.17 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00898/0.3045, allocations: 6.911 MB / 467.1 MB, free: 71.67 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.086e-05/0.3045, allocations: 61.92 kB / 467.2 MB, free: 71.63 MB / 410.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008526/0.3053, allocations: 440.2 kB / 467.6 MB, free: 71.56 MB / 410.7 MB Notification: Performance of pre-optimization done (n=284): time 6.231e-06/0.3053, allocations: 3.938 kB / 467.6 MB, free: 71.56 MB / 410.7 MB Notification: Performance of matching and sorting (n=387): time 0.03131/0.3367, allocations: 15.34 MB / 482.9 MB, free: 70.55 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.498e-05/0.3367, allocations: 95.95 kB / 483 MB, free: 70.48 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007768/0.3375, allocations: 1.39 MB / 484.4 MB, free: 70.26 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001568/0.3376, allocations: 85.73 kB / 484.5 MB, free: 70.23 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000311/0.3379, allocations: 1.156 MB / 485.7 MB, free: 69.68 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005574/0.3385, allocations: 1.373 MB / 487 MB, free: 68.95 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007188/0.3392, allocations: 0.7671 MB / 487.8 MB, free: 68.62 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.592e-05/0.3392, allocations: 301.1 kB / 488.1 MB, free: 68.32 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006914/0.3399, allocations: 0.5868 MB / 488.7 MB, free: 67.73 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000923/0.3409, allocations: 1.618 MB / 490.3 MB, free: 65.82 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002055/0.3429, allocations: 2.839 MB / 493.1 MB, free: 62.84 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.296e-05/0.3429, allocations: 15.47 kB / 493.1 MB, free: 62.82 MB / 410.7 MB Notification: Performance of matching and sorting (n=542) (initialization): time 0.005914/0.3488, allocations: 3.502 MB / 496.7 MB, free: 59.68 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.408e-05/0.3489, allocations: 22.62 kB / 496.7 MB, free: 59.66 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.474e-05/0.3489, allocations: 28 kB / 496.7 MB, free: 59.64 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005861/0.3547, allocations: 2.225 MB / 498.9 MB, free: 57.66 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001766/0.3565, allocations: 0.9858 MB / 499.9 MB, free: 56.77 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008803/0.3653, allocations: 12.91 MB / 0.5008 GB, free: 44.11 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001165/0.3665, allocations: 136 kB / 0.5009 GB, free: 44.05 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002138/0.3667, allocations: 181.7 kB / 0.5011 GB, free: 43.91 MB / 410.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.0005594/0.3673, allocations: 363.5 kB / 0.5015 GB, free: 43.74 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000338/0.3676, allocations: 284.8 kB / 0.5017 GB, free: 43.51 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005797/0.3734, allocations: 3.711 MB / 0.5054 GB, free: 40.4 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.472e-05/0.3734, allocations: 51.77 kB / 0.5054 GB, free: 40.36 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.596e-06/0.3734, allocations: 4 kB / 0.5054 GB, free: 40.36 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.194e-05/0.3734, allocations: 19.92 kB / 0.5054 GB, free: 40.34 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008032/0.3815, allocations: 5.292 MB / 0.5106 GB, free: 35.75 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.315e-06/0.3815, allocations: 6.688 kB / 0.5106 GB, free: 35.75 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001399/0.3829, allocations: 0.7228 MB / 0.5113 GB, free: 35.09 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005123/0.388, allocations: 2.009 MB / 0.5133 GB, free: 33.3 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000211/0.3882, allocations: 126.7 kB / 0.5134 GB, free: 33.24 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007248/0.3955, allocations: 12.34 MB / 0.5254 GB, free: 20.68 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.836e-06/0.3955, allocations: 7.844 kB / 0.5254 GB, free: 20.68 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005868/0.4013, allocations: 4.268 MB / 0.5296 GB, free: 16.41 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000616/0.4019, allocations: 387.3 kB / 0.53 GB, free: 16.04 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002314/0.4022, allocations: 80 kB / 0.5301 GB, free: 15.96 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007858/0.403, allocations: 87.98 kB / 0.5301 GB, free: 15.88 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004196/0.4034, allocations: 353.9 kB / 0.5305 GB, free: 15.54 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001627/0.4035, allocations: 119.9 kB / 0.5306 GB, free: 15.43 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003395/0.4039, allocations: 0.6249 MB / 0.5312 GB, free: 14.88 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4039, allocations: 0 / 0.5312 GB, free: 14.88 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.004213/0.4081, allocations: 2.208 MB / 0.5334 GB, free: 12.91 MB / 410.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.002398/0.4105, allocations: 2.456 MB / 0.5358 GB, free: 10.92 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003143/0.4136, allocations: 3.472 MB / 0.5391 GB, free: 7.539 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.402e-05/0.4137, allocations: 31.84 kB / 0.5392 GB, free: 7.504 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001817/0.4155, allocations: 2.34 MB / 0.5415 GB, free: 5.207 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001264/0.4167, allocations: 0.6124 MB / 0.5421 GB, free: 4.668 MB / 410.7 MB Error: Error parsing unit kDa: Unit not found Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005604/0.4224, allocations: 5.566 MB / 0.5475 GB, free: 15.14 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006788/0.423, allocations: 0.5652 MB / 0.548 GB, free: 14.55 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001469/0.4245, allocations: 0.6264 MB / 0.5487 GB, free: 14.12 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001488/0.426, allocations: 0.8327 MB / 0.5495 GB, free: 13.29 MB / 426.7 MB Notification: Performance of SimCode: time 6.41e-07/0.426, allocations: 0 / 0.5495 GB, free: 13.29 MB / 426.7 MB Notification: Performance of Templates: time 0.2169/0.6429, allocations: 97.52 MB / 0.6447 GB, free: 116.1 MB / 474.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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInBlood.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.756577060092241]