Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_Chemical.Examples.GasSolubility_blood.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002001/0.002001, allocations: 104.1 kB / 18.19 MB, free: 4.117 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002172/0.002172, allocations: 192.4 kB / 21.34 MB, free: 0.9766 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.529/1.529, allocations: 225.6 MB / 249.9 MB, free: 3.199 MB / 190.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo): time 0.09591/0.09591, allocations: 15.54 MB / 320.6 MB, free: 13.21 MB / 254.1 MB [Timeout remaining time 90] 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_blood,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.GasSolubility_blood") translateModel(Chemical.Examples.GasSolubility_blood,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.GasSolubility_blood") [Timeout 660] Notification: Performance of FrontEnd - loaded program: time 0.001916/0.001916, allocations: 69.81 kB / 448.6 MB, free: 46.68 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1021/0.104, allocations: 56.56 MB / 0.4933 GB, free: 19.37 MB / 366.1 MB Notification: Performance of NFInst.instantiate(Chemical.Examples.GasSolubility_blood): time 0.006626/0.1106, allocations: 7.01 MB / 0.5002 GB, free: 13.82 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.02076/0.1314, allocations: 21.82 MB / 0.5215 GB, free: 8.57 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001117/0.1325, allocations: 15.94 kB / 0.5215 GB, free: 8.555 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001275/0.1338, allocations: 452.7 kB / 0.5219 GB, free: 8.109 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004767/0.1385, allocations: 1.661 MB / 0.5236 GB, free: 6.438 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007654/0.1462, allocations: 2.819 MB / 0.5263 GB, free: 3.598 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003102/0.1493, allocations: 1.833 MB / 0.5281 GB, free: 1.758 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001146/0.1504, allocations: 0.7576 MB / 0.5288 GB, free: 0.9766 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001095/0.1515, allocations: 0.8572 MB / 0.5297 GB, free: 120 kB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001309/0.1528, allocations: 0.9577 MB / 0.5306 GB, free: 15.16 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002576/0.1531, allocations: 152 kB / 0.5308 GB, free: 15.01 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007502/0.1606, allocations: 2.344 MB / 0.5331 GB, free: 12.66 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005614/0.1612, allocations: 362.9 kB / 0.5334 GB, free: 12.3 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001142/0.1623, allocations: 0.7972 MB / 0.5342 GB, free: 11.5 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01052/0.1728, allocations: 4.151 MB / 0.5382 GB, free: 7.336 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.1728, allocations: 0 / 0.5382 GB, free: 7.336 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.1728, allocations: 4 kB / 0.5382 GB, free: 7.332 MB / 398.1 MB Notification: Performance of Transformations before backend: time 3.445e-05/0.1729, allocations: 0 / 0.5382 GB, free: 7.332 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: 314 * Number of variables: 314 Notification: Performance of Generate backend data structure: time 0.004026/0.1769, allocations: 2.124 MB / 0.5403 GB, free: 5.148 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.758e-05/0.1769, allocations: 8.031 kB / 0.5403 GB, free: 5.141 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001656/0.1786, allocations: 391.3 kB / 0.5407 GB, free: 4.758 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001305/0.1799, allocations: 0.7567 MB / 0.5414 GB, free: 3.961 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.603e-05/0.18, allocations: 94.83 kB / 0.5415 GB, free: 3.867 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002144/0.1802, allocations: 128.4 kB / 0.5416 GB, free: 3.742 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002952/0.1831, allocations: 1.764 MB / 0.5434 GB, free: 1.938 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.144e-05/0.1831, allocations: 3.938 kB / 0.5434 GB, free: 1.934 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001273/0.1833, allocations: 48 kB / 0.5434 GB, free: 1.887 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.577e-05/0.1833, allocations: 32 kB / 0.5434 GB, free: 1.855 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003831/0.1871, allocations: 2.485 MB / 0.5459 GB, free: 15.36 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.008972/0.1961, allocations: 5.093 MB / 0.5508 GB, free: 10.07 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003824/0.1999, allocations: 2.183 MB / 0.553 GB, free: 7.816 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008496/0.2008, allocations: 0.4935 MB / 0.5535 GB, free: 7.328 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007983/0.2088, allocations: 5.313 MB / 0.5586 GB, free: 1.387 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.464e-05/0.2088, allocations: 35.22 kB / 0.5587 GB, free: 1.344 MB / 414.1 MB Notification: Performance of pre-optimization done (n=72): time 2.975e-06/0.2088, allocations: 4 kB / 0.5587 GB, free: 1.34 MB / 414.1 MB Notification: Performance of matching and sorting (n=89): time 0.01656/0.2254, allocations: 3.378 MB / 0.562 GB, free: 13.88 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.312e-05/0.2254, allocations: 60.41 kB / 0.562 GB, free: 13.81 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001714/0.2271, allocations: 1.304 MB / 0.5633 GB, free: 12.48 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 8.543e-05/0.2272, allocations: 45.64 kB / 0.5634 GB, free: 12.43 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005394/0.2278, allocations: 0.6944 MB / 0.564 GB, free: 11.73 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003016/0.2281, allocations: 341.2 kB / 0.5644 GB, free: 11.39 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004306/0.2285, allocations: 283.4 kB / 0.5646 GB, free: 11.11 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002013/0.2287, allocations: 365.8 kB / 0.565 GB, free: 10.75 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008483/0.2295, allocations: 0.5076 MB / 0.5655 GB, free: 10.24 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00131/0.2308, allocations: 1.008 MB / 0.5665 GB, free: 9.012 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002074/0.2329, allocations: 1.433 MB / 0.5679 GB, free: 7.359 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.116e-06/0.2329, allocations: 4 kB / 0.5679 GB, free: 7.355 MB / 430.1 MB Notification: Performance of matching and sorting (n=185) (initialization): time 0.005088/0.238, allocations: 1.916 MB / 0.5697 GB, free: 5.43 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.717e-05/0.238, allocations: 12 kB / 0.5698 GB, free: 5.418 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.627e-05/0.2381, allocations: 16 kB / 0.5698 GB, free: 5.402 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002099/0.2402, allocations: 241.6 kB / 0.57 GB, free: 5.16 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001201/0.2414, allocations: 351.5 kB / 0.5703 GB, free: 4.816 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006164/0.2475, allocations: 3.867 MB / 0.5741 GB, free: 0.6719 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001071/0.2486, allocations: 48 kB / 0.5742 GB, free: 0.625 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001387/0.2487, allocations: 88.03 kB / 0.5742 GB, free: 0.5391 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 71 * 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 (179): * Single equations (assignments): 177 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0005027/0.2492, allocations: 289.3 kB / 0.5745 GB, free: 252 kB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002382/0.2495, allocations: 115.2 kB / 0.5746 GB, free: 136 kB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004271/0.2538, allocations: 1.244 MB / 0.5758 GB, free: 14.86 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.187e-05/0.2538, allocations: 8 kB / 0.5758 GB, free: 14.86 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/0.2538, allocations: 3.984 kB / 0.5758 GB, free: 14.85 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.938e-06/0.2538, allocations: 3.984 kB / 0.5759 GB, free: 14.85 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001649/0.2554, allocations: 1.109 MB / 0.5769 GB, free: 13.67 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.958e-06/0.2554, allocations: 3.938 kB / 0.5769 GB, free: 13.67 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007228/0.2562, allocations: 179.8 kB / 0.5771 GB, free: 13.49 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002123/0.2583, allocations: 229.5 kB / 0.5773 GB, free: 13.26 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.247e-05/0.2584, allocations: 35.92 kB / 0.5774 GB, free: 13.23 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005593/0.264, allocations: 3.772 MB / 0.581 GB, free: 9.18 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.764e-06/0.264, allocations: 4.25 kB / 0.5811 GB, free: 9.176 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004554/0.2685, allocations: 1.592 MB / 0.5826 GB, free: 7.551 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002883/0.2688, allocations: 184.4 kB / 0.5828 GB, free: 7.352 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001351/0.2689, allocations: 16 kB / 0.5828 GB, free: 7.336 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00057/0.2695, allocations: 20 kB / 0.5828 GB, free: 7.316 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001718/0.2697, allocations: 80.77 kB / 0.5829 GB, free: 7.238 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.469e-05/0.2697, allocations: 39.98 kB / 0.5829 GB, free: 7.199 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.00117/0.2709, allocations: 0.914 MB / 0.5838 GB, free: 6.273 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2709, allocations: 0 / 0.5838 GB, free: 6.273 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002336/0.2733, allocations: 0.853 MB / 0.5847 GB, free: 5.418 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 5 (blood_plasma.temperature,CO2_unbound_plasma.logn,O2_unbound_plasma.logn,water.logn,others.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 (93): * Single equations (assignments): 91 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001832/0.2751, allocations: 1.021 MB / 0.5857 GB, free: 4.387 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002448/0.2775, allocations: 1.353 MB / 0.587 GB, free: 3.012 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.2775, allocations: 0 / 0.587 GB, free: 3.012 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001073/0.2786, allocations: 0.6395 MB / 0.5876 GB, free: 2.348 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001124/0.2797, allocations: 237.2 kB / 0.5878 GB, free: 2.121 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00399/0.2837, allocations: 2.169 MB / 0.5899 GB, free: 15.9 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009491/0.2847, allocations: 1.085 MB / 0.591 GB, free: 14.78 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005923/0.2853, allocations: 218.8 kB / 0.5912 GB, free: 14.57 MB / 462.1 MB Notification: Performance of SimCode: time 9.72e-07/0.2853, allocations: 0 / 0.5912 GB, free: 14.57 MB / 462.1 MB Notification: Performance of Templates: time 0.243/0.5283, allocations: 31.24 MB / 0.6217 GB, free: 93.01 MB / 462.1 MB [Timeout remaining time 659] make -j1 -f Chemical_Chemical.Examples.GasSolubility_blood.makefile [Timeout 660] (rm -f Chemical_Chemical.Examples.GasSolubility_blood.pipe ; mkfifo Chemical_Chemical.Examples.GasSolubility_blood.pipe ; head -c 1048576 < Chemical_Chemical.Examples.GasSolubility_blood.pipe >> ../files/Chemical_Chemical.Examples.GasSolubility_blood.sim & ./Chemical_Chemical.Examples.GasSolubility_blood -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_Chemical.Examples.GasSolubility_blood.pipe 2>&1) [Timeout 480]