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.001652/0.001652, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.001868/0.001868, allocations: 221.8 kB / 23 MB, free: 4.91 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.45/1.45, allocations: 230.6 MB / 256.8 MB, free: 7.82 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.1405/0.1405, allocations: 23.89 MB / 337.1 MB, free: 11.07 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.002127/0.002127, allocations: 63.91 kB / 472.4 MB, free: 7.008 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3006/0.3027, allocations: 59.86 MB / 0.5198 GB, free: 9.773 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.08004/0.3828, allocations: 33.43 MB / 0.5524 GB, free: 6.824 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0612/0.444, allocations: 41.75 MB / 0.5932 GB, free: 14.59 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003224/0.4472, allocations: 47.62 kB / 0.5932 GB, free: 14.54 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003455/0.4506, allocations: 0.9264 MB / 0.5941 GB, free: 13.61 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01262/0.4633, allocations: 3.713 MB / 0.5978 GB, free: 9.867 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01883/0.4821, allocations: 6.501 MB / 0.6041 GB, free: 3.328 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.007757/0.4899, allocations: 4.52 MB / 0.6085 GB, free: 14.79 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003409/0.4933, allocations: 2.211 MB / 0.6107 GB, free: 12.52 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003554/0.4968, allocations: 2.295 MB / 0.6129 GB, free: 10.22 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004527/0.5013, allocations: 2.335 MB / 0.6152 GB, free: 7.875 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001468/0.5028, allocations: 420 kB / 0.6156 GB, free: 7.465 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01663/0.5194, allocations: 5.027 MB / 0.6205 GB, free: 2.43 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001667/0.5211, allocations: 0.9971 MB / 0.6215 GB, free: 1.43 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002789/0.5239, allocations: 1.732 MB / 0.6232 GB, free: 15.69 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02305/0.5469, allocations: 10.2 MB / 0.6331 GB, free: 5.453 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.414e-06/0.547, allocations: 0 / 0.6331 GB, free: 5.453 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.547, allocations: 0 / 0.6331 GB, free: 5.453 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0001829/0.5471, allocations: 4 kB / 0.6331 GB, free: 5.449 MB / 478.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.01214/0.5593, allocations: 4.757 MB / 0.6378 GB, free: 0.6328 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.474e-05/0.5593, allocations: 8.031 kB / 0.6378 GB, free: 0.625 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004197/0.5635, allocations: 0.8488 MB / 0.6386 GB, free: 15.77 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004086/0.5676, allocations: 1.608 MB / 0.6402 GB, free: 14.12 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003386/0.5679, allocations: 345.7 kB / 0.6405 GB, free: 13.76 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000784/0.5687, allocations: 336.2 kB / 0.6408 GB, free: 13.43 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008608/0.5773, allocations: 4.558 MB / 0.6453 GB, free: 8.801 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.02e-05/0.5774, allocations: 0 / 0.6453 GB, free: 8.801 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003365/0.5777, allocations: 132 kB / 0.6454 GB, free: 8.672 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.448e-05/0.5778, allocations: 76 kB / 0.6455 GB, free: 8.598 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01095/0.5888, allocations: 6.169 MB / 0.6515 GB, free: 2.418 MB / 494.1 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.02627/0.615, allocations: 11.65 MB / 0.6629 GB, free: 6.645 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01001/0.625, allocations: 5.309 MB / 0.6681 GB, free: 1.344 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004048/0.6291, allocations: 2.06 MB / 0.6701 GB, free: 15.27 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02331/0.6524, allocations: 9.1 MB / 0.679 GB, free: 6.141 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.689e-05/0.6525, allocations: 64.73 kB / 0.679 GB, free: 6.066 MB / 0.5137 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002194/0.6547, allocations: 453.9 kB / 0.6795 GB, free: 5.621 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=284): time 1.298e-05/0.6547, allocations: 0 / 0.6795 GB, free: 5.621 MB / 0.5137 GB Notification: Performance of matching and sorting (n=387): time 0.09703/0.7517, allocations: 23.36 MB / 0.7023 GB, free: 14.09 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.228e-05/0.7518, allocations: 90.45 kB / 0.7024 GB, free: 13.99 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002639/0.7544, allocations: 1.629 MB / 0.704 GB, free: 12.36 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.000851/0.7553, allocations: 89.7 kB / 0.7041 GB, free: 12.27 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.001304/0.7566, allocations: 1.366 MB / 0.7054 GB, free: 10.89 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.001985/0.7586, allocations: 1.371 MB / 0.7067 GB, free: 9.504 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002232/0.7608, allocations: 0.7837 MB / 0.7075 GB, free: 8.707 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001359/0.7609, allocations: 305.1 kB / 0.7078 GB, free: 8.406 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003823/0.7648, allocations: 1.843 MB / 0.7096 GB, free: 6.555 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00495/0.7697, allocations: 2.835 MB / 0.7124 GB, free: 3.289 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00953/0.7792, allocations: 4.979 MB / 0.7172 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.383e-05/0.7793, allocations: 11.94 kB / 0.7172 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of matching and sorting (n=542) (initialization): time 0.02157/0.8009, allocations: 6.833 MB / 0.7239 GB, free: 6.977 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 6.158e-05/0.8009, allocations: 16 kB / 0.7239 GB, free: 6.961 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.596e-05/0.801, allocations: 32.25 kB / 0.7239 GB, free: 6.93 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01248/0.8135, allocations: 2.284 MB / 0.7262 GB, free: 4.617 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005806/0.8193, allocations: 0.8892 MB / 0.727 GB, free: 3.727 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2395/1.059, allocations: 17.39 MB / 0.744 GB, free: 162.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003153/1.062, allocations: 139.8 kB / 0.7442 GB, free: 162.2 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005594/1.062, allocations: 233.8 kB / 0.7444 GB, free: 162.1 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.001423/1.064, allocations: 0.6043 MB / 0.745 GB, free: 161.7 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007568/1.065, allocations: 276.5 kB / 0.7452 GB, free: 161.7 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01675/1.081, allocations: 6.57 MB / 0.7516 GB, free: 159.3 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.034e-05/1.081, allocations: 43.17 kB / 0.7517 GB, free: 159.3 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.616e-05/1.081, allocations: 3.781 kB / 0.7517 GB, free: 159.3 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.61e-05/1.082, allocations: 21.64 kB / 0.7517 GB, free: 159.3 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02264/1.104, allocations: 9.764 MB / 0.7613 GB, free: 155.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.184e-05/1.104, allocations: 4.531 kB / 0.7613 GB, free: 155.3 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003097/1.107, allocations: 0.6554 MB / 0.7619 GB, free: 155.2 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009082/1.116, allocations: 2.014 MB / 0.7639 GB, free: 154.8 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00077/1.117, allocations: 138 kB / 0.764 GB, free: 154.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0182/1.135, allocations: 16.02 MB / 0.7796 GB, free: 142.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.639e-06/1.135, allocations: 7.594 kB / 0.7796 GB, free: 142.1 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01759/1.153, allocations: 8.503 MB / 0.7879 GB, free: 138.1 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001812/1.155, allocations: 0.6229 MB / 0.7886 GB, free: 137.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005101/1.155, allocations: 78.56 kB / 0.7886 GB, free: 137.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001899/1.157, allocations: 94.47 kB / 0.7887 GB, free: 137.6 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005779/1.158, allocations: 356.5 kB / 0.7891 GB, free: 137.4 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002899/1.158, allocations: 156.4 kB / 0.7892 GB, free: 137.3 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001066/1.159, allocations: 1.033 MB / 0.7902 GB, free: 136.7 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9.1e-08/1.159, allocations: 0 / 0.7902 GB, free: 136.7 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.005507/1.165, allocations: 2.204 MB / 0.7924 GB, free: 135.9 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.003571/1.168, allocations: 2.252 MB / 0.7946 GB, free: 134.4 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.008664/1.177, allocations: 5.606 MB / 0.8 GB, free: 128.7 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 7.204e-06/1.177, allocations: 0 / 0.8 GB, free: 128.7 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.004799/1.182, allocations: 3.351 MB / 0.8033 GB, free: 125.2 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002456/1.184, allocations: 0.5448 MB / 0.8038 GB, free: 124.8 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009499/1.194, allocations: 6.837 MB / 0.8105 GB, free: 118 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009871/1.195, allocations: 1.33 MB / 0.8118 GB, free: 116.7 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001583/1.196, allocations: 0.5498 MB / 0.8124 GB, free: 116.1 MB / 0.5606 GB Notification: Performance of SimCode: time 1.092e-06/1.196, allocations: 0 / 0.8124 GB, free: 116.1 MB / 0.5606 GB Notification: Performance of Templates: time 0.3602/1.556, allocations: 170.9 MB / 0.9793 GB, free: 191.9 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.693682158831507] Failed to read output from testmodel.py, exit status != 0: 1.5662662866525352 1.577157297 1.027680517 Calling exit ...