Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_Chemical.Obsolete.Examples.GasSolubility.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.0009255/0.0009255, allocations: 72.19 kB / 9.903 MB, free: 0.7812 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001359/0.002284, allocations: 435.8 kB / 10.33 MB, free: 364 kB / 10.45 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.0009952/0.0009952, allocations: 161.1 kB / 11.23 MB, free: 2.938 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001281/0.002276, allocations: 463.6 kB / 11.68 MB, free: 2.48 MB / 13.93 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 0.9193/0.9193, allocations: 177.2 MB / 189.6 MB, free: 5.324 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08647/1.006, allocations: 53.66 MB / 243.2 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.1-master/package.mo): time 0.08189/0.08189, allocations: 17.45 MB / 261.4 MB, free: 13.38 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01034/0.09223, allocations: 6.96 MB / 268.4 MB, free: 6.41 MB / 266.7 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.1-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.GasSolubility,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.GasSolubility") translateModel(Chemical.Obsolete.Examples.GasSolubility,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.GasSolubility") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.562e-06/1.562e-06, allocations: 0 / 269.6 MB, free: 5.133 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.438e-06/1.1e-05, allocations: 9.547 kB / 269.7 MB, free: 5.125 MB / 266.7 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.GasSolubility): time 0.1199/0.1199, allocations: 10.15 MB / 279.8 MB, free: 376 kB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.03019/0.1501, allocations: 30.82 MB / 310.6 MB, free: 9.531 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009391/0.1511, allocations: 35.75 kB / 310.7 MB, free: 9.496 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001233/0.1523, allocations: 0.6006 MB / 311.3 MB, free: 8.891 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004934/0.1572, allocations: 2.676 MB / 313.9 MB, free: 6.195 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.008077/0.1653, allocations: 4.084 MB / 318 MB, free: 2.086 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002579/0.1679, allocations: 3.098 MB / 321.1 MB, free: 14.98 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001314/0.1692, allocations: 1.434 MB / 322.6 MB, free: 13.48 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001962/0.1712, allocations: 2.176 MB / 324.7 MB, free: 11.29 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001462/0.1726, allocations: 1.325 MB / 326.1 MB, free: 9.957 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003254/0.173, allocations: 264 kB / 326.3 MB, free: 9.699 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00629/0.1792, allocations: 3.357 MB / 329.7 MB, free: 6.336 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003754/0.1796, allocations: 430.7 kB / 330.1 MB, free: 5.914 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009103/0.1805, allocations: 0.7604 MB / 330.9 MB, free: 5.152 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006282/0.1868, allocations: 5.412 MB / 336.3 MB, free: 15.72 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.521e-05/0.1868, allocations: 3.938 kB / 336.3 MB, free: 15.71 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.1868, allocations: 4 kB / 336.3 MB, free: 15.71 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.949e-05/0.1869, allocations: 3.938 kB / 336.3 MB, free: 15.71 MB / 330.7 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.003924/0.1908, allocations: 4.046 MB / 340.3 MB, free: 11.61 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.853e-05/0.1908, allocations: 8.031 kB / 340.3 MB, free: 11.61 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001741/0.1926, allocations: 1.003 MB / 341.3 MB, free: 10.58 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001031/0.1936, allocations: 0.8397 MB / 342.2 MB, free: 9.715 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.631e-05/0.1937, allocations: 160.6 kB / 342.3 MB, free: 9.555 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002589/0.1939, allocations: 220.3 kB / 342.5 MB, free: 9.34 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001628/0.1956, allocations: 1.867 MB / 344.4 MB, free: 7.383 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.861e-05/0.1956, allocations: 192 / 344.4 MB, free: 7.383 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001198/0.1957, allocations: 84.38 kB / 344.5 MB, free: 7.301 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.652e-05/0.1957, allocations: 55.94 kB / 344.5 MB, free: 7.246 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00188/0.1976, allocations: 1.663 MB / 346.2 MB, free: 5.539 MB / 330.7 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.006537/0.2042, allocations: 5.007 MB / 351.2 MB, free: 428 kB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003019/0.2072, allocations: 3.272 MB / 354.5 MB, free: 13.13 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004497/0.2076, allocations: 493.4 kB / 355 MB, free: 12.64 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005318/0.2129, allocations: 4.084 MB / 359.1 MB, free: 8.531 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.502e-05/0.213, allocations: 47.81 kB / 359.1 MB, free: 8.477 MB / 346.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000259/0.2132, allocations: 174.8 kB / 359.3 MB, free: 8.305 MB / 346.7 MB Notification: Performance of pre-optimization done (n=138): time 2.404e-06/0.2132, allocations: 3.938 kB / 359.3 MB, free: 8.301 MB / 346.7 MB Notification: Performance of matching and sorting (n=170): time 0.01098/0.2242, allocations: 4.798 MB / 364.1 MB, free: 3.469 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.247e-05/0.2243, allocations: 69.41 kB / 364.1 MB, free: 3.391 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007603/0.225, allocations: 1.209 MB / 365.4 MB, free: 2.152 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 6.526e-05/0.2251, allocations: 57.7 kB / 365.4 MB, free: 2.09 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003616/0.2254, allocations: 0.9537 MB / 366.4 MB, free: 1.121 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002933/0.2257, allocations: 0.6197 MB / 367 MB, free: 0.4961 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003601/0.2261, allocations: 472.6 kB / 367.4 MB, free: 28 kB / 346.7 MB Notification: Performance of setup shared object (initialization): time 6.345e-05/0.2262, allocations: 301.1 kB / 367.7 MB, free: 15.73 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003356/0.2265, allocations: 293.2 kB / 368 MB, free: 15.44 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006516/0.2271, allocations: 1.1 MB / 369.1 MB, free: 13.98 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001453/0.2286, allocations: 1.672 MB / 370.8 MB, free: 11.94 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.949e-06/0.2286, allocations: 11.94 kB / 370.8 MB, free: 11.93 MB / 362.7 MB Notification: Performance of matching and sorting (n=317) (initialization): time 0.002695/0.2313, allocations: 1.826 MB / 372.6 MB, free: 10.08 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.351e-05/0.2313, allocations: 16 kB / 372.6 MB, free: 10.06 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.471e-05/0.2313, allocations: 24 kB / 372.7 MB, free: 10.04 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002172/0.2335, allocations: 0.6635 MB / 373.3 MB, free: 9.363 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001113/0.2346, allocations: 0.7046 MB / 374 MB, free: 8.66 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004493/0.2391, allocations: 5.994 MB / 380 MB, free: 2.328 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006684/0.2398, allocations: 80 kB / 380.1 MB, free: 2.25 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001149/0.2399, allocations: 123 kB / 380.2 MB, free: 2.133 MB / 362.7 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.0003083/0.2402, allocations: 263.8 kB / 380.5 MB, free: 1.863 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001645/0.2404, allocations: 155.8 kB / 380.6 MB, free: 1.711 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002648/0.243, allocations: 1.596 MB / 382.2 MB, free: 104 kB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.466e-06/0.243, allocations: 20 kB / 382.3 MB, free: 84 kB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.243, allocations: 0 / 382.3 MB, free: 84 kB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.166e-05/0.2431, allocations: 7.969 kB / 382.3 MB, free: 76 kB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001446/0.2445, allocations: 1.215 MB / 383.5 MB, free: 14.8 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.414e-06/0.2445, allocations: 0 / 383.5 MB, free: 14.8 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007337/0.2452, allocations: 431.8 kB / 383.9 MB, free: 14.38 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001243/0.2454, allocations: 150.8 kB / 384.1 MB, free: 14.23 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002162/0.2475, allocations: 0.6275 MB / 384.7 MB, free: 13.59 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.772e-05/0.2476, allocations: 63.97 kB / 384.7 MB, free: 13.52 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003743/0.2514, allocations: 5.829 MB / 390.6 MB, free: 7.355 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.897e-06/0.2514, allocations: 8.031 kB / 390.6 MB, free: 7.348 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002839/0.2542, allocations: 1.782 MB / 392.4 MB, free: 5.516 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001284/0.2543, allocations: 36 kB / 392.4 MB, free: 5.48 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003767/0.2547, allocations: 40 kB / 392.4 MB, free: 5.441 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001716/0.2549, allocations: 153.7 kB / 392.6 MB, free: 5.289 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.684e-05/0.255, allocations: 55.97 kB / 392.6 MB, free: 5.234 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003989/0.2554, allocations: 0.5869 MB / 393.2 MB, free: 4.637 MB / 378.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2554, allocations: 0 / 393.2 MB, free: 4.637 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002252/0.2576, allocations: 1.321 MB / 394.5 MB, free: 3.312 MB / 378.7 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.001583/0.2592, allocations: 1.555 MB / 396.1 MB, free: 1.754 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.00146/0.2606, allocations: 1.695 MB / 397.8 MB, free: 12 kB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0003454/0.261, allocations: 42.52 kB / 397.8 MB, free: 15.96 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007447/0.2617, allocations: 1.051 MB / 398.9 MB, free: 14.87 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009201/0.2627, allocations: 0.5872 MB / 399.5 MB, free: 14.31 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01366/0.2763, allocations: 3.382 MB / 402.9 MB, free: 10.86 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002404/0.2766, allocations: 341.5 kB / 403.2 MB, free: 10.5 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0009774/0.2775, allocations: 429.8 kB / 403.6 MB, free: 10.09 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008171/0.2784, allocations: 0.547 MB / 404.2 MB, free: 9.539 MB / 394.7 MB Notification: Performance of SimCode: time 7.81e-07/0.2784, allocations: 4 kB / 404.2 MB, free: 9.535 MB / 394.7 MB Notification: Performance of Templates: time 0.1589/0.4372, allocations: 52.95 MB / 457.1 MB, free: 93.32 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f Chemical_master_Chemical.Obsolete.Examples.GasSolubility.makefile [Timeout 660] (rm -f Chemical_master_Chemical.Obsolete.Examples.GasSolubility.pipe ; mkfifo Chemical_master_Chemical.Obsolete.Examples.GasSolubility.pipe ; head -c 1048576 < Chemical_master_Chemical.Obsolete.Examples.GasSolubility.pipe >> ../files/Chemical_master_Chemical.Obsolete.Examples.GasSolubility.sim & ./Chemical_master_Chemical.Obsolete.Examples.GasSolubility -abortSlowSimulation -alarm=240 -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.GasSolubility.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.030398854985833]