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.001899/0.001899, allocations: 92.7 kB / 19.44 MB, free: 324 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.002188/0.002188, allocations: 161.3 kB / 22.75 MB, free: 1.656 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.478/1.478, allocations: 177.1 MB / 203.1 MB, free: 5.605 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.1394/0.1394, allocations: 17.44 MB / 277 MB, free: 11.6 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 2.014e-06/2.014e-06, allocations: 0 / 352.8 MB, free: 10.18 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.07e-05/3.271e-05, allocations: 2.312 kB / 352.8 MB, free: 10.17 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.08306/0.08309, allocations: 33.84 MB / 386.7 MB, free: 8.441 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.2028/0.2859, allocations: 41.73 MB / 428.4 MB, free: 31.71 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002033/0.2879, allocations: 50.06 kB / 428.5 MB, free: 31.71 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002708/0.2906, allocations: 0.9354 MB / 429.4 MB, free: 31.64 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01003/0.3007, allocations: 3.848 MB / 433.2 MB, free: 30.43 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01695/0.3176, allocations: 6.677 MB / 439.9 MB, free: 27.4 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.005576/0.3232, allocations: 4.691 MB / 444.6 MB, free: 24.63 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003105/0.3263, allocations: 2.322 MB / 446.9 MB, free: 23.06 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004634/0.3309, allocations: 3.15 MB / 450.1 MB, free: 21.42 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00351/0.3344, allocations: 2.117 MB / 452.2 MB, free: 20.2 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001011/0.3354, allocations: 420 kB / 452.6 MB, free: 19.79 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01411/0.3495, allocations: 5.074 MB / 457.7 MB, free: 14.8 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001278/0.3508, allocations: 0.9954 MB / 458.7 MB, free: 13.89 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002905/0.3537, allocations: 1.508 MB / 460.2 MB, free: 12.46 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01912/0.3728, allocations: 10.9 MB / 471.1 MB, free: 1.523 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.3729, allocations: 2.656 kB / 471.1 MB, free: 1.523 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.373e-06/0.3729, allocations: 3.938 kB / 471.1 MB, free: 1.52 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001519/0.373, allocations: 0 / 471.1 MB, free: 1.52 MB / 330.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.01242/0.3854, allocations: 4.722 MB / 475.8 MB, free: 12.77 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.235e-05/0.3855, allocations: 8.031 kB / 475.8 MB, free: 12.76 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005847/0.3913, allocations: 1.419 MB / 477.2 MB, free: 11.34 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003921/0.3952, allocations: 1.65 MB / 478.9 MB, free: 9.656 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006489/0.3959, allocations: 353.6 kB / 479.2 MB, free: 9.285 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009461/0.3968, allocations: 332.2 kB / 479.6 MB, free: 8.961 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01024/0.4071, allocations: 4.546 MB / 484.1 MB, free: 4.348 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001065/0.4072, allocations: 192 / 484.1 MB, free: 4.348 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007318/0.4079, allocations: 128.4 kB / 484.2 MB, free: 4.223 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001048/0.408, allocations: 79.94 kB / 484.3 MB, free: 4.145 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01351/0.4215, allocations: 6.173 MB / 490.5 MB, free: 13.96 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.03284/0.4544, allocations: 11.72 MB / 0.4904 GB, free: 2.176 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01177/0.4661, allocations: 5.32 MB / 0.4956 GB, free: 12.91 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005085/0.4712, allocations: 2.059 MB / 0.4976 GB, free: 10.84 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02567/0.4969, allocations: 9.332 MB / 0.5068 GB, free: 1.492 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.192e-05/0.497, allocations: 71.33 kB / 0.5068 GB, free: 1.414 MB / 378.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002411/0.4994, allocations: 454.7 kB / 0.5073 GB, free: 0.9766 MB / 378.7 MB Notification: Performance of pre-optimization done (n=284): time 1.189e-05/0.4994, allocations: 0 / 0.5073 GB, free: 0.9766 MB / 378.7 MB Notification: Performance of matching and sorting (n=387): time 0.1047/0.6041, allocations: 23.44 MB / 0.5302 GB, free: 9.695 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.732e-05/0.6042, allocations: 90.45 kB / 0.5302 GB, free: 9.594 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002809/0.607, allocations: 1.644 MB / 0.5318 GB, free: 7.949 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006779/0.6077, allocations: 89.7 kB / 0.5319 GB, free: 7.855 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001263/0.609, allocations: 1.362 MB / 0.5333 GB, free: 6.48 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001918/0.6109, allocations: 1.356 MB / 0.5346 GB, free: 5.113 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001976/0.6128, allocations: 0.7759 MB / 0.5353 GB, free: 4.324 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000154/0.613, allocations: 301.1 kB / 0.5356 GB, free: 4.027 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003753/0.6168, allocations: 1.836 MB / 0.5374 GB, free: 2.184 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005005/0.6218, allocations: 2.853 MB / 0.5402 GB, free: 14.9 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009659/0.6314, allocations: 4.967 MB / 0.5451 GB, free: 9.547 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-05/0.6315, allocations: 8 kB / 0.5451 GB, free: 9.539 MB / 426.7 MB Notification: Performance of matching and sorting (n=542) (initialization): time 0.02207/0.6535, allocations: 7.026 MB / 0.5519 GB, free: 2.512 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.798e-05/0.6536, allocations: 16 kB / 0.5519 GB, free: 2.496 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.472e-05/0.6536, allocations: 28 kB / 0.552 GB, free: 2.469 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01604/0.6697, allocations: 2.739 MB / 0.5546 GB, free: 15.78 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004001/0.6737, allocations: 0.8919 MB / 0.5555 GB, free: 14.89 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1892/0.8628, allocations: 17.44 MB / 0.5725 GB, free: 114.4 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003337/0.8662, allocations: 138.5 kB / 0.5727 GB, free: 114.4 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005158/0.8667, allocations: 231.8 kB / 0.5729 GB, free: 114.4 MB / 442.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.001334/0.868, allocations: 0.6028 MB / 0.5735 GB, free: 114.2 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009685/0.869, allocations: 392.8 kB / 0.5739 GB, free: 114.2 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01847/0.8875, allocations: 6.563 MB / 0.5803 GB, free: 114 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.752e-05/0.8875, allocations: 43.47 kB / 0.5803 GB, free: 114 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.948e-05/0.8876, allocations: 11.59 kB / 0.5803 GB, free: 114 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.786e-05/0.8877, allocations: 21.86 kB / 0.5803 GB, free: 114 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02384/0.9115, allocations: 9.76 MB / 0.5899 GB, free: 111.8 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.059e-05/0.9115, allocations: 3.969 kB / 0.5899 GB, free: 111.8 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003428/0.915, allocations: 0.6571 MB / 0.5905 GB, free: 111.8 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0145/0.9295, allocations: 2.436 MB / 0.5929 GB, free: 111.3 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007783/0.9302, allocations: 135.2 kB / 0.593 GB, free: 111.3 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01976/0.95, allocations: 16.06 MB / 0.6087 GB, free: 98.71 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.97e-06/0.95, allocations: 7.594 kB / 0.6087 GB, free: 98.71 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01891/0.9689, allocations: 8.635 MB / 0.6172 GB, free: 94.88 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001465/0.9704, allocations: 0.635 MB / 0.6178 GB, free: 94.38 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005832/0.971, allocations: 78.38 kB / 0.6178 GB, free: 94.31 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002146/0.9731, allocations: 96.34 kB / 0.6179 GB, free: 94.22 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007482/0.9739, allocations: 358.8 kB / 0.6183 GB, free: 94.05 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003628/0.9742, allocations: 154.6 kB / 0.6184 GB, free: 93.92 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001293/0.9755, allocations: 1.032 MB / 0.6194 GB, free: 93.04 MB / 442.7 MB Notification: Performance of sort global known variables: time 8e-08/0.9755, allocations: 0 / 0.6194 GB, free: 93.04 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.005706/0.9812, allocations: 2.203 MB / 0.6216 GB, free: 91.22 MB / 442.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.00422/0.9854, allocations: 2.342 MB / 0.6239 GB, free: 89.89 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.009413/0.9949, allocations: 5.596 MB / 0.6293 GB, free: 84.92 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.813e-06/0.9949, allocations: 0 / 0.6293 GB, free: 84.92 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005283/1, allocations: 3.354 MB / 0.6326 GB, free: 81.65 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00295/1.003, allocations: 0.6302 MB / 0.6332 GB, free: 81.08 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0101/1.013, allocations: 6.659 MB / 0.6397 GB, free: 74.46 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001313/1.015, allocations: 1.332 MB / 0.641 GB, free: 73.13 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.002482/1.017, allocations: 0.6522 MB / 0.6417 GB, free: 72.68 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001105/1.018, allocations: 456.1 kB / 0.6421 GB, free: 72.23 MB / 442.7 MB Notification: Performance of SimCode: time 1.403e-06/1.018, allocations: 4 kB / 0.6421 GB, free: 72.23 MB / 442.7 MB Notification: Performance of Templates: time 0.1039/1.122, allocations: 86.5 MB / 0.7266 GB, free: 2.492 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=480 -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInBlood.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 9.414041242096573]