Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_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.001303/0.001303, allocations: 104.3 kB / 19.7 MB, free: 2.156 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.001463/0.001463, allocations: 207.9 kB / 22.99 MB, free: 4.984 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.386/1.386, allocations: 230.6 MB / 256.8 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo): time 0.1299/0.1299, allocations: 23.92 MB / 337.1 MB, free: 10.94 MB / 270.1 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/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_master_Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInBlood") translateModel(Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInBlood,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_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.002/0.002, allocations: 67.89 kB / 472.4 MB, free: 6.957 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2848/0.2868, allocations: 59.88 MB / 0.5198 GB, free: 9.699 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/Obsolete.mo:14335:7-14335: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 master/Obsolete.mo:14335:7-14335: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.07925/0.3661, allocations: 33.26 MB / 0.5523 GB, free: 6.953 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.05626/0.4223, allocations: 41.75 MB / 0.5931 GB, free: 14.71 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002561/0.4249, allocations: 47.62 kB / 0.5931 GB, free: 14.66 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002789/0.4277, allocations: 0.9224 MB / 0.594 GB, free: 13.73 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01085/0.4385, allocations: 3.709 MB / 0.5977 GB, free: 10 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01701/0.4555, allocations: 6.501 MB / 0.604 GB, free: 3.461 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.006544/0.4621, allocations: 4.528 MB / 0.6084 GB, free: 14.91 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003041/0.4651, allocations: 2.261 MB / 0.6106 GB, free: 12.59 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003166/0.4683, allocations: 2.291 MB / 0.6129 GB, free: 10.3 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003749/0.472, allocations: 2.617 MB / 0.6154 GB, free: 7.672 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007829/0.4728, allocations: 423.9 kB / 0.6158 GB, free: 7.258 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01302/0.4858, allocations: 5.156 MB / 0.6209 GB, free: 2.094 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001319/0.4872, allocations: 0.9893 MB / 0.6218 GB, free: 1.102 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002322/0.4895, allocations: 1.728 MB / 0.6235 GB, free: 15.37 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01972/0.5092, allocations: 10.2 MB / 0.6335 GB, free: 5.125 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.5092, allocations: 0 / 0.6335 GB, free: 5.125 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.5092, allocations: 0 / 0.6335 GB, free: 5.125 MB / 478.1 MB Notification: Performance of Transformations before backend: time 7.518e-05/0.5093, allocations: 0 / 0.6335 GB, free: 5.125 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.01046/0.5197, allocations: 4.761 MB / 0.6381 GB, free: 312 kB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.045e-05/0.5198, allocations: 15.97 kB / 0.6382 GB, free: 296 kB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003982/0.5238, allocations: 0.8488 MB / 0.639 GB, free: 15.44 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003253/0.527, allocations: 1.612 MB / 0.6406 GB, free: 13.78 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003143/0.5273, allocations: 345.7 kB / 0.6409 GB, free: 13.42 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006602/0.528, allocations: 336.2 kB / 0.6412 GB, free: 13.09 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007954/0.536, allocations: 4.547 MB / 0.6456 GB, free: 8.473 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.944e-05/0.536, allocations: 0 / 0.6456 GB, free: 8.473 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003804/0.5364, allocations: 131.9 kB / 0.6458 GB, free: 8.344 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.358e-05/0.5365, allocations: 76 kB / 0.6458 GB, free: 8.27 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01009/0.5466, allocations: 6.173 MB / 0.6519 GB, free: 2.086 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.02407/0.5706, allocations: 11.65 MB / 0.6633 GB, free: 6.316 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009395/0.58, allocations: 5.305 MB / 0.6684 GB, free: 1.02 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003247/0.5833, allocations: 2.056 MB / 0.6704 GB, free: 14.95 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02011/0.6034, allocations: 9.103 MB / 0.6793 GB, free: 5.816 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.3e-05/0.6034, allocations: 68.78 kB / 0.6794 GB, free: 5.738 MB / 0.5137 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002091/0.6055, allocations: 446 kB / 0.6798 GB, free: 5.301 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=284): time 6.002e-06/0.6055, allocations: 0 / 0.6798 GB, free: 5.301 MB / 0.5137 GB Notification: Performance of matching and sorting (n=387): time 0.09312/0.6987, allocations: 23.36 MB / 0.7026 GB, free: 13.77 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.267e-05/0.6987, allocations: 90.45 kB / 0.7027 GB, free: 13.67 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002083/0.7008, allocations: 1.637 MB / 0.7043 GB, free: 12.03 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0004384/0.7012, allocations: 89.64 kB / 0.7044 GB, free: 11.94 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009876/0.7022, allocations: 1.37 MB / 0.7057 GB, free: 10.55 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.001333/0.7036, allocations: 1.371 MB / 0.7071 GB, free: 9.172 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001326/0.7049, allocations: 0.7876 MB / 0.7078 GB, free: 8.371 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001153/0.705, allocations: 301.1 kB / 0.7081 GB, free: 8.074 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003135/0.7081, allocations: 1.847 MB / 0.7099 GB, free: 6.219 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004083/0.7122, allocations: 2.835 MB / 0.7127 GB, free: 2.953 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007864/0.7201, allocations: 4.975 MB / 0.7176 GB, free: 13.54 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.318e-05/0.7201, allocations: 15.88 kB / 0.7176 GB, free: 13.53 MB / 0.5606 GB Notification: Performance of matching and sorting (n=542) (initialization): time 0.02022/0.7403, allocations: 6.833 MB / 0.7243 GB, free: 6.641 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.871e-05/0.7404, allocations: 16.25 kB / 0.7243 GB, free: 6.625 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.08e-05/0.7404, allocations: 32 kB / 0.7243 GB, free: 6.594 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01201/0.7524, allocations: 2.279 MB / 0.7265 GB, free: 4.285 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003679/0.7561, allocations: 0.8971 MB / 0.7274 GB, free: 3.387 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.212/0.9681, allocations: 17.38 MB / 0.7444 GB, free: 162.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003167/0.9713, allocations: 144.3 kB / 0.7445 GB, free: 162.1 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004546/0.9718, allocations: 228.5 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.001455/0.9732, allocations: 0.6027 MB / 0.7453 GB, free: 161.7 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007142/0.9739, allocations: 276.3 kB / 0.7456 GB, free: 161.7 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01749/0.9914, allocations: 6.571 MB / 0.752 GB, free: 159.2 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.802e-05/0.9915, allocations: 40.56 kB / 0.752 GB, free: 159.2 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.666e-05/0.9915, allocations: 6.031 kB / 0.752 GB, free: 159.2 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.169e-05/0.9916, allocations: 21.23 kB / 0.7521 GB, free: 159.2 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02256/1.014, allocations: 9.765 MB / 0.7616 GB, free: 155.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.614e-05/1.014, allocations: 4.281 kB / 0.7616 GB, free: 155.2 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002901/1.017, allocations: 0.652 MB / 0.7622 GB, free: 155.2 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009685/1.027, allocations: 2.008 MB / 0.7642 GB, free: 154.8 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004481/1.027, allocations: 134.5 kB / 0.7643 GB, free: 154.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01846/1.046, allocations: 16.03 MB / 0.78 GB, free: 142.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.368e-06/1.046, allocations: 3.875 kB / 0.78 GB, free: 142.1 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01742/1.063, allocations: 8.503 MB / 0.7883 GB, free: 138.1 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001461/1.065, allocations: 0.6217 MB / 0.7889 GB, free: 137.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004148/1.065, allocations: 85.83 kB / 0.789 GB, free: 137.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001882/1.067, allocations: 90.59 kB / 0.7891 GB, free: 137.5 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000611/1.067, allocations: 358 kB / 0.7894 GB, free: 137.3 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002771/1.068, allocations: 162.5 kB / 0.7896 GB, free: 137.2 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0009912/1.069, allocations: 1.027 MB / 0.7906 GB, free: 136.7 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.2e-07/1.069, allocations: 0 / 0.7906 GB, free: 136.7 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.005369/1.074, allocations: 2.213 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.003371/1.077, allocations: 2.248 MB / 0.7949 GB, free: 134.2 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.008657/1.086, allocations: 5.61 MB / 0.8004 GB, free: 128.6 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 7.685e-06/1.086, allocations: 0 / 0.8004 GB, free: 128.6 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.004871/1.091, allocations: 3.353 MB / 0.8037 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.002362/1.093, allocations: 0.5454 MB / 0.8042 GB, free: 124.6 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009227/1.103, allocations: 6.76 MB / 0.8108 GB, free: 118 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001026/1.104, allocations: 1.326 MB / 0.8121 GB, free: 116.6 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.002411/1.106, allocations: 0.6555 MB / 0.8128 GB, free: 116.2 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001008/1.107, allocations: 457.7 kB / 0.8132 GB, free: 115.7 MB / 0.5606 GB Notification: Performance of SimCode: time 1.263e-06/1.107, allocations: 0 / 0.8132 GB, free: 115.7 MB / 0.5606 GB Notification: Performance of Templates: time 0.09347/1.2, allocations: 91.61 MB / 0.9027 GB, free: 25.17 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f Chemical_master_Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInBlood.makefile [Timeout 660] (rm -f Chemical_master_Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInBlood.pipe ; mkfifo Chemical_master_Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInBlood.pipe ; head -c 1048576 < Chemical_master_Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInBlood.pipe >> ../files/Chemical_master_Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInBlood.sim & ./Chemical_master_Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInBlood -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInBlood.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 38.209034907005844] Failed to read output from testmodel.py, exit status != 0: 1.2090458769962424 1.21837274 0.706753952 Calling exit ...