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.001741/0.001741, allocations: 106.5 kB / 16.45 MB, free: 6.457 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.001591/0.001591, allocations: 198.8 kB / 19.41 MB, free: 3.645 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.487/1.487, allocations: 225.6 MB / 247.8 MB, free: 13.93 MB / 206.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.1082/0.1082, allocations: 15.53 MB / 318.2 MB, free: 10.2 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.002019/0.002019, allocations: 71.88 kB / 445.4 MB, free: 13 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1216/0.1237, allocations: 56.54 MB / 0.4902 GB, free: 4.352 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.4782/0.6019, allocations: 34.75 MB / 0.5241 GB, free: 4.168 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.05554/0.6574, allocations: 47.55 MB / 0.5706 GB, free: 8.309 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002297/0.6597, allocations: 35.81 kB / 0.5706 GB, free: 8.273 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003298/0.663, allocations: 1.016 MB / 0.5716 GB, free: 7.25 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01219/0.6752, allocations: 3.736 MB / 0.5753 GB, free: 3.488 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02264/0.6979, allocations: 6.411 MB / 0.5815 GB, free: 13.04 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.008675/0.7065, allocations: 4.543 MB / 0.586 GB, free: 8.477 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004378/0.7109, allocations: 2.277 MB / 0.5882 GB, free: 6.141 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004738/0.7157, allocations: 2.249 MB / 0.5904 GB, free: 3.887 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005781/0.7214, allocations: 2.617 MB / 0.5929 GB, free: 1.262 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00192/0.7234, allocations: 420 kB / 0.5933 GB, free: 0.8516 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02032/0.7437, allocations: 5.355 MB / 0.5986 GB, free: 11.49 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002088/0.7458, allocations: 0.9932 MB / 0.5995 GB, free: 10.49 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004413/0.7502, allocations: 2.03 MB / 0.6015 GB, free: 8.453 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03109/0.7813, allocations: 9.957 MB / 0.6112 GB, free: 14.45 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.438e-06/0.7813, allocations: 0 / 0.6112 GB, free: 14.45 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.425e-06/0.7813, allocations: 0 / 0.6112 GB, free: 14.45 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0001687/0.7814, allocations: 0 / 0.6112 GB, free: 14.45 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.01354/0.795, allocations: 4.84 MB / 0.616 GB, free: 9.535 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.827e-05/0.7951, allocations: 8.031 kB / 0.616 GB, free: 9.527 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004297/0.7994, allocations: 0.8448 MB / 0.6168 GB, free: 8.68 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003534/0.8029, allocations: 1.68 MB / 0.6184 GB, free: 6.945 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003085/0.8032, allocations: 290.3 kB / 0.6187 GB, free: 6.648 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007011/0.8039, allocations: 336.2 kB / 0.619 GB, free: 6.32 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009707/0.8136, allocations: 4.515 MB / 0.6234 GB, free: 1.734 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.094e-05/0.8137, allocations: 4 kB / 0.6235 GB, free: 1.73 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003591/0.814, allocations: 124 kB / 0.6236 GB, free: 1.609 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.505e-05/0.8141, allocations: 76 kB / 0.6236 GB, free: 1.535 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01132/0.8254, allocations: 6.173 MB / 0.6297 GB, free: 11.35 MB / 478.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.02971/0.8551, allocations: 14.08 MB / 0.6434 GB, free: 12.86 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0113/0.8664, allocations: 6.131 MB / 0.6494 GB, free: 6.551 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004221/0.8707, allocations: 2.044 MB / 0.6514 GB, free: 4.5 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0278/0.8985, allocations: 14.89 MB / 0.6659 GB, free: 4.27 MB / 0.4982 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.804e-05/0.8985, allocations: 64.8 kB / 0.666 GB, free: 4.195 MB / 0.4982 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002445/0.901, allocations: 469.8 kB / 0.6664 GB, free: 3.734 MB / 0.4982 GB Notification: Performance of pre-optimization done (n=284): time 1.268e-05/0.901, allocations: 0 / 0.6664 GB, free: 3.734 MB / 0.4982 GB Notification: Performance of matching and sorting (n=387): time 0.09871/0.9997, allocations: 23.86 MB / 0.6897 GB, free: 11.56 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.266e-05/0.9998, allocations: 90.45 kB / 0.6898 GB, free: 11.46 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002802/1.003, allocations: 1.712 MB / 0.6915 GB, free: 9.703 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0007575/1.003, allocations: 89.7 kB / 0.6916 GB, free: 9.609 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.001156/1.005, allocations: 1.348 MB / 0.6929 GB, free: 8.246 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001929/1.006, allocations: 1.371 MB / 0.6942 GB, free: 6.863 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001973/1.008, allocations: 0.7838 MB / 0.695 GB, free: 6.066 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001731/1.009, allocations: 309.1 kB / 0.6953 GB, free: 5.762 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003787/1.012, allocations: 1.816 MB / 0.6971 GB, free: 3.938 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004751/1.017, allocations: 2.827 MB / 0.6998 GB, free: 0.6797 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009087/1.026, allocations: 4.932 MB / 0.7047 GB, free: 11.32 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.16e-05/1.026, allocations: 8 kB / 0.7047 GB, free: 11.31 MB / 0.545 GB Notification: Performance of matching and sorting (n=542) (initialization): time 0.02093/1.047, allocations: 6.794 MB / 0.7113 GB, free: 4.465 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 5.662e-05/1.047, allocations: 16 kB / 0.7113 GB, free: 4.449 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.153e-05/1.047, allocations: 32 kB / 0.7113 GB, free: 4.418 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01151/1.059, allocations: 2.282 MB / 0.7136 GB, free: 2.105 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004147/1.063, allocations: 0.8971 MB / 0.7144 GB, free: 1.207 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2764/1.339, allocations: 18.39 MB / 0.7324 GB, free: 162.5 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003473/1.343, allocations: 147.8 kB / 0.7326 GB, free: 162.4 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005942/1.343, allocations: 229.6 kB / 0.7328 GB, free: 162.4 MB / 0.545 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.001346/1.345, allocations: 0.6025 MB / 0.7334 GB, free: 162 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007594/1.346, allocations: 287.9 kB / 0.7336 GB, free: 162 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01756/1.363, allocations: 6.547 MB / 0.74 GB, free: 159.6 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.048e-05/1.363, allocations: 42 kB / 0.7401 GB, free: 159.6 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.601e-05/1.363, allocations: 5 kB / 0.7401 GB, free: 159.6 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.603e-05/1.363, allocations: 24.42 kB / 0.7401 GB, free: 159.6 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02355/1.387, allocations: 10.61 MB / 0.7505 GB, free: 155.3 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.313e-05/1.387, allocations: 7.672 kB / 0.7505 GB, free: 155.3 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003067/1.39, allocations: 0.6552 MB / 0.7511 GB, free: 155.2 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008926/1.399, allocations: 2.02 MB / 0.7531 GB, free: 154.8 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007389/1.4, allocations: 138.2 kB / 0.7532 GB, free: 154.8 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01812/1.418, allocations: 17.03 MB / 0.7698 GB, free: 140.7 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.968e-06/1.418, allocations: 5.125 kB / 0.7698 GB, free: 140.7 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01745/1.435, allocations: 8.458 MB / 0.7781 GB, free: 136.1 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001631/1.437, allocations: 0.7094 MB / 0.7788 GB, free: 135.5 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005332/1.437, allocations: 78.19 kB / 0.7789 GB, free: 135.4 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001928/1.439, allocations: 99.42 kB / 0.779 GB, free: 135.4 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007223/1.44, allocations: 338.4 kB / 0.7793 GB, free: 135.2 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002997/1.44, allocations: 161.1 kB / 0.7794 GB, free: 135.1 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001248/1.442, allocations: 1.115 MB / 0.7805 GB, free: 134.5 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/1.442, allocations: 5.531 kB / 0.7805 GB, free: 134.5 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.006811/1.448, allocations: 2.203 MB / 0.7827 GB, free: 133.6 MB / 0.545 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.004823/1.453, allocations: 2.225 MB / 0.7849 GB, free: 132.1 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01068/1.464, allocations: 5.564 MB / 0.7903 GB, free: 126.5 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 9.328e-06/1.464, allocations: 0 / 0.7903 GB, free: 126.5 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.005941/1.47, allocations: 3.345 MB / 0.7936 GB, free: 123 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002708/1.473, allocations: 0.5411 MB / 0.7941 GB, free: 122.5 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009964/1.483, allocations: 6.755 MB / 0.8007 GB, free: 115.9 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001293/1.484, allocations: 1.886 MB / 0.8025 GB, free: 114 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.002878/1.487, allocations: 0.6644 MB / 0.8032 GB, free: 113.5 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001097/1.488, allocations: 455.1 kB / 0.8036 GB, free: 113.1 MB / 0.545 GB Notification: Performance of SimCode: time 1.433e-06/1.488, allocations: 0 / 0.8036 GB, free: 113.1 MB / 0.545 GB Notification: Performance of Templates: time 0.0987/1.586, allocations: 86.65 MB / 0.8882 GB, free: 27.25 MB / 0.545 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: 9.725246284157038]