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.000971/0.000971, allocations: 82.05 kB / 19.87 MB, free: 4.617 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.00108/0.00108, allocations: 173.7 kB / 23.28 MB, free: 1.219 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.9929/0.9929, allocations: 177.2 MB / 203.7 MB, free: 5.508 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.08607/0.08607, allocations: 17.46 MB / 277.7 MB, free: 11.41 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.403e-06/1.403e-06, allocations: 0 / 354 MB, free: 9.543 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.135e-05/1.275e-05, allocations: 8.562 kB / 354 MB, free: 9.535 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.02889/0.0289, allocations: 37.7 MB / 391.7 MB, free: 3.934 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.1516/0.1805, allocations: 46.51 MB / 438.2 MB, free: 31.19 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001995/0.1825, allocations: 50.91 kB / 438.3 MB, free: 31.16 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002131/0.1847, allocations: 0.9382 MB / 439.2 MB, free: 30.66 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008049/0.1927, allocations: 3.848 MB / 443.1 MB, free: 28.21 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01318/0.2059, allocations: 6.686 MB / 449.8 MB, free: 23.13 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.004457/0.2104, allocations: 4.699 MB / 454.5 MB, free: 20.28 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002499/0.2129, allocations: 2.32 MB / 456.8 MB, free: 18.47 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003541/0.2164, allocations: 3.151 MB / 459.9 MB, free: 15.32 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002619/0.219, allocations: 2.15 MB / 462.1 MB, free: 13.16 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008241/0.2198, allocations: 426.6 kB / 462.5 MB, free: 12.75 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0111/0.2309, allocations: 5.056 MB / 467.6 MB, free: 7.684 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0011/0.232, allocations: 1.009 MB / 468.6 MB, free: 6.672 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00205/0.2341, allocations: 1.509 MB / 470.1 MB, free: 5.16 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02041/0.2545, allocations: 9.358 MB / 479.4 MB, free: 11.77 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.2545, allocations: 0 / 479.4 MB, free: 11.77 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.403e-06/0.2545, allocations: 0 / 479.4 MB, free: 11.77 MB / 346.7 MB Notification: Performance of Transformations before backend: time 9.634e-05/0.2546, allocations: 6.594 kB / 479.4 MB, free: 11.76 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.006553/0.2611, allocations: 4.883 MB / 484.3 MB, free: 6.844 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.841e-05/0.2612, allocations: 8.031 kB / 484.3 MB, free: 6.836 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00281/0.264, allocations: 1.43 MB / 485.8 MB, free: 5.402 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002008/0.266, allocations: 1.628 MB / 487.4 MB, free: 3.742 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001839/0.2662, allocations: 353.6 kB / 487.7 MB, free: 3.371 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003801/0.2666, allocations: 332.2 kB / 488.1 MB, free: 3.047 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003333/0.2699, allocations: 2.914 MB / 491 MB, free: 48 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.061e-05/0.2699, allocations: 192 / 491 MB, free: 48 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002252/0.2702, allocations: 124.5 kB / 491.1 MB, free: 15.92 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.239e-05/0.2702, allocations: 79.94 kB / 491.2 MB, free: 15.84 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003406/0.2736, allocations: 3.019 MB / 494.2 MB, free: 12.8 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.01293/0.2866, allocations: 10.17 MB / 0.4925 GB, free: 2.559 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005184/0.2917, allocations: 5.012 MB / 0.4974 GB, free: 13.59 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00131/0.293, allocations: 1.015 MB / 0.4984 GB, free: 12.57 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01113/0.3042, allocations: 8.001 MB / 0.5062 GB, free: 4.664 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.707e-05/0.3042, allocations: 71.56 kB / 0.5063 GB, free: 4.582 MB / 378.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001078/0.3053, allocations: 444.4 kB / 0.5067 GB, free: 4.156 MB / 378.7 MB Notification: Performance of pre-optimization done (n=284): time 6.492e-06/0.3053, allocations: 0 / 0.5067 GB, free: 4.156 MB / 378.7 MB Notification: Performance of matching and sorting (n=387): time 0.03203/0.3373, allocations: 14.83 MB / 0.5212 GB, free: 5.355 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.59e-05/0.3374, allocations: 90.45 kB / 0.5213 GB, free: 5.254 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001178/0.3386, allocations: 1.474 MB / 0.5227 GB, free: 3.766 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002145/0.3388, allocations: 88.39 kB / 0.5228 GB, free: 3.676 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006475/0.3394, allocations: 1.428 MB / 0.5242 GB, free: 2.234 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008297/0.3403, allocations: 1.382 MB / 0.5256 GB, free: 0.8398 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008295/0.3411, allocations: 0.7998 MB / 0.5263 GB, free: 24 kB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001069/0.3412, allocations: 484.7 kB / 0.5268 GB, free: 15.55 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000875/0.3421, allocations: 0.703 MB / 0.5275 GB, free: 14.84 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001586/0.3437, allocations: 2.116 MB / 0.5296 GB, free: 12.13 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00296/0.3466, allocations: 3.323 MB / 0.5328 GB, free: 8.266 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.452e-05/0.3466, allocations: 8 kB / 0.5328 GB, free: 8.258 MB / 410.7 MB Notification: Performance of matching and sorting (n=542) (initialization): time 0.007874/0.3545, allocations: 4.426 MB / 0.5371 GB, free: 3.82 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.974e-05/0.3545, allocations: 19.94 kB / 0.5372 GB, free: 3.801 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.476e-05/0.3546, allocations: 32 kB / 0.5372 GB, free: 3.77 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006879/0.3615, allocations: 2.234 MB / 0.5394 GB, free: 1.574 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002647/0.3641, allocations: 0.8893 MB / 0.5402 GB, free: 0.6836 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1586/0.5227, allocations: 18.06 MB / 0.5579 GB, free: 93.82 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002069/0.5248, allocations: 130.2 kB / 0.558 GB, free: 93.82 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003661/0.5252, allocations: 203.3 kB / 0.5582 GB, free: 93.82 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.0009151/0.5261, allocations: 404 kB / 0.5586 GB, free: 93.66 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006633/0.5267, allocations: 398.4 kB / 0.559 GB, free: 93.66 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008147/0.5349, allocations: 4.45 MB / 0.5633 GB, free: 93.39 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.301e-05/0.5349, allocations: 43.84 kB / 0.5633 GB, free: 93.39 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.911e-05/0.5349, allocations: 5.734 kB / 0.5634 GB, free: 93.39 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.748e-05/0.535, allocations: 21.16 kB / 0.5634 GB, free: 93.39 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01068/0.5457, allocations: 6.691 MB / 0.5699 GB, free: 92.58 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.023e-05/0.5457, allocations: 4.562 kB / 0.5699 GB, free: 92.58 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001421/0.5471, allocations: 0.6588 MB / 0.5706 GB, free: 92.58 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005612/0.5527, allocations: 2.002 MB / 0.5725 GB, free: 92.45 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003254/0.553, allocations: 135.9 kB / 0.5726 GB, free: 92.45 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009116/0.5621, allocations: 17.35 MB / 0.5896 GB, free: 77.82 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.005e-06/0.5621, allocations: 7.25 kB / 0.5896 GB, free: 77.82 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00764/0.5698, allocations: 5.06 MB / 0.5945 GB, free: 76.91 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009305/0.5707, allocations: 0.6046 MB / 0.5951 GB, free: 76.76 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002517/0.571, allocations: 81.14 kB / 0.5952 GB, free: 76.76 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008891/0.5719, allocations: 89.08 kB / 0.5953 GB, free: 76.76 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004741/0.5723, allocations: 356.2 kB / 0.5956 GB, free: 76.75 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001764/0.5725, allocations: 133.5 kB / 0.5958 GB, free: 76.75 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.000477/0.573, allocations: 0.7534 MB / 0.5965 GB, free: 76.6 MB / 426.7 MB Notification: Performance of sort global known variables: time 6e-08/0.573, allocations: 0 / 0.5965 GB, free: 76.6 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.004014/0.577, allocations: 2.203 MB / 0.5986 GB, free: 76.6 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.003293/0.5803, allocations: 2.461 MB / 0.601 GB, free: 76.51 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.004241/0.5845, allocations: 4.141 MB / 0.6051 GB, free: 74.04 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.18e-06/0.5845, allocations: 0 / 0.6051 GB, free: 74.04 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002451/0.587, allocations: 2.874 MB / 0.6079 GB, free: 71.62 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001631/0.5886, allocations: 0.6298 MB / 0.6085 GB, free: 71.34 MB / 426.7 MB Error: Error parsing unit kDa: Unit not found Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006497/0.5951, allocations: 5.715 MB / 0.6141 GB, free: 66.36 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005112/0.5956, allocations: 0.5676 MB / 0.6147 GB, free: 65.91 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001941/0.5976, allocations: 0.6336 MB / 0.6153 GB, free: 65.56 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001322/0.5989, allocations: 0.9231 MB / 0.6162 GB, free: 64.81 MB / 426.7 MB Notification: Performance of SimCode: time 1.814e-06/0.5989, allocations: 0 / 0.6162 GB, free: 64.81 MB / 426.7 MB Notification: Performance of Templates: time 0.08754/0.6864, allocations: 97.79 MB / 0.7117 GB, free: 356 kB / 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: 6.034676242154092]