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.001402/0.001402, allocations: 103.6 kB / 18.95 MB, free: 2.656 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.001886/0.001886, allocations: 221.6 kB / 22.25 MB, free: 5.262 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.597/1.597, allocations: 230.6 MB / 256 MB, free: 7.781 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.1556/0.1556, allocations: 23.88 MB / 336.3 MB, free: 10.93 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.002101/0.002101, allocations: 67.91 kB / 471.6 MB, free: 6.957 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3312/0.3333, allocations: 59.85 MB / 0.519 GB, free: 9.52 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.08728/0.4206, allocations: 33.35 MB / 0.5516 GB, free: 6.719 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.06133/0.4819, allocations: 41.75 MB / 0.5924 GB, free: 14.46 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00309/0.485, allocations: 55.56 kB / 0.5924 GB, free: 14.41 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003372/0.4883, allocations: 0.9226 MB / 0.5933 GB, free: 13.48 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01211/0.5005, allocations: 3.698 MB / 0.5969 GB, free: 9.754 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01885/0.5193, allocations: 6.513 MB / 0.6033 GB, free: 3.203 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.007173/0.5265, allocations: 4.528 MB / 0.6077 GB, free: 14.66 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003881/0.5304, allocations: 2.261 MB / 0.6099 GB, free: 12.34 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003713/0.5341, allocations: 2.284 MB / 0.6122 GB, free: 10.05 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004725/0.5388, allocations: 2.617 MB / 0.6147 GB, free: 7.422 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001372/0.5402, allocations: 420 kB / 0.6151 GB, free: 7.012 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0141/0.5543, allocations: 5.156 MB / 0.6201 GB, free: 1.848 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001908/0.5562, allocations: 0.9971 MB / 0.6211 GB, free: 0.8477 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00339/0.5596, allocations: 1.732 MB / 0.6228 GB, free: 15.11 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02417/0.5837, allocations: 10.2 MB / 0.6328 GB, free: 4.867 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.5837, allocations: 0 / 0.6328 GB, free: 4.867 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.5837, allocations: 0 / 0.6328 GB, free: 4.867 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0002351/0.584, allocations: 4 kB / 0.6328 GB, free: 4.863 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.01364/0.5976, allocations: 4.75 MB / 0.6374 GB, free: 56 kB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.004e-05/0.5977, allocations: 8.031 kB / 0.6374 GB, free: 48 kB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004458/0.6021, allocations: 0.8527 MB / 0.6383 GB, free: 15.19 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004183/0.6063, allocations: 1.616 MB / 0.6398 GB, free: 13.53 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003496/0.6067, allocations: 349.7 kB / 0.6402 GB, free: 13.16 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007689/0.6074, allocations: 332.2 kB / 0.6405 GB, free: 12.84 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008396/0.6158, allocations: 4.547 MB / 0.6449 GB, free: 8.223 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.418e-05/0.6159, allocations: 4 kB / 0.6449 GB, free: 8.219 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003458/0.6162, allocations: 124 kB / 0.645 GB, free: 8.098 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.814e-05/0.6163, allocations: 80 kB / 0.6451 GB, free: 8.02 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01057/0.6269, allocations: 6.173 MB / 0.6512 GB, free: 1.836 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.02507/0.6519, allocations: 11.65 MB / 0.6625 GB, free: 6.066 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0101/0.662, allocations: 5.313 MB / 0.6677 GB, free: 0.7617 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003519/0.6656, allocations: 2.059 MB / 0.6697 GB, free: 14.7 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02155/0.6871, allocations: 9.107 MB / 0.6786 GB, free: 5.551 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.671e-05/0.6872, allocations: 60.8 kB / 0.6787 GB, free: 5.48 MB / 0.5137 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002021/0.6892, allocations: 453.9 kB / 0.6791 GB, free: 5.035 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=284): time 7.584e-06/0.6892, allocations: 3.938 kB / 0.6791 GB, free: 5.031 MB / 0.5137 GB Notification: Performance of matching and sorting (n=387): time 0.08704/0.7762, allocations: 23.35 MB / 0.7019 GB, free: 13.51 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.267e-05/0.7763, allocations: 90.45 kB / 0.702 GB, free: 13.41 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002175/0.7785, allocations: 1.633 MB / 0.7036 GB, free: 11.77 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0006664/0.7792, allocations: 89.7 kB / 0.7037 GB, free: 11.68 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.001066/0.7802, allocations: 1.37 MB / 0.705 GB, free: 10.3 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.00163/0.7819, allocations: 1.371 MB / 0.7064 GB, free: 8.914 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001313/0.7832, allocations: 0.7798 MB / 0.7071 GB, free: 8.121 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001573/0.7833, allocations: 309.1 kB / 0.7074 GB, free: 7.816 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003284/0.7866, allocations: 1.839 MB / 0.7092 GB, free: 5.969 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004277/0.7909, allocations: 2.846 MB / 0.712 GB, free: 2.691 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008291/0.7992, allocations: 4.975 MB / 0.7169 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.157e-05/0.7992, allocations: 11.94 kB / 0.7169 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of matching and sorting (n=542) (initialization): time 0.01931/0.8185, allocations: 6.826 MB / 0.7235 GB, free: 6.391 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 4.178e-05/0.8186, allocations: 16 kB / 0.7235 GB, free: 6.375 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.972e-05/0.8186, allocations: 32 kB / 0.7236 GB, free: 6.344 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01073/0.8294, allocations: 2.287 MB / 0.7258 GB, free: 4.027 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003776/0.8331, allocations: 0.8854 MB / 0.7267 GB, free: 3.141 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2514/1.084, allocations: 17.39 MB / 0.7437 GB, free: 162.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003314/1.088, allocations: 138.8 kB / 0.7438 GB, free: 162 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008397/1.089, allocations: 231.2 kB / 0.744 GB, free: 162 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.001456/1.09, allocations: 0.6057 MB / 0.7446 GB, free: 161.6 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007146/1.091, allocations: 276 kB / 0.7449 GB, free: 161.6 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01649/1.107, allocations: 6.571 MB / 0.7513 GB, free: 159.2 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.646e-05/1.107, allocations: 41.72 kB / 0.7513 GB, free: 159.2 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-05/1.107, allocations: 5.438 kB / 0.7513 GB, free: 159.2 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.349e-05/1.107, allocations: 24.61 kB / 0.7514 GB, free: 159.2 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02226/1.13, allocations: 9.758 MB / 0.7609 GB, free: 155.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-05/1.13, allocations: 4.469 kB / 0.7609 GB, free: 155.2 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002872/1.133, allocations: 0.657 MB / 0.7615 GB, free: 155.1 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008881/1.142, allocations: 2.009 MB / 0.7635 GB, free: 154.7 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007109/1.142, allocations: 139.4 kB / 0.7636 GB, free: 154.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01795/1.16, allocations: 16.02 MB / 0.7793 GB, free: 142 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.639e-06/1.16, allocations: 7.844 kB / 0.7793 GB, free: 142 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0174/1.178, allocations: 8.495 MB / 0.7876 GB, free: 137.9 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00143/1.179, allocations: 0.6303 MB / 0.7882 GB, free: 137.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004022/1.179, allocations: 77.81 kB / 0.7883 GB, free: 137.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001671/1.181, allocations: 93.69 kB / 0.7884 GB, free: 137.4 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005938/1.182, allocations: 352.9 kB / 0.7887 GB, free: 137.1 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002449/1.182, allocations: 166.7 kB / 0.7888 GB, free: 137.1 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0009887/1.183, allocations: 1.033 MB / 0.7899 GB, free: 136.5 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/1.183, allocations: 0 / 0.7899 GB, free: 136.5 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.005141/1.188, allocations: 2.196 MB / 0.792 GB, free: 135.4 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.003237/1.191, allocations: 2.258 MB / 0.7942 GB, free: 133.9 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.008579/1.2, allocations: 5.601 MB / 0.7997 GB, free: 128.2 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 8.556e-06/1.2, allocations: 6.562 kB / 0.7997 GB, free: 128.2 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.004816/1.205, allocations: 3.349 MB / 0.803 GB, free: 124.8 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002444/1.207, allocations: 0.5385 MB / 0.8035 GB, free: 124.3 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009157/1.216, allocations: 6.766 MB / 0.8101 GB, free: 117.6 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001023/1.217, allocations: 1.338 MB / 0.8114 GB, free: 116.3 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0025/1.22, allocations: 0.6543 MB / 0.812 GB, free: 115.8 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009673/1.221, allocations: 453.7 kB / 0.8125 GB, free: 115.4 MB / 0.5606 GB Notification: Performance of SimCode: time 1.092e-06/1.221, allocations: 0 / 0.8125 GB, free: 115.4 MB / 0.5606 GB Notification: Performance of Templates: time 0.103/1.324, allocations: 91.63 MB / 0.9019 GB, free: 24.8 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: 10.019380589947104] Failed to read output from testmodel.py, exit status != 0: 1.333355920854956 1.343811982 0.757556295 Calling exit ...