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.001772/0.001772, allocations: 101.1 kB / 18.99 MB, free: 2.758 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.001924/0.001924, allocations: 214.1 kB / 22.29 MB, free: 5.16 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.507/1.507, allocations: 230.6 MB / 256.1 MB, free: 7.746 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.1399/0.1399, allocations: 23.88 MB / 336.4 MB, free: 10.92 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.002141/0.002141, allocations: 67.89 kB / 471.7 MB, free: 6.922 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3298/0.3319, allocations: 59.86 MB / 0.5191 GB, free: 9.746 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.08363/0.4155, allocations: 33.4 MB / 0.5518 GB, free: 6.84 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0587/0.4742, allocations: 41.75 MB / 0.5925 GB, free: 14.6 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003633/0.4779, allocations: 51.56 kB / 0.5926 GB, free: 14.55 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003754/0.4816, allocations: 0.9226 MB / 0.5935 GB, free: 13.62 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0144/0.496, allocations: 3.713 MB / 0.5971 GB, free: 9.879 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01972/0.5157, allocations: 6.493 MB / 0.6034 GB, free: 3.348 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.007741/0.5235, allocations: 4.539 MB / 0.6079 GB, free: 14.79 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003341/0.5268, allocations: 2.208 MB / 0.61 GB, free: 12.52 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003147/0.53, allocations: 2.291 MB / 0.6123 GB, free: 10.23 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00401/0.534, allocations: 2.339 MB / 0.6146 GB, free: 7.879 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008244/0.5348, allocations: 420 kB / 0.615 GB, free: 7.469 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0162/0.551, allocations: 5.035 MB / 0.6199 GB, free: 2.426 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002023/0.553, allocations: 0.9932 MB / 0.6208 GB, free: 1.43 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003425/0.5565, allocations: 1.728 MB / 0.6225 GB, free: 15.69 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02655/0.583, allocations: 10.2 MB / 0.6325 GB, free: 5.453 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.643e-06/0.583, allocations: 0 / 0.6325 GB, free: 5.453 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.583, allocations: 0 / 0.6325 GB, free: 5.453 MB / 478.1 MB Notification: Performance of Transformations before backend: time 7.282e-05/0.5831, allocations: 0 / 0.6325 GB, free: 5.453 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.01037/0.5935, allocations: 4.757 MB / 0.6371 GB, free: 0.6367 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.252e-05/0.5935, allocations: 12.03 kB / 0.6371 GB, free: 0.625 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003856/0.5974, allocations: 0.8448 MB / 0.638 GB, free: 15.78 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00302/0.6004, allocations: 1.616 MB / 0.6396 GB, free: 14.12 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003129/0.6007, allocations: 349.7 kB / 0.6399 GB, free: 13.75 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006187/0.6013, allocations: 328.2 kB / 0.6402 GB, free: 13.43 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00773/0.609, allocations: 4.555 MB / 0.6446 GB, free: 8.805 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.676e-05/0.6091, allocations: 0 / 0.6446 GB, free: 8.805 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000326/0.6094, allocations: 128 kB / 0.6448 GB, free: 8.68 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.3e-05/0.6095, allocations: 76 kB / 0.6448 GB, free: 8.605 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01065/0.6201, allocations: 6.173 MB / 0.6509 GB, free: 2.422 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.02994/0.6501, allocations: 11.65 MB / 0.6622 GB, free: 6.652 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01107/0.6611, allocations: 5.321 MB / 0.6674 GB, free: 1.344 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004206/0.6654, allocations: 2.059 MB / 0.6695 GB, free: 15.28 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02504/0.6904, allocations: 9.102 MB / 0.6783 GB, free: 6.141 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.883e-05/0.6905, allocations: 64.78 kB / 0.6784 GB, free: 6.066 MB / 0.5137 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002517/0.693, allocations: 458 kB / 0.6788 GB, free: 5.617 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=284): time 1.971e-05/0.693, allocations: 0 / 0.6788 GB, free: 5.617 MB / 0.5137 GB Notification: Performance of matching and sorting (n=387): time 0.09547/0.7885, allocations: 23.36 MB / 0.7016 GB, free: 14.09 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.303e-05/0.7886, allocations: 94.45 kB / 0.7017 GB, free: 13.98 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002247/0.7908, allocations: 1.637 MB / 0.7033 GB, free: 12.34 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0003814/0.7912, allocations: 85.7 kB / 0.7034 GB, free: 12.25 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.001059/0.7922, allocations: 1.366 MB / 0.7048 GB, free: 10.88 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.001461/0.7937, allocations: 1.371 MB / 0.7061 GB, free: 9.492 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001376/0.7951, allocations: 0.7837 MB / 0.7069 GB, free: 8.695 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000122/0.7952, allocations: 301.1 kB / 0.7071 GB, free: 8.398 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003296/0.7985, allocations: 1.847 MB / 0.7089 GB, free: 6.543 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004289/0.8028, allocations: 2.843 MB / 0.7117 GB, free: 3.27 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008259/0.8111, allocations: 4.971 MB / 0.7166 GB, free: 13.87 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.867e-05/0.8111, allocations: 11.94 kB / 0.7166 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of matching and sorting (n=542) (initialization): time 0.02069/0.8318, allocations: 6.829 MB / 0.7233 GB, free: 6.973 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 5.751e-05/0.8318, allocations: 20 kB / 0.7233 GB, free: 6.953 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.944e-05/0.8319, allocations: 28 kB / 0.7233 GB, free: 6.926 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0119/0.8438, allocations: 2.28 MB / 0.7255 GB, free: 4.617 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004025/0.8478, allocations: 0.9049 MB / 0.7264 GB, free: 3.711 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2547/1.102, allocations: 17.38 MB / 0.7434 GB, free: 162.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003545/1.106, allocations: 139.9 kB / 0.7435 GB, free: 162.2 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001074/1.107, allocations: 230.8 kB / 0.7437 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.002696/1.11, allocations: 0.609 MB / 0.7443 GB, free: 161.7 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001338/1.111, allocations: 271.9 kB / 0.7446 GB, free: 161.7 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01955/1.131, allocations: 6.565 MB / 0.751 GB, free: 159.3 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.218e-05/1.131, allocations: 42.38 kB / 0.751 GB, free: 159.3 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.192e-05/1.131, allocations: 5.812 kB / 0.7511 GB, free: 159.3 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.082e-05/1.131, allocations: 20.34 kB / 0.7511 GB, free: 159.3 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02352/1.154, allocations: 9.765 MB / 0.7606 GB, free: 155.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.972e-05/1.154, allocations: 4.5 kB / 0.7606 GB, free: 155.3 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00283/1.157, allocations: 0.6534 MB / 0.7612 GB, free: 155.2 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009191/1.166, allocations: 2.021 MB / 0.7632 GB, free: 154.8 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004687/1.167, allocations: 137.5 kB / 0.7634 GB, free: 154.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01851/1.185, allocations: 16.01 MB / 0.779 GB, free: 142.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.46e-06/1.185, allocations: 15.69 kB / 0.779 GB, free: 142.1 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01987/1.205, allocations: 8.494 MB / 0.7873 GB, free: 138.1 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001735/1.207, allocations: 0.6305 MB / 0.7879 GB, free: 137.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007055/1.208, allocations: 78.16 kB / 0.788 GB, free: 137.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002251/1.21, allocations: 94.69 kB / 0.7881 GB, free: 137.6 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008268/1.211, allocations: 354.2 kB / 0.7884 GB, free: 137.3 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000383/1.211, allocations: 161.5 kB / 0.7886 GB, free: 137.3 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001284/1.212, allocations: 1.03 MB / 0.7896 GB, free: 136.7 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/1.212, allocations: 0 / 0.7896 GB, free: 136.7 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.006448/1.219, allocations: 2.202 MB / 0.7917 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.004375/1.223, allocations: 2.258 MB / 0.7939 GB, free: 134.3 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.009612/1.233, allocations: 5.597 MB / 0.7994 GB, free: 128.6 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 8.316e-06/1.233, allocations: 6.656 kB / 0.7994 GB, free: 128.6 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.005332/1.238, allocations: 3.349 MB / 0.8027 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.002828/1.241, allocations: 0.5436 MB / 0.8032 GB, free: 124.7 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01087/1.252, allocations: 6.758 MB / 0.8098 GB, free: 118 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0014/1.253, allocations: 1.338 MB / 0.8111 GB, free: 116.7 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.002669/1.256, allocations: 0.6543 MB / 0.8118 GB, free: 116.2 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001153/1.257, allocations: 457.2 kB / 0.8122 GB, free: 115.8 MB / 0.5606 GB Notification: Performance of SimCode: time 8.81e-07/1.257, allocations: 4 kB / 0.8122 GB, free: 115.8 MB / 0.5606 GB Notification: Performance of Templates: time 0.09822/1.355, allocations: 86.13 MB / 0.8963 GB, free: 30.74 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 -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInBlood.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 9.790963081642985] Failed to read output from testmodel.py, exit status != 0: 1.3647492676973343 1.375137758 0.789544083 Calling exit ...