Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_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.001577/0.001577, allocations: 102.1 kB / 19.7 MB, free: 2.254 MB / 14.72 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.001786/0.001786, allocations: 217.1 kB / 23.01 MB, free: 4.609 MB / 14.72 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.446/1.446, allocations: 230.6 MB / 256.8 MB, free: 8.043 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo): time 0.1364/0.1364, allocations: 23.85 MB / 337.1 MB, free: 11.21 MB / 270.1 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/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_Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInBlood") translateModel(Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInBlood,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInBlood") [Timeout 660] "Notification: Chemical requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002187/0.002187, allocations: 67.89 kB / 472.4 MB, free: 7.199 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2982/0.3004, allocations: 59.85 MB / 0.5198 GB, free: 9.895 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/Obsolete.mo:14337:7-14337: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.0/Obsolete.mo:14337:7-14337: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.04674/0.3471, allocations: 35.15 MB / 0.5541 GB, free: 5.32 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.06267/0.4098, allocations: 47.75 MB / 0.6008 GB, free: 7.098 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003858/0.4137, allocations: 47.62 kB / 0.6008 GB, free: 7.051 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003355/0.417, allocations: 1.024 MB / 0.6018 GB, free: 6.02 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01164/0.4287, allocations: 3.768 MB / 0.6055 GB, free: 2.227 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01781/0.4465, allocations: 6.49 MB / 0.6118 GB, free: 11.69 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.007/0.4535, allocations: 4.531 MB / 0.6163 GB, free: 7.145 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003408/0.4569, allocations: 2.25 MB / 0.6185 GB, free: 4.84 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003546/0.4604, allocations: 2.284 MB / 0.6207 GB, free: 2.551 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004645/0.4651, allocations: 2.621 MB / 0.6233 GB, free: 15.92 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001207/0.4663, allocations: 420 kB / 0.6237 GB, free: 15.51 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0157/0.482, allocations: 5.355 MB / 0.6289 GB, free: 10.15 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001569/0.4835, allocations: 0.9932 MB / 0.6299 GB, free: 9.152 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003352/0.4869, allocations: 2.03 MB / 0.6318 GB, free: 7.113 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02251/0.5094, allocations: 10.23 MB / 0.6418 GB, free: 12.85 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.5094, allocations: 0 / 0.6418 GB, free: 12.85 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.5094, allocations: 0 / 0.6418 GB, free: 12.85 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.0001779/0.5096, allocations: 0 / 0.6418 GB, free: 12.85 MB / 494.1 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.01193/0.5215, allocations: 4.781 MB / 0.6465 GB, free: 8.008 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.14e-05/0.5216, allocations: 12.03 kB / 0.6465 GB, free: 7.996 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004248/0.5258, allocations: 0.8488 MB / 0.6473 GB, free: 7.145 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003709/0.5295, allocations: 1.616 MB / 0.6489 GB, free: 5.484 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003436/0.5299, allocations: 349.7 kB / 0.6492 GB, free: 5.117 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008223/0.5307, allocations: 328.2 kB / 0.6496 GB, free: 4.797 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008772/0.5395, allocations: 4.555 MB / 0.654 GB, free: 176 kB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001087/0.5396, allocations: 3.938 kB / 0.654 GB, free: 172 kB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004127/0.54, allocations: 128 kB / 0.6541 GB, free: 44 kB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.141e-05/0.5401, allocations: 76.05 kB / 0.6542 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0109/0.551, allocations: 6.228 MB / 0.6603 GB, free: 9.73 MB / 0.4981 GB 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.02858/0.5795, allocations: 14.09 MB / 0.674 GB, free: 11.21 MB / 0.5138 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009978/0.5895, allocations: 5.402 MB / 0.6793 GB, free: 5.82 MB / 0.5138 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003618/0.5931, allocations: 2.059 MB / 0.6813 GB, free: 3.754 MB / 0.5138 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02209/0.6152, allocations: 9.648 MB / 0.6908 GB, free: 10.07 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.972e-05/0.6153, allocations: 60.73 kB / 0.6908 GB, free: 10 MB / 0.5294 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002084/0.6174, allocations: 477.7 kB / 0.6913 GB, free: 9.531 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=284): time 6.372e-06/0.6174, allocations: 3.938 kB / 0.6913 GB, free: 9.527 MB / 0.5294 GB Notification: Performance of matching and sorting (n=387): time 0.094/0.7114, allocations: 23.36 MB / 0.7141 GB, free: 2 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.466e-05/0.7114, allocations: 90.45 kB / 0.7142 GB, free: 1.898 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002481/0.7139, allocations: 1.724 MB / 0.7159 GB, free: 132 kB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0005945/0.7145, allocations: 89.7 kB / 0.7159 GB, free: 36 kB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.001157/0.7157, allocations: 1.356 MB / 0.7173 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001667/0.7173, allocations: 1.367 MB / 0.7186 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00131/0.7186, allocations: 0.7798 MB / 0.7194 GB, free: 12.49 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001431/0.7188, allocations: 309.1 kB / 0.7197 GB, free: 12.19 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003286/0.7221, allocations: 1.836 MB / 0.7214 GB, free: 10.34 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004397/0.7265, allocations: 2.846 MB / 0.7242 GB, free: 7.062 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008555/0.735, allocations: 4.979 MB / 0.7291 GB, free: 1.652 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-05/0.735, allocations: 8 kB / 0.7291 GB, free: 1.645 MB / 0.5606 GB Notification: Performance of matching and sorting (n=542) (initialization): time 0.2307/0.9658, allocations: 6.84 MB / 0.7358 GB, free: 170.4 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 4.202e-05/0.9658, allocations: 20 kB / 0.7358 GB, free: 170.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.622e-05/0.9659, allocations: 29.12 kB / 0.7358 GB, free: 170.4 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01113/0.977, allocations: 2.295 MB / 0.7381 GB, free: 170 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003766/0.9808, allocations: 0.8907 MB / 0.7389 GB, free: 169.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02447/1.005, allocations: 17.69 MB / 0.7562 GB, free: 156.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00333/1.009, allocations: 144.3 kB / 0.7563 GB, free: 156.5 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000486/1.009, allocations: 228.2 kB / 0.7566 GB, free: 156.5 MB / 0.5606 GB 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.001344/1.01, allocations: 0.6101 MB / 0.7572 GB, free: 156 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006544/1.011, allocations: 288.4 kB / 0.7574 GB, free: 156 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01693/1.028, allocations: 6.57 MB / 0.7639 GB, free: 153.6 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-05/1.028, allocations: 41.72 kB / 0.7639 GB, free: 153.6 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.782e-05/1.028, allocations: 4.5 kB / 0.7639 GB, free: 153.6 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.174e-05/1.028, allocations: 24.64 kB / 0.7639 GB, free: 153.6 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02175/1.05, allocations: 10.67 MB / 0.7743 GB, free: 148.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.639e-05/1.05, allocations: 3.969 kB / 0.7743 GB, free: 148.7 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002691/1.053, allocations: 0.6528 MB / 0.775 GB, free: 148.6 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008875/1.061, allocations: 2.021 MB / 0.777 GB, free: 147.6 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000468/1.062, allocations: 139.1 kB / 0.7771 GB, free: 147.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01841/1.08, allocations: 16.32 MB / 0.793 GB, free: 133.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.858e-06/1.08, allocations: 14 kB / 0.793 GB, free: 133.4 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01758/1.098, allocations: 8.508 MB / 0.8014 GB, free: 127.6 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001468/1.099, allocations: 0.6469 MB / 0.802 GB, free: 126.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004695/1.1, allocations: 84 kB / 0.8021 GB, free: 126.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001934/1.102, allocations: 87.97 kB / 0.8022 GB, free: 126.8 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005999/1.102, allocations: 361.1 kB / 0.8025 GB, free: 126.4 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002572/1.103, allocations: 159.9 kB / 0.8026 GB, free: 126.2 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.00108/1.104, allocations: 1.121 MB / 0.8037 GB, free: 125.1 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.5e-07/1.104, allocations: 2.656 kB / 0.8037 GB, free: 125.1 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.005199/1.109, allocations: 2.207 MB / 0.8059 GB, free: 123.2 MB / 0.5606 GB 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.003318/1.112, allocations: 2.247 MB / 0.8081 GB, free: 121.7 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.008635/1.121, allocations: 5.611 MB / 0.8136 GB, free: 116 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.38e-06/1.121, allocations: 0 / 0.8136 GB, free: 116 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.004903/1.126, allocations: 3.346 MB / 0.8168 GB, free: 112.6 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002452/1.128, allocations: 0.5577 MB / 0.8174 GB, free: 112.1 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009426/1.138, allocations: 6.835 MB / 0.8241 GB, free: 105.3 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001015/1.139, allocations: 1.875 MB / 0.8259 GB, free: 103.4 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00144/1.14, allocations: 0.5615 MB / 0.8264 GB, free: 102.9 MB / 0.5606 GB Notification: Performance of SimCode: time 1.052e-06/1.14, allocations: 0 / 0.8264 GB, free: 102.9 MB / 0.5606 GB Notification: Performance of Templates: time 0.3538/1.494, allocations: 169.9 MB / 0.9924 GB, free: 182 MB / 0.5919 GB " [Timeout remaining time 658] make -j1 -f Chemical_Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInBlood.makefile [Timeout 660] (rm -f Chemical_Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInBlood.pipe ; mkfifo Chemical_Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInBlood.pipe ; head -c 1048576 < Chemical_Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInBlood.pipe >> ../files/Chemical_Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInBlood.sim & ./Chemical_Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInBlood -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInBlood.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 15.651099590118974] Failed to read output from testmodel.py, exit status != 0: 1.5034740238916129 1.513012992 1.001075239 Calling exit ...