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.0007784/0.0007784, allocations: 76.45 kB / 19.9 MB, free: 12 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.0007639/0.0007639, allocations: 169.9 kB / 23.18 MB, free: 1.379 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 0.9201/0.9201, allocations: 177.2 MB / 203.6 MB, free: 5.773 MB / 186.7 MB " [Timeout remaining time 179] 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.09742/0.09742, allocations: 17.37 MB / 277.4 MB, free: 11.88 MB / 266.7 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.0008841/0.0008841, allocations: 72.08 kB / 412.8 MB, free: 15.86 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2685/0.2694, allocations: 59.83 MB / 472.7 MB, free: 29.84 MB / 410.7 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.03831/0.3077, allocations: 33.57 MB / 0.4944 GB, free: 14.17 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.03501/0.3427, allocations: 41.75 MB / 0.5351 GB, free: 7.988 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002864/0.3456, allocations: 47.62 kB / 0.5352 GB, free: 7.941 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003254/0.3488, allocations: 0.9263 MB / 0.5361 GB, free: 7.008 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01083/0.3597, allocations: 3.72 MB / 0.5397 GB, free: 3.262 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0164/0.376, allocations: 6.496 MB / 0.5461 GB, free: 12.73 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.006508/0.3826, allocations: 4.539 MB / 0.5505 GB, free: 8.168 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003341/0.3859, allocations: 2.211 MB / 0.5527 GB, free: 5.902 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005468/0.3914, allocations: 3.263 MB / 0.5559 GB, free: 2.633 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003534/0.3949, allocations: 2.335 MB / 0.5581 GB, free: 296 kB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001559/0.3965, allocations: 420 kB / 0.5585 GB, free: 15.88 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01274/0.4092, allocations: 5.041 MB / 0.5635 GB, free: 10.83 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001682/0.4109, allocations: 0.9932 MB / 0.5644 GB, free: 9.832 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002839/0.4137, allocations: 1.739 MB / 0.5661 GB, free: 8.086 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02216/0.4359, allocations: 10.27 MB / 0.5762 GB, free: 13.78 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.576e-06/0.4359, allocations: 0 / 0.5762 GB, free: 13.78 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.064e-06/0.4359, allocations: 0 / 0.5762 GB, free: 13.78 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0002764/0.4362, allocations: 4 kB / 0.5762 GB, free: 13.77 MB / 490.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.01081/0.447, allocations: 4.757 MB / 0.5808 GB, free: 8.957 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.506e-05/0.447, allocations: 12.03 kB / 0.5808 GB, free: 8.945 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002987/0.45, allocations: 0.843 MB / 0.5816 GB, free: 8.102 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003317/0.4533, allocations: 1.62 MB / 0.5832 GB, free: 6.438 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000274/0.4536, allocations: 341.7 kB / 0.5835 GB, free: 6.078 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008409/0.4544, allocations: 340.2 kB / 0.5839 GB, free: 5.746 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007483/0.4619, allocations: 4.551 MB / 0.5883 GB, free: 1.125 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.453e-05/0.462, allocations: 3.938 kB / 0.5883 GB, free: 1.121 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002762/0.4622, allocations: 128 kB / 0.5884 GB, free: 0.9961 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.219e-05/0.4623, allocations: 76 kB / 0.5885 GB, free: 0.9219 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008234/0.4705, allocations: 6.169 MB / 0.5945 GB, free: 10.74 MB / 0.4948 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.02068/0.4912, allocations: 11.66 MB / 0.6059 GB, free: 14.96 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006396/0.4976, allocations: 5.31 MB / 0.6111 GB, free: 9.664 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00307/0.5007, allocations: 2.059 MB / 0.6131 GB, free: 7.598 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01568/0.5163, allocations: 9.11 MB / 0.622 GB, free: 14.45 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.517e-05/0.5164, allocations: 56.8 kB / 0.6221 GB, free: 14.39 MB / 0.5261 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001341/0.5177, allocations: 454 kB / 0.6225 GB, free: 13.94 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=284): time 1.377e-05/0.5177, allocations: 0 / 0.6225 GB, free: 13.94 MB / 0.5261 GB Notification: Performance of matching and sorting (n=387): time 0.2844/0.8021, allocations: 23.36 MB / 0.6453 GB, free: 131 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.309e-05/0.8022, allocations: 90.86 kB / 0.6454 GB, free: 131 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001544/0.8037, allocations: 1.632 MB / 0.647 GB, free: 130.3 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.000745/0.8044, allocations: 92.27 kB / 0.6471 GB, free: 130.3 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005826/0.805, allocations: 1.368 MB / 0.6484 GB, free: 129.4 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.001284/0.8063, allocations: 1.374 MB / 0.6498 GB, free: 128.4 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008841/0.8072, allocations: 0.7792 MB / 0.6505 GB, free: 128.1 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 3.611e-05/0.8072, allocations: 307.8 kB / 0.6508 GB, free: 127.8 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002238/0.8095, allocations: 1.843 MB / 0.6526 GB, free: 127.1 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003021/0.8125, allocations: 2.841 MB / 0.6554 GB, free: 125.2 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006776/0.8193, allocations: 4.972 MB / 0.6602 GB, free: 122.1 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.568e-05/0.8193, allocations: 7.906 kB / 0.6603 GB, free: 122.1 MB / 0.5261 GB Notification: Performance of matching and sorting (n=542) (initialization): time 0.01426/0.8336, allocations: 6.829 MB / 0.6669 GB, free: 119.6 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 5.95e-05/0.8336, allocations: 18.28 kB / 0.6669 GB, free: 119.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.897e-05/0.8337, allocations: 29.12 kB / 0.667 GB, free: 119.6 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007236/0.841, allocations: 2.292 MB / 0.6692 GB, free: 119.1 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002849/0.8438, allocations: 0.8918 MB / 0.6701 GB, free: 119 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01759/0.8614, allocations: 17.39 MB / 0.6871 GB, free: 105.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002966/0.8644, allocations: 140.5 kB / 0.6872 GB, free: 105.8 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008977/0.8653, allocations: 230.2 kB / 0.6874 GB, free: 105.7 MB / 0.5261 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.001843/0.8671, allocations: 0.6129 MB / 0.688 GB, free: 105.3 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008574/0.868, allocations: 275.7 kB / 0.6883 GB, free: 105.2 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01083/0.8788, allocations: 6.568 MB / 0.6947 GB, free: 102.7 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.709e-05/0.8788, allocations: 43.41 kB / 0.6947 GB, free: 102.7 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.191e-05/0.8789, allocations: 3.406 kB / 0.6947 GB, free: 102.7 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.338e-05/0.8789, allocations: 23.3 kB / 0.6948 GB, free: 102.7 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01567/0.8946, allocations: 9.754 MB / 0.7043 GB, free: 97.05 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.959e-05/0.8946, allocations: 4 kB / 0.7043 GB, free: 97.05 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00201/0.8966, allocations: 0.6553 MB / 0.7049 GB, free: 96.39 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005053/0.9017, allocations: 2.013 MB / 0.7069 GB, free: 94.4 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007285/0.9024, allocations: 138.6 kB / 0.707 GB, free: 94.27 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0122/0.9146, allocations: 16.03 MB / 0.7227 GB, free: 77.55 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.9146, allocations: 10.66 kB / 0.7227 GB, free: 77.54 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01289/0.9275, allocations: 8.493 MB / 0.731 GB, free: 68.95 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001687/0.9292, allocations: 0.6208 MB / 0.7316 GB, free: 68.33 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000401/0.9296, allocations: 86.69 kB / 0.7317 GB, free: 68.25 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001268/0.9309, allocations: 95.97 kB / 0.7318 GB, free: 68.15 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005484/0.9314, allocations: 354.4 kB / 0.7321 GB, free: 67.8 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002326/0.9316, allocations: 159.9 kB / 0.7322 GB, free: 67.65 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0009175/0.9326, allocations: 1.034 MB / 0.7333 GB, free: 66.62 MB / 0.5261 GB Notification: Performance of sort global known variables: time 3.01e-07/0.9326, allocations: 0 / 0.7333 GB, free: 66.62 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.006068/0.9386, allocations: 2.206 MB / 0.7354 GB, free: 64.61 MB / 0.5261 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.004343/0.943, allocations: 2.262 MB / 0.7376 GB, free: 62.73 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.008959/0.9519, allocations: 5.594 MB / 0.7431 GB, free: 57.07 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 8.666e-06/0.9519, allocations: 0 / 0.7431 GB, free: 57.07 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.004524/0.9565, allocations: 3.353 MB / 0.7464 GB, free: 53.64 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002476/0.9589, allocations: 0.5459 MB / 0.7469 GB, free: 53.16 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009197/0.9681, allocations: 6.762 MB / 0.7535 GB, free: 46.45 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009798/0.9691, allocations: 1.332 MB / 0.7548 GB, free: 45.11 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.002253/0.9714, allocations: 0.6599 MB / 0.7554 GB, free: 44.65 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000881/0.9722, allocations: 446.8 kB / 0.7559 GB, free: 44.22 MB / 0.5261 GB Notification: Performance of SimCode: time 2.304e-06/0.9722, allocations: 0 / 0.7559 GB, free: 44.22 MB / 0.5261 GB Notification: Performance of Templates: time 0.08026/1.053, allocations: 86.12 MB / 0.84 GB, free: 6.805 MB / 0.573 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: 6.287237081909552] Failed to read output from testmodel.py, exit status != 0: 1.0600595839787275 1.068818649 0.6308741950000001 Calling exit ...