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.001632/0.001632, allocations: 96.42 kB / 19.7 MB, free: 2.133 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.001763/0.001763, allocations: 206.7 kB / 22.99 MB, free: 4.957 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.394/1.394, allocations: 230.6 MB / 256.8 MB, free: 7.793 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.1292/0.1292, allocations: 23.88 MB / 337.1 MB, free: 10.96 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.002027/0.002027, allocations: 63.89 kB / 472.4 MB, free: 6.988 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3262/0.3282, allocations: 59.86 MB / 0.5198 GB, free: 9.797 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.07799/0.4062, allocations: 33.26 MB / 0.5522 GB, free: 6.949 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.05669/0.4629, allocations: 41.75 MB / 0.593 GB, free: 14.71 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002674/0.4656, allocations: 51.56 kB / 0.5931 GB, free: 14.66 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002746/0.4683, allocations: 0.9148 MB / 0.594 GB, free: 13.74 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01099/0.4793, allocations: 3.713 MB / 0.5976 GB, free: 10 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01729/0.4966, allocations: 6.497 MB / 0.6039 GB, free: 3.469 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.006977/0.5036, allocations: 4.535 MB / 0.6084 GB, free: 14.91 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003204/0.5068, allocations: 2.254 MB / 0.6106 GB, free: 12.6 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003334/0.5101, allocations: 2.288 MB / 0.6128 GB, free: 10.31 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003985/0.5141, allocations: 2.617 MB / 0.6154 GB, free: 7.684 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009206/0.515, allocations: 424 kB / 0.6158 GB, free: 7.27 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01287/0.5279, allocations: 5.152 MB / 0.6208 GB, free: 2.109 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001426/0.5293, allocations: 0.9893 MB / 0.6218 GB, free: 1.117 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002532/0.5319, allocations: 1.731 MB / 0.6235 GB, free: 15.38 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02093/0.5528, allocations: 10.19 MB / 0.6334 GB, free: 5.145 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.264e-06/0.5528, allocations: 8 kB / 0.6334 GB, free: 5.137 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.5528, allocations: 0 / 0.6334 GB, free: 5.137 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0001298/0.5529, allocations: 0 / 0.6334 GB, free: 5.137 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.01153/0.5645, allocations: 4.765 MB / 0.6381 GB, free: 320 kB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.718e-05/0.5645, allocations: 8.031 kB / 0.6381 GB, free: 312 kB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004235/0.5687, allocations: 0.8449 MB / 0.6389 GB, free: 15.46 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003775/0.5725, allocations: 1.616 MB / 0.6405 GB, free: 13.8 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003333/0.5728, allocations: 345.7 kB / 0.6408 GB, free: 13.43 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000795/0.5736, allocations: 336.2 kB / 0.6411 GB, free: 13.11 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008349/0.582, allocations: 4.555 MB / 0.6456 GB, free: 8.48 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.805e-05/0.582, allocations: 4 kB / 0.6456 GB, free: 8.477 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003606/0.5824, allocations: 128 kB / 0.6457 GB, free: 8.352 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.149e-05/0.5825, allocations: 76 kB / 0.6458 GB, free: 8.277 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01039/0.5928, allocations: 6.169 MB / 0.6518 GB, free: 2.098 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.02582/0.6187, allocations: 11.65 MB / 0.6632 GB, free: 6.328 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01029/0.629, allocations: 5.309 MB / 0.6684 GB, free: 1.031 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003942/0.6329, allocations: 2.06 MB / 0.6704 GB, free: 14.96 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02215/0.655, allocations: 9.111 MB / 0.6793 GB, free: 5.816 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.999e-05/0.6551, allocations: 56.8 kB / 0.6793 GB, free: 5.75 MB / 0.5137 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002272/0.6574, allocations: 450 kB / 0.6798 GB, free: 5.309 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=284): time 7.675e-06/0.6574, allocations: 3.938 kB / 0.6798 GB, free: 5.305 MB / 0.5137 GB Notification: Performance of matching and sorting (n=387): time 0.09767/0.7551, allocations: 23.36 MB / 0.7026 GB, free: 13.78 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.524e-05/0.7552, allocations: 90.45 kB / 0.7027 GB, free: 13.68 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002183/0.7574, allocations: 1.633 MB / 0.7042 GB, free: 12.04 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0005252/0.7579, allocations: 89.7 kB / 0.7043 GB, free: 11.95 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.001032/0.7589, allocations: 1.37 MB / 0.7057 GB, free: 10.56 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.001478/0.7604, allocations: 1.375 MB / 0.707 GB, free: 9.176 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001259/0.7617, allocations: 0.7798 MB / 0.7078 GB, free: 8.383 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000126/0.7618, allocations: 305.1 kB / 0.7081 GB, free: 8.082 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003146/0.7649, allocations: 1.839 MB / 0.7099 GB, free: 6.234 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004058/0.769, allocations: 2.843 MB / 0.7126 GB, free: 2.961 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007723/0.7767, allocations: 4.979 MB / 0.7175 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.057e-05/0.7767, allocations: 11.94 kB / 0.7175 GB, free: 13.54 MB / 0.5606 GB Notification: Performance of matching and sorting (n=542) (initialization): time 0.01975/0.7965, allocations: 6.829 MB / 0.7242 GB, free: 6.652 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.905e-05/0.7965, allocations: 16 kB / 0.7242 GB, free: 6.637 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.124e-05/0.7966, allocations: 35.98 kB / 0.7242 GB, free: 6.602 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01194/0.8085, allocations: 2.288 MB / 0.7265 GB, free: 4.285 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003845/0.8124, allocations: 0.8893 MB / 0.7273 GB, free: 3.395 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2346/1.047, allocations: 17.39 MB / 0.7443 GB, free: 162.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003509/1.05, allocations: 137.5 kB / 0.7444 GB, free: 162.2 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005469/1.051, allocations: 229.9 kB / 0.7447 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.00144/1.052, allocations: 0.5998 MB / 0.7453 GB, free: 161.7 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007013/1.053, allocations: 279.5 kB / 0.7455 GB, free: 161.7 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01831/1.071, allocations: 6.576 MB / 0.7519 GB, free: 159.3 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.621e-05/1.072, allocations: 41.8 kB / 0.752 GB, free: 159.3 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.689e-05/1.072, allocations: 4.844 kB / 0.752 GB, free: 159.3 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.069e-05/1.072, allocations: 20.86 kB / 0.752 GB, free: 159.3 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0235/1.095, allocations: 9.753 MB / 0.7615 GB, free: 155.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.932e-05/1.095, allocations: 4.562 kB / 0.7615 GB, free: 155.3 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003117/1.098, allocations: 0.656 MB / 0.7622 GB, free: 155.2 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009993/1.108, allocations: 2.021 MB / 0.7641 GB, free: 154.8 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000653/1.109, allocations: 132.8 kB / 0.7643 GB, free: 154.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01931/1.128, allocations: 16.02 MB / 0.7799 GB, free: 142.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.288e-06/1.128, allocations: 10.81 kB / 0.7799 GB, free: 142.1 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01936/1.148, allocations: 8.493 MB / 0.7882 GB, free: 138.1 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001986/1.15, allocations: 0.6249 MB / 0.7888 GB, free: 137.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005202/1.15, allocations: 83.48 kB / 0.7889 GB, free: 137.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002168/1.152, allocations: 98.45 kB / 0.789 GB, free: 137.6 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006929/1.153, allocations: 358.4 kB / 0.7894 GB, free: 137.3 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003047/1.153, allocations: 153.8 kB / 0.7895 GB, free: 137.3 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001077/1.154, allocations: 1.028 MB / 0.7905 GB, free: 136.7 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/1.154, allocations: 3.938 kB / 0.7905 GB, free: 136.7 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.006698/1.161, allocations: 2.202 MB / 0.7927 GB, free: 135.8 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.00647/1.168, allocations: 2.256 MB / 0.7949 GB, free: 134.2 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01129/1.179, allocations: 5.602 MB / 0.8003 GB, free: 128.6 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.125e-05/1.179, allocations: 0 / 0.8003 GB, free: 128.6 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.006462/1.185, allocations: 3.349 MB / 0.8036 GB, free: 125.1 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003663/1.189, allocations: 0.543 MB / 0.8041 GB, free: 124.7 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01261/1.202, allocations: 6.77 MB / 0.8107 GB, free: 118 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001405/1.203, allocations: 1.33 MB / 0.812 GB, free: 116.6 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.002897/1.206, allocations: 0.6588 MB / 0.8127 GB, free: 116.2 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001202/1.207, allocations: 453.7 kB / 0.8131 GB, free: 115.7 MB / 0.5606 GB Notification: Performance of SimCode: time 1.042e-06/1.207, allocations: 0 / 0.8131 GB, free: 115.7 MB / 0.5606 GB Notification: Performance of Templates: time 0.1074/1.314, allocations: 91.62 MB / 0.9026 GB, free: 25.16 MB / 0.5606 GB " [Timeout remaining time 659] 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 -s cvode -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInBlood.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 9.26742978898983] Failed to read output from testmodel.py, exit status != 0: 1.3236453249992337 1.332960761 0.777778059 Calling exit ...