Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_Chemical.Obsolete.Examples.GasSolubility_blood.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.001125/0.001125, allocations: 81.17 kB / 19.87 MB, free: 4.617 MB / 18.57 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.001355/0.001355, allocations: 173 kB / 23.28 MB, free: 1.219 MB / 18.57 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.9311/0.9311, allocations: 177.1 MB / 203.7 MB, free: 5.496 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo): time 0.09044/0.09044, allocations: 17.38 MB / 277.6 MB, free: 11.48 MB / 266.7 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/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_blood,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.GasSolubility_blood") translateModel(Chemical.Obsolete.Examples.GasSolubility_blood,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.GasSolubility_blood") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.753e-06/1.753e-06, allocations: 0 / 353.9 MB, free: 9.707 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.682e-05/2.857e-05, allocations: 2.312 kB / 353.9 MB, free: 9.703 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.GasSolubility_blood): time 0.008121/0.008149, allocations: 6.797 MB / 360.7 MB, free: 2.875 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.01416/0.02231, allocations: 19.19 MB / 379.9 MB, free: 15.61 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007289/0.02304, allocations: 19.81 kB / 379.9 MB, free: 15.59 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007842/0.02382, allocations: 381 kB / 380.2 MB, free: 15.22 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003236/0.02706, allocations: 1.691 MB / 381.9 MB, free: 13.52 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004416/0.03147, allocations: 2.543 MB / 384.5 MB, free: 10.96 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.00154/0.03301, allocations: 1.899 MB / 386.4 MB, free: 9.051 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007845/0.0338, allocations: 0.7937 MB / 387.2 MB, free: 8.238 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001062/0.03486, allocations: 1.213 MB / 388.4 MB, free: 7.023 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007383/0.0356, allocations: 0.7717 MB / 389.2 MB, free: 6.25 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001928/0.03579, allocations: 156 kB / 389.3 MB, free: 6.098 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00365/0.03944, allocations: 1.976 MB / 391.3 MB, free: 4.117 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002273/0.03967, allocations: 378.8 kB / 391.7 MB, free: 3.746 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004297/0.0401, allocations: 0.573 MB / 392.2 MB, free: 3.172 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004839/0.04494, allocations: 3.642 MB / 395.9 MB, free: 15.51 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.04494, allocations: 4 kB / 395.9 MB, free: 15.51 MB / 330.7 MB Notification: Performance of FrontEnd: time 9.21e-07/0.04494, allocations: 0 / 395.9 MB, free: 15.51 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.286e-05/0.04498, allocations: 0 / 395.9 MB, free: 15.51 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: 314 * Number of variables: 314 Notification: Performance of Generate backend data structure: time 0.00235/0.04733, allocations: 2.106 MB / 398 MB, free: 13.36 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.184e-05/0.04737, allocations: 8.031 kB / 398 MB, free: 13.35 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001136/0.0485, allocations: 0.6341 MB / 398.6 MB, free: 12.71 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007768/0.04928, allocations: 0.7179 MB / 399.3 MB, free: 11.96 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.341e-05/0.04933, allocations: 94.84 kB / 399.4 MB, free: 11.87 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001388/0.04947, allocations: 132.3 kB / 399.6 MB, free: 11.74 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001395/0.05087, allocations: 1.097 MB / 400.7 MB, free: 10.6 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.946e-05/0.05089, allocations: 192 / 400.7 MB, free: 10.6 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.389e-05/0.05096, allocations: 48.38 kB / 400.7 MB, free: 10.55 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.973e-05/0.05098, allocations: 35.94 kB / 400.7 MB, free: 10.52 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001155/0.05214, allocations: 1.166 MB / 401.9 MB, free: 9.332 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.004072/0.05621, allocations: 3.673 MB / 405.6 MB, free: 5.59 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002155/0.05836, allocations: 2.011 MB / 407.6 MB, free: 3.566 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002838/0.05865, allocations: 305.5 kB / 407.9 MB, free: 3.266 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003185/0.06183, allocations: 2.767 MB / 410.7 MB, free: 0.5039 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.462e-05/0.06186, allocations: 42.05 kB / 410.7 MB, free: 464 kB / 330.7 MB Notification: Performance of pre-optimization done (n=72): time 1.904e-06/0.06186, allocations: 0 / 410.7 MB, free: 464 kB / 330.7 MB Notification: Performance of matching and sorting (n=89): time 0.1252/0.187, allocations: 2.58 MB / 413.3 MB, free: 42.38 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.205e-05/0.1871, allocations: 62.03 kB / 413.3 MB, free: 42.31 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007361/0.1878, allocations: 0.9525 MB / 414.3 MB, free: 42.1 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.771e-05/0.1878, allocations: 43.36 kB / 414.3 MB, free: 42.07 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002794/0.1881, allocations: 0.7628 MB / 415.1 MB, free: 41.69 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001521/0.1883, allocations: 335.2 kB / 415.4 MB, free: 41.52 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002509/0.1885, allocations: 296.5 kB / 415.7 MB, free: 41.48 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 8.689e-05/0.1886, allocations: 0.5361 MB / 416.3 MB, free: 41 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002629/0.1889, allocations: 187.6 kB / 416.4 MB, free: 41 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004588/0.1893, allocations: 0.8752 MB / 417.3 MB, free: 40.15 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007956/0.1901, allocations: 1.169 MB / 418.5 MB, free: 39.3 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.919e-06/0.1901, allocations: 4.281 kB / 418.5 MB, free: 39.3 MB / 330.7 MB Notification: Performance of matching and sorting (n=185) (initialization): time 0.002612/0.1928, allocations: 1.297 MB / 419.8 MB, free: 39.16 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.534e-05/0.1928, allocations: 11.44 kB / 419.8 MB, free: 39.16 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.484e-05/0.1928, allocations: 19.53 kB / 419.8 MB, free: 39.16 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001662/0.1945, allocations: 344 kB / 420.1 MB, free: 39.13 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000793/0.1953, allocations: 351.2 kB / 420.5 MB, free: 39.13 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002906/0.1982, allocations: 4.319 MB / 424.8 MB, free: 35.27 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006751/0.1988, allocations: 46.34 kB / 424.9 MB, free: 35.27 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.598e-05/0.1989, allocations: 67.02 kB / 424.9 MB, free: 35.27 MB / 330.7 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.0002645/0.1992, allocations: 257.5 kB / 425.2 MB, free: 35.11 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001831/0.1994, allocations: 133.2 kB / 425.3 MB, free: 35.05 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002004/0.2014, allocations: 0.9844 MB / 426.3 MB, free: 34.91 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.022e-06/0.2014, allocations: 6.75 kB / 426.3 MB, free: 34.91 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.656e-06/0.2014, allocations: 3.219 kB / 426.3 MB, free: 34.91 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.315e-06/0.2014, allocations: 5.438 kB / 426.3 MB, free: 34.91 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000907/0.2023, allocations: 0.814 MB / 427.1 MB, free: 34.67 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.765e-06/0.2023, allocations: 6.609 kB / 427.1 MB, free: 34.67 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004313/0.2028, allocations: 182.8 kB / 427.3 MB, free: 34.67 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001492/0.2042, allocations: 321.9 kB / 427.6 MB, free: 34.63 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.074e-05/0.2043, allocations: 34.02 kB / 427.6 MB, free: 34.63 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002278/0.2066, allocations: 4.22 MB / 431.9 MB, free: 30.78 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.2066, allocations: 7.219 kB / 431.9 MB, free: 30.77 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001936/0.2085, allocations: 1.206 MB / 433.1 MB, free: 30.41 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001066/0.2086, allocations: 96.83 kB / 433.2 MB, free: 30.36 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.149e-05/0.2087, allocations: 17.53 kB / 433.2 MB, free: 30.36 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000312/0.209, allocations: 24.25 kB / 433.2 MB, free: 30.36 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001191/0.2091, allocations: 84.89 kB / 433.3 MB, free: 30.35 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.781e-05/0.2092, allocations: 33.47 kB / 433.3 MB, free: 30.35 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0003583/0.2095, allocations: 0.5434 MB / 433.9 MB, free: 30.22 MB / 330.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.2095, allocations: 0 / 433.9 MB, free: 30.22 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001714/0.2113, allocations: 0.7869 MB / 434.7 MB, free: 30.22 MB / 330.7 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.001116/0.2124, allocations: 0.9965 MB / 435.7 MB, free: 30.03 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001073/0.2134, allocations: 1.075 MB / 436.7 MB, free: 29.64 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.2135, allocations: 0 / 436.7 MB, free: 29.64 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004852/0.2139, allocations: 0.6766 MB / 437.4 MB, free: 29.28 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007803/0.2147, allocations: 258.9 kB / 437.7 MB, free: 29.25 MB / 330.7 MB Error: Error parsing unit kDa: Unit not found Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002735/0.2175, allocations: 1.957 MB / 439.6 MB, free: 28.3 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000138/0.2176, allocations: 208.2 kB / 439.8 MB, free: 28.22 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0006404/0.2182, allocations: 251.8 kB / 440.1 MB, free: 28.13 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005527/0.2188, allocations: 404.4 kB / 440.5 MB, free: 28.05 MB / 330.7 MB Notification: Performance of SimCode: time 8.21e-07/0.2188, allocations: 4 kB / 440.5 MB, free: 28.05 MB / 330.7 MB Notification: Performance of Templates: time 0.03315/0.2519, allocations: 31.51 MB / 472 MB, free: 15.65 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f Chemical_Chemical.Obsolete.Examples.GasSolubility_blood.makefile [Timeout 660] (rm -f Chemical_Chemical.Obsolete.Examples.GasSolubility_blood.pipe ; mkfifo Chemical_Chemical.Obsolete.Examples.GasSolubility_blood.pipe ; head -c 1048576 < Chemical_Chemical.Obsolete.Examples.GasSolubility_blood.pipe >> ../files/Chemical_Chemical.Obsolete.Examples.GasSolubility_blood.sim & ./Chemical_Chemical.Obsolete.Examples.GasSolubility_blood -abortSlowSimulation -alarm=240 -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.GasSolubility_blood.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.5171844442375004]