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.000696/0.000696, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009478/0.001644, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.0006844/0.0006844, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009317/0.001616, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.01/1.01, allocations: 177.2 MB / 189.7 MB, free: 5.242 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08147/1.092, allocations: 53.68 MB / 243.4 MB, free: 15.49 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.1-master/package.mo): time 0.08665/0.08665, allocations: 17.44 MB / 261.6 MB, free: 13.28 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0236/0.1103, allocations: 6.974 MB / 268.6 MB, free: 6.289 MB / 266.7 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.1-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.162e-06/1.162e-06, allocations: 0 / 269.9 MB, free: 4.977 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.721e-05/1.837e-05, allocations: 2.312 kB / 269.9 MB, free: 4.973 MB / 266.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.1-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 2.0.1-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.1302/0.1302, allocations: 14.21 MB / 284.1 MB, free: 14 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.03803/0.1682, allocations: 47.58 MB / 331.7 MB, free: 4.434 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002736/0.171, allocations: 47.62 kB / 331.7 MB, free: 4.387 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002184/0.1731, allocations: 0.9611 MB / 332.7 MB, free: 3.418 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008545/0.1817, allocations: 3.789 MB / 336.5 MB, free: 15.6 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01403/0.1957, allocations: 6.634 MB / 343.1 MB, free: 8.926 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.005021/0.2007, allocations: 4.651 MB / 347.7 MB, free: 4.262 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00263/0.2034, allocations: 2.349 MB / 350.1 MB, free: 1.836 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003747/0.2071, allocations: 3.347 MB / 353.4 MB, free: 14.43 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002647/0.2098, allocations: 2.136 MB / 355.6 MB, free: 12.29 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009572/0.2107, allocations: 420 kB / 356 MB, free: 11.88 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01165/0.2224, allocations: 5.291 MB / 361.3 MB, free: 6.582 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00101/0.2234, allocations: 0.6933 MB / 362 MB, free: 5.887 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001917/0.2253, allocations: 1.154 MB / 363.1 MB, free: 4.73 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01826/0.2436, allocations: 8.486 MB / 371.6 MB, free: 12.21 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.668e-05/0.2436, allocations: 3.984 kB / 371.6 MB, free: 12.21 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.2436, allocations: 0 / 371.6 MB, free: 12.21 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0001255/0.2437, allocations: 0 / 371.6 MB, free: 12.21 MB / 362.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.006937/0.2506, allocations: 6.048 MB / 377.7 MB, free: 6.105 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.367e-05/0.2507, allocations: 12.03 kB / 377.7 MB, free: 6.094 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002736/0.2534, allocations: 1.438 MB / 379.1 MB, free: 4.633 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00176/0.2552, allocations: 1.229 MB / 380.3 MB, free: 3.363 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001792/0.2554, allocations: 353.6 kB / 380.7 MB, free: 2.992 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003522/0.2557, allocations: 336.2 kB / 381 MB, free: 2.664 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002859/0.2586, allocations: 2.919 MB / 383.9 MB, free: 15.67 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.203e-05/0.2586, allocations: 192 / 383.9 MB, free: 15.67 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001943/0.2588, allocations: 132.1 kB / 384.1 MB, free: 15.54 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.239e-05/0.2588, allocations: 76 kB / 384.1 MB, free: 15.46 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002822/0.2617, allocations: 2.6 MB / 386.7 MB, free: 12.84 MB / 378.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.01131/0.273, allocations: 8.02 MB / 394.8 MB, free: 4.715 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004428/0.2774, allocations: 4.776 MB / 399.5 MB, free: 15.91 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008823/0.2783, allocations: 0.877 MB / 400.4 MB, free: 15.02 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009447/0.2877, allocations: 6.686 MB / 407.1 MB, free: 8.305 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.301e-05/0.2878, allocations: 64.8 kB / 407.2 MB, free: 8.23 MB / 394.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001034/0.2888, allocations: 441.9 kB / 407.6 MB, free: 7.797 MB / 394.7 MB Notification: Performance of pre-optimization done (n=284): time 9.598e-06/0.2888, allocations: 0 / 407.6 MB, free: 7.797 MB / 394.7 MB Notification: Performance of matching and sorting (n=379): time 0.03766/0.3265, allocations: 18.27 MB / 425.9 MB, free: 5.426 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.283e-05/0.3265, allocations: 98.33 kB / 426 MB, free: 5.316 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001117/0.3277, allocations: 1.386 MB / 427.3 MB, free: 3.922 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003371/0.328, allocations: 93.7 kB / 427.4 MB, free: 3.824 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004876/0.3285, allocations: 1.158 MB / 428.6 MB, free: 2.652 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009051/0.3294, allocations: 1.348 MB / 429.9 MB, free: 1.293 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007544/0.3301, allocations: 0.7559 MB / 430.7 MB, free: 0.5234 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.903e-05/0.3302, allocations: 305.1 kB / 431 MB, free: 228 kB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.1299/0.4601, allocations: 0.5773 MB / 431.6 MB, free: 81.54 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001818/0.4619, allocations: 1.593 MB / 433.2 MB, free: 80.43 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003886/0.4658, allocations: 2.896 MB / 436.1 MB, free: 79.29 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-05/0.4658, allocations: 10.81 kB / 436.1 MB, free: 79.29 MB / 410.7 MB Notification: Performance of matching and sorting (n=534) (initialization): time 0.00939/0.4752, allocations: 3.505 MB / 439.6 MB, free: 79.08 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.322e-05/0.4753, allocations: 22.66 kB / 439.6 MB, free: 79.07 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.244e-05/0.4753, allocations: 26.56 kB / 439.6 MB, free: 79.07 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008448/0.4838, allocations: 2.222 MB / 441.8 MB, free: 78.98 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002874/0.4866, allocations: 1.069 MB / 442.9 MB, free: 78.98 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0202/0.5068, allocations: 12.94 MB / 455.8 MB, free: 69.12 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002226/0.5091, allocations: 124.4 kB / 456 MB, free: 69.12 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002903/0.5093, allocations: 182.9 kB / 456.1 MB, free: 69.12 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 (461): * Single equations (assignments): 452 * 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%), (1,3,100.0%), (2,6,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.0007666/0.5101, allocations: 366.5 kB / 456.5 MB, free: 69 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004212/0.5105, allocations: 272.9 kB / 456.8 MB, free: 69 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005819/0.5164, allocations: 3.672 MB / 460.4 MB, free: 68.66 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.906e-05/0.5164, allocations: 43.78 kB / 460.5 MB, free: 68.66 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.058e-05/0.5164, allocations: 9.562 kB / 460.5 MB, free: 68.65 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.857e-05/0.5164, allocations: 21.7 kB / 460.5 MB, free: 68.65 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008063/0.5245, allocations: 5.231 MB / 465.7 MB, free: 67.98 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.637e-06/0.5245, allocations: 3.875 kB / 465.8 MB, free: 67.98 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001458/0.5259, allocations: 0.7934 MB / 466.5 MB, free: 67.98 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000855/0.5268, allocations: 373.4 kB / 466.9 MB, free: 67.98 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004964/0.5318, allocations: 2.023 MB / 468.9 MB, free: 67.81 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002635/0.532, allocations: 126.7 kB / 469.1 MB, free: 67.81 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007703/0.5397, allocations: 12.35 MB / 481.4 MB, free: 57.95 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.355e-05/0.5397, allocations: 7.875 kB / 481.4 MB, free: 57.95 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006085/0.5458, allocations: 4.26 MB / 485.7 MB, free: 56.41 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000348/0.5462, allocations: 86.89 kB / 485.8 MB, free: 56.38 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008851/0.5471, allocations: 92.61 kB / 485.8 MB, free: 56.35 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004517/0.5475, allocations: 342.5 kB / 486.2 MB, free: 56.06 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001786/0.5477, allocations: 124.4 kB / 486.3 MB, free: 55.97 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0004185/0.5481, allocations: 0.6205 MB / 486.9 MB, free: 55.46 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.8e-07/0.5481, allocations: 0 / 486.9 MB, free: 55.46 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.004293/0.5524, allocations: 2.193 MB / 489.1 MB, free: 53.81 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 (346): * Single equations (assignments): 337 * 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,2), (1,3), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003182/0.5556, allocations: 2.467 MB / 491.6 MB, free: 52.05 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.004342/0.5599, allocations: 3.5 MB / 495.1 MB, free: 48.79 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001086/0.56, allocations: 59.72 kB / 495.1 MB, free: 48.72 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002418/0.5625, allocations: 2.631 MB / 497.8 MB, free: 46.31 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002272/0.5647, allocations: 3.217 MB / 0.4892 GB, free: 42.79 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01871/0.5834, allocations: 5.729 MB / 0.4948 GB, free: 37.46 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004404/0.5839, allocations: 0.5715 MB / 0.4954 GB, free: 36.87 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001772/0.5856, allocations: 0.6259 MB / 0.496 GB, free: 36.27 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001304/0.587, allocations: 0.8314 MB / 0.4968 GB, free: 35.47 MB / 410.7 MB Notification: Performance of SimCode: time 1.503e-06/0.587, allocations: 0 / 0.4968 GB, free: 35.47 MB / 410.7 MB Notification: Performance of Templates: time 0.2154/0.8024, allocations: 98.13 MB / 0.5927 GB, free: 120.2 MB / 458.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: 18.82848223298788]