Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_Chemical.Examples.GasSolubility.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.001716/0.001716, allocations: 105.6 kB / 16.45 MB, free: 6.512 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.00187/0.00187, allocations: 198.8 kB / 19.41 MB, free: 3.668 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.556/1.556, allocations: 225.6 MB / 247.8 MB, free: 13.95 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.1039/0.1039, allocations: 15.53 MB / 318.2 MB, free: 10.23 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.GasSolubility,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.GasSolubility") translateModel(Chemical.Examples.GasSolubility,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.GasSolubility") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002013/0.002013, allocations: 63.89 kB / 445.4 MB, free: 13.07 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1235/0.1255, allocations: 56.55 MB / 0.4902 GB, free: 4.41 MB / 366.1 MB Notification: Performance of NFInst.instantiate(Chemical.Examples.GasSolubility): time 0.0136/0.1391, allocations: 10.37 MB / 0.5003 GB, free: 10 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.3183/0.4575, allocations: 32.99 MB / 0.5325 GB, free: 1.395 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002405/0.4599, allocations: 28.03 kB / 0.5326 GB, free: 1.383 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002569/0.4624, allocations: 0.6899 MB / 0.5332 GB, free: 1.008 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01034/0.4728, allocations: 2.646 MB / 0.5358 GB, free: 15.55 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0146/0.4874, allocations: 4.314 MB / 0.54 GB, free: 13.51 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.00672/0.4941, allocations: 3.01 MB / 0.543 GB, free: 12.03 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002522/0.4966, allocations: 1.369 MB / 0.5443 GB, free: 11.35 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002944/0.4996, allocations: 1.457 MB / 0.5457 GB, free: 10.81 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003893/0.5034, allocations: 1.631 MB / 0.5473 GB, free: 10.01 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008726/0.5043, allocations: 263.1 kB / 0.5476 GB, free: 10.01 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01765/0.522, allocations: 3.661 MB / 0.5511 GB, free: 8.645 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001551/0.5235, allocations: 0.6111 MB / 0.5517 GB, free: 8.141 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003081/0.5266, allocations: 1.331 MB / 0.553 GB, free: 7.25 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02456/0.5512, allocations: 6.651 MB / 0.5595 GB, free: 3.141 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.5512, allocations: 0 / 0.5595 GB, free: 3.141 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.973e-06/0.5512, allocations: 0 / 0.5595 GB, free: 3.141 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.277e-05/0.5512, allocations: 1.125 kB / 0.5595 GB, free: 3.141 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 539 * Number of variables: 539 Notification: Performance of Generate backend data structure: time 0.008589/0.5598, allocations: 3.303 MB / 0.5628 GB, free: 164 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.149e-05/0.5599, allocations: 8.031 kB / 0.5628 GB, free: 156 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003029/0.5629, allocations: 0.5853 MB / 0.5633 GB, free: 15.57 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002351/0.5653, allocations: 1.135 MB / 0.5645 GB, free: 14.39 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000145/0.5654, allocations: 156.6 kB / 0.5646 GB, free: 14.23 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000396/0.5658, allocations: 224.3 kB / 0.5648 GB, free: 14.01 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005197/0.571, allocations: 2.795 MB / 0.5675 GB, free: 11.13 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.142e-05/0.571, allocations: 3.938 kB / 0.5676 GB, free: 11.13 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002169/0.5713, allocations: 88 kB / 0.5676 GB, free: 11.04 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.842e-05/0.5713, allocations: 52 kB / 0.5677 GB, free: 10.99 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00641/0.5777, allocations: 3.788 MB / 0.5714 GB, free: 7.188 MB / 414.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.01585/0.5936, allocations: 8.33 MB / 0.5795 GB, free: 14.55 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006562/0.6001, allocations: 3.838 MB / 0.5833 GB, free: 10.59 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001676/0.6018, allocations: 0.9084 MB / 0.5842 GB, free: 9.676 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01548/0.6173, allocations: 9.227 MB / 0.5932 GB, free: 15.38 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.22e-05/0.6173, allocations: 51.88 kB / 0.5932 GB, free: 15.32 MB / 446.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009194/0.6183, allocations: 182.7 kB / 0.5934 GB, free: 15.14 MB / 446.1 MB Notification: Performance of pre-optimization done (n=138): time 3.657e-06/0.6183, allocations: 0 / 0.5934 GB, free: 15.14 MB / 446.1 MB Notification: Performance of matching and sorting (n=170): time 0.03014/0.6484, allocations: 6.423 MB / 0.5997 GB, free: 8.625 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.941e-05/0.6485, allocations: 69.41 kB / 0.5997 GB, free: 8.543 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002444/0.6509, allocations: 1.668 MB / 0.6014 GB, free: 6.863 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002042/0.6511, allocations: 57.7 kB / 0.6014 GB, free: 6.801 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008998/0.652, allocations: 1.069 MB / 0.6025 GB, free: 5.719 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006442/0.6527, allocations: 0.6159 MB / 0.6031 GB, free: 5.098 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007704/0.6534, allocations: 480.8 kB / 0.6035 GB, free: 4.621 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.000151/0.6536, allocations: 305.1 kB / 0.6038 GB, free: 4.32 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001443/0.655, allocations: 0.7975 MB / 0.6046 GB, free: 3.52 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002194/0.6572, allocations: 1.597 MB / 0.6061 GB, free: 1.559 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00369/0.6609, allocations: 2.413 MB / 0.6085 GB, free: 14.78 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.587e-05/0.6609, allocations: 11.94 kB / 0.6085 GB, free: 14.77 MB / 462.1 MB Notification: Performance of matching and sorting (n=317) (initialization): time 0.008591/0.6695, allocations: 3.128 MB / 0.6116 GB, free: 11.62 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.54e-05/0.6696, allocations: 16 kB / 0.6116 GB, free: 11.61 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.773e-05/0.6696, allocations: 32.16 kB / 0.6116 GB, free: 11.57 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003746/0.6734, allocations: 486.9 kB / 0.6121 GB, free: 11.09 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002305/0.6757, allocations: 0.585 MB / 0.6126 GB, free: 10.5 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01214/0.6878, allocations: 7.703 MB / 0.6202 GB, free: 2.25 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002186/0.69, allocations: 84.06 kB / 0.6203 GB, free: 2.168 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003176/0.6903, allocations: 146 kB / 0.6204 GB, free: 2.027 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 117 * 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 (305): * Single equations (assignments): 301 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,3), (1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0009857/0.6913, allocations: 416.9 kB / 0.6208 GB, free: 1.609 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004687/0.6918, allocations: 178.8 kB / 0.621 GB, free: 1.434 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007832/0.6996, allocations: 2.398 MB / 0.6233 GB, free: 15.02 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.896e-05/0.6996, allocations: 20 kB / 0.6233 GB, free: 15 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.953e-06/0.6996, allocations: 0 / 0.6233 GB, free: 15 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.912e-05/0.6996, allocations: 7.969 kB / 0.6233 GB, free: 15 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003402/0.703, allocations: 1.871 MB / 0.6252 GB, free: 13.04 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-05/0.7031, allocations: 4 kB / 0.6252 GB, free: 13.04 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00135/0.7044, allocations: 347.5 kB / 0.6255 GB, free: 12.7 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003684/0.7081, allocations: 463.2 kB / 0.6259 GB, free: 12.23 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003087/0.7084, allocations: 63.97 kB / 0.626 GB, free: 12.17 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01158/0.72, allocations: 7.53 MB / 0.6333 GB, free: 4.09 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.72, allocations: 0 / 0.6333 GB, free: 4.09 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00845/0.7284, allocations: 3.004 MB / 0.6363 GB, free: 1.035 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006143/0.729, allocations: 251.9 kB / 0.6365 GB, free: 0.7695 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002933/0.7293, allocations: 36 kB / 0.6366 GB, free: 0.7344 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001008/0.7303, allocations: 39.98 kB / 0.6366 GB, free: 0.6953 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003862/0.7307, allocations: 145.8 kB / 0.6367 GB, free: 0.5508 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000158/0.7309, allocations: 75.91 kB / 0.6368 GB, free: 488 kB / 478.1 MB Notification: Performance of sorting global known variables: time 0.00158/0.7325, allocations: 1.133 MB / 0.6379 GB, free: 15.34 MB / 494.1 MB Notification: Performance of sort global known variables: time 9e-08/0.7325, allocations: 4 kB / 0.6379 GB, free: 15.34 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.004839/0.7373, allocations: 1.379 MB / 0.6393 GB, free: 13.95 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 9 (blood_plasma.temperature,red_cells.temperature,CO2_unbound_plasma.logn,O2_unbound_plasma.logn,CO2_unbound_erythrocyte.logn,O2_unbound_erythrocyte_NIST.logn,water_plasma.logn,water.logn,water_plasma1.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 (183): * Single equations (assignments): 179 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,3), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003349/0.7406, allocations: 1.521 MB / 0.6407 GB, free: 12.42 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.004593/0.7452, allocations: 2.376 MB / 0.6431 GB, free: 10 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.849e-06/0.7452, allocations: 0 / 0.6431 GB, free: 10 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002135/0.7474, allocations: 1.288 MB / 0.6443 GB, free: 8.66 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00188/0.7493, allocations: 364.5 kB / 0.6447 GB, free: 8.312 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006273/0.7555, allocations: 3.614 MB / 0.6482 GB, free: 4.645 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001166/0.7567, allocations: 1.378 MB / 0.6495 GB, free: 3.234 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.001643/0.7583, allocations: 430 kB / 0.65 GB, free: 2.809 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006975/0.759, allocations: 302.5 kB / 0.6502 GB, free: 2.512 MB / 494.1 MB Notification: Performance of SimCode: time 9.62e-07/0.759, allocations: 4 kB / 0.6502 GB, free: 2.508 MB / 494.1 MB Notification: Performance of Templates: time 0.0774/0.8364, allocations: 46.61 MB / 0.6958 GB, free: 4.035 MB / 0.5294 GB " [Timeout remaining time 659] make -j1 -f Chemical_Chemical.Examples.GasSolubility.makefile [Timeout 660] (rm -f Chemical_Chemical.Examples.GasSolubility.pipe ; mkfifo Chemical_Chemical.Examples.GasSolubility.pipe ; head -c 1048576 < Chemical_Chemical.Examples.GasSolubility.pipe >> ../files/Chemical_Chemical.Examples.GasSolubility.sim & ./Chemical_Chemical.Examples.GasSolubility -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_Chemical.Examples.GasSolubility.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.354120260104537]