Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_Chemical.Examples.AcidBase.CarbonDioxideInBlood.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00151/0.00151, allocations: 113.8 kB / 17.61 MB, free: 4.703 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001421/0.001421, allocations: 186 kB / 20.78 MB, free: 1.547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.579/1.579, allocations: 225.6 MB / 249.4 MB, free: 3.156 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo): time 0.0967/0.0967, allocations: 15.54 MB / 320 MB, free: 13.15 MB / 254.1 MB " [Timeout remaining time 180] Using package Chemical with version 1.4.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Chemical.Examples.AcidBase.CarbonDioxideInBlood,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.AcidBase.CarbonDioxideInBlood") translateModel(Chemical.Examples.AcidBase.CarbonDioxideInBlood,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.AcidBase.CarbonDioxideInBlood") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001926/0.001926, allocations: 65.94 kB / 448.2 MB, free: 46.39 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1057/0.1076, allocations: 56.55 MB / 0.493 GB, free: 19.11 MB / 366.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo:4740:7-4740: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 1.4.1-master/package.mo:4740:7-4740: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.Examples.AcidBase.CarbonDioxideInBlood): time 0.04499/0.1526, allocations: 34.83 MB / 0.527 GB, free: 2.352 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.06314/0.2158, allocations: 47.65 MB / 0.5735 GB, free: 2.516 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003604/0.2194, allocations: 39.75 kB / 0.5735 GB, free: 2.477 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003907/0.2233, allocations: 1.024 MB / 0.5745 GB, free: 1.445 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01318/0.2365, allocations: 3.733 MB / 0.5782 GB, free: 13.68 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02053/0.257, allocations: 6.419 MB / 0.5845 GB, free: 7.227 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.009448/0.2664, allocations: 4.539 MB / 0.5889 GB, free: 2.672 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004805/0.2713, allocations: 2.238 MB / 0.5911 GB, free: 384 kB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004431/0.2757, allocations: 2.249 MB / 0.5933 GB, free: 14.12 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005134/0.2808, allocations: 2.621 MB / 0.5958 GB, free: 11.49 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002055/0.2829, allocations: 420 kB / 0.5962 GB, free: 11.08 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02289/0.3058, allocations: 5.351 MB / 0.6015 GB, free: 5.723 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002322/0.3081, allocations: 0.9854 MB / 0.6024 GB, free: 4.734 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003212/0.3113, allocations: 2.038 MB / 0.6044 GB, free: 2.688 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.3611/0.6724, allocations: 9.952 MB / 0.6141 GB, free: 34.9 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.8e-06/0.6724, allocations: 0.5938 kB / 0.6141 GB, free: 34.9 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.265e-06/0.6724, allocations: 4.641 kB / 0.6141 GB, free: 34.9 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0002521/0.6726, allocations: 0.75 kB / 0.6141 GB, free: 34.9 MB / 462.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.01936/0.692, allocations: 4.836 MB / 0.6189 GB, free: 32.8 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.555e-05/0.6921, allocations: 9.344 kB / 0.6189 GB, free: 32.8 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006176/0.6982, allocations: 0.8523 MB / 0.6197 GB, free: 32.59 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004582/0.7028, allocations: 1.671 MB / 0.6213 GB, free: 32.09 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003596/0.7032, allocations: 298.9 kB / 0.6216 GB, free: 32.02 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001641/0.7048, allocations: 330.6 kB / 0.6219 GB, free: 32.01 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01147/0.7163, allocations: 4.516 MB / 0.6263 GB, free: 31.76 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001179/0.7164, allocations: 3.219 kB / 0.6263 GB, free: 31.76 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00115/0.7176, allocations: 129.2 kB / 0.6265 GB, free: 31.76 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.4e-05/0.7176, allocations: 75.41 kB / 0.6265 GB, free: 31.76 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0115/0.7291, allocations: 6.168 MB / 0.6326 GB, free: 31.73 MB / 462.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.03264/0.7618, allocations: 14.08 MB / 0.6463 GB, free: 27.34 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009429/0.7712, allocations: 6.132 MB / 0.6523 GB, free: 24.02 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003144/0.7743, allocations: 2.054 MB / 0.6543 GB, free: 21.96 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01823/0.7926, allocations: 14.88 MB / 0.6688 GB, free: 5.973 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.794e-05/0.7926, allocations: 58.77 kB / 0.6689 GB, free: 5.906 MB / 462.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001965/0.7946, allocations: 472.5 kB / 0.6693 GB, free: 5.457 MB / 462.1 MB Notification: Performance of pre-optimization done (n=284): time 5.109e-06/0.7946, allocations: 0 / 0.6693 GB, free: 5.457 MB / 462.1 MB Notification: Performance of matching and sorting (n=387): time 0.09138/0.8859, allocations: 23.87 MB / 0.6927 GB, free: 13.74 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.569e-05/0.886, allocations: 94.45 kB / 0.6927 GB, free: 13.63 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002579/0.8886, allocations: 1.711 MB / 0.6944 GB, free: 11.88 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007432/0.8893, allocations: 93.7 kB / 0.6945 GB, free: 11.78 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001077/0.8904, allocations: 1.339 MB / 0.6958 GB, free: 10.44 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001764/0.8922, allocations: 1.376 MB / 0.6972 GB, free: 9.082 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001341/0.8935, allocations: 0.7825 MB / 0.6979 GB, free: 8.289 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000134/0.8937, allocations: 303.8 kB / 0.6982 GB, free: 7.992 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003346/0.897, allocations: 1.817 MB / 0.7 GB, free: 6.168 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004269/0.9013, allocations: 2.818 MB / 0.7027 GB, free: 2.953 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008594/0.9099, allocations: 4.938 MB / 0.7076 GB, free: 13.78 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.596e-05/0.9099, allocations: 10.62 kB / 0.7076 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of matching and sorting (n=542) (initialization): time 0.02009/0.93, allocations: 6.795 MB / 0.7142 GB, free: 7.18 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 5.253e-05/0.93, allocations: 18.66 kB / 0.7142 GB, free: 7.164 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-05/0.9301, allocations: 32.84 kB / 0.7142 GB, free: 7.133 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01172/0.9418, allocations: 2.288 MB / 0.7165 GB, free: 4.883 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004018/0.9458, allocations: 0.8899 MB / 0.7174 GB, free: 4.047 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03121/0.977, allocations: 18.39 MB / 0.7353 GB, free: 0.8164 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005176/0.9822, allocations: 142.6 kB / 0.7355 GB, free: 0.6797 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001127/0.9833, allocations: 227.9 kB / 0.7357 GB, free: 468 kB / 0.5137 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.001787/0.9851, allocations: 0.6036 MB / 0.7363 GB, free: 15.9 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009024/0.986, allocations: 286.2 kB / 0.7365 GB, free: 15.62 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01888/1.005, allocations: 6.554 MB / 0.7429 GB, free: 9.188 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.722e-05/1.005, allocations: 40.78 kB / 0.743 GB, free: 9.148 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.043e-05/1.005, allocations: 4 kB / 0.743 GB, free: 9.145 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001298/1.005, allocations: 24.36 kB / 0.743 GB, free: 9.125 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02765/1.033, allocations: 10.62 MB / 0.7534 GB, free: 14.55 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.582e-05/1.033, allocations: 8.094 kB / 0.7534 GB, free: 14.54 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003518/1.036, allocations: 0.6548 MB / 0.754 GB, free: 13.92 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01042/1.047, allocations: 2.022 MB / 0.756 GB, free: 11.88 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001004/1.048, allocations: 131.9 kB / 0.7561 GB, free: 11.75 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02587/1.074, allocations: 17.03 MB / 0.7727 GB, free: 9.812 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.382e-06/1.074, allocations: 7.469 kB / 0.7727 GB, free: 9.809 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02291/1.097, allocations: 8.456 MB / 0.781 GB, free: 1.266 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002342/1.099, allocations: 0.7134 MB / 0.7817 GB, free: 0.5312 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007741/1.1, allocations: 80 kB / 0.7818 GB, free: 464 kB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002453/1.102, allocations: 95.97 kB / 0.7819 GB, free: 368 kB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009651/1.103, allocations: 342.3 kB / 0.7822 GB, free: 28 kB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004219/1.103, allocations: 155.9 kB / 0.7823 GB, free: 15.88 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001862/1.105, allocations: 1.117 MB / 0.7834 GB, free: 14.73 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.1e-07/1.105, allocations: 0 / 0.7834 GB, free: 14.73 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.009361/1.115, allocations: 2.202 MB / 0.7856 GB, free: 12.53 MB / 0.5762 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.007089/1.122, allocations: 2.217 MB / 0.7878 GB, free: 10.64 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01302/1.135, allocations: 5.561 MB / 0.7932 GB, free: 5.109 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 8.796e-06/1.135, allocations: 0 / 0.7932 GB, free: 5.109 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.007457/1.142, allocations: 3.347 MB / 0.7965 GB, free: 1.758 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003397/1.146, allocations: 0.5579 MB / 0.797 GB, free: 1.238 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01322/1.159, allocations: 6.757 MB / 0.8036 GB, free: 10.45 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001744/1.161, allocations: 1.88 MB / 0.8054 GB, free: 8.539 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.002984/1.164, allocations: 0.6652 MB / 0.8061 GB, free: 7.906 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001404/1.165, allocations: 459 kB / 0.8065 GB, free: 7.457 MB / 0.5919 GB Notification: Performance of SimCode: time 1.513e-06/1.165, allocations: 0 / 0.8065 GB, free: 7.457 MB / 0.5919 GB Notification: Performance of Templates: time 0.3514/1.516, allocations: 88.5 MB / 0.8929 GB, free: 194.8 MB / 0.6075 GB " [Timeout remaining time 658] make -j1 -f Chemical_Chemical.Examples.AcidBase.CarbonDioxideInBlood.makefile [Timeout 660] (rm -f Chemical_Chemical.Examples.AcidBase.CarbonDioxideInBlood.pipe ; mkfifo Chemical_Chemical.Examples.AcidBase.CarbonDioxideInBlood.pipe ; head -c 1048576 < Chemical_Chemical.Examples.AcidBase.CarbonDioxideInBlood.pipe >> ../files/Chemical_Chemical.Examples.AcidBase.CarbonDioxideInBlood.sim & ./Chemical_Chemical.Examples.AcidBase.CarbonDioxideInBlood -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_Chemical.Examples.AcidBase.CarbonDioxideInBlood.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 10.141239770688117]