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.001254/0.001254, allocations: 80.81 kB / 19.94 MB, free: 4.547 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.001567/0.001567, allocations: 173 kB / 23.36 MB, free: 1.133 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.9492/0.9492, allocations: 177.1 MB / 203.8 MB, free: 5.484 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo): time 0.08463/0.08463, allocations: 17.46 MB / 277.7 MB, free: 11.44 MB / 266.7 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 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.122e-06/1.122e-06, allocations: 0 / 300.7 MB, free: 1.766 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.536e-05/1.648e-05, allocations: 3.578 kB / 300.7 MB, free: 1.762 MB / 266.7 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.GasSolubility): time 0.008559/0.008575, allocations: 10.06 MB / 310.8 MB, free: 10.09 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.02447/0.03305, allocations: 30.59 MB / 341.4 MB, free: 11.38 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001356/0.0344, allocations: 31.75 kB / 341.4 MB, free: 11.35 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001244/0.03565, allocations: 0.6083 MB / 342 MB, free: 10.73 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00491/0.04056, allocations: 2.738 MB / 344.7 MB, free: 7.977 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007387/0.04794, allocations: 4.154 MB / 348.9 MB, free: 3.797 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.002958/0.0509, allocations: 3.11 MB / 352 MB, free: 0.6758 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001445/0.05235, allocations: 1.441 MB / 353.4 MB, free: 15.18 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001911/0.05426, allocations: 2.055 MB / 355.5 MB, free: 13.12 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001661/0.05592, allocations: 1.329 MB / 356.8 MB, free: 11.79 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004362/0.05636, allocations: 260 kB / 357.1 MB, free: 11.53 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006621/0.06298, allocations: 3.22 MB / 360.3 MB, free: 8.305 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005753/0.06355, allocations: 0.6191 MB / 360.9 MB, free: 7.684 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001227/0.06478, allocations: 0.9745 MB / 361.9 MB, free: 6.707 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009869/0.07465, allocations: 5.957 MB / 367.9 MB, free: 0.7266 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.07465, allocations: 3.938 kB / 367.9 MB, free: 0.7227 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.172e-06/0.07465, allocations: 0 / 367.9 MB, free: 0.7227 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.592e-05/0.07469, allocations: 0 / 367.9 MB, free: 0.7227 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.003592/0.07828, allocations: 3.147 MB / 371 MB, free: 13.53 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.43e-05/0.07832, allocations: 12.03 kB / 371 MB, free: 13.52 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001552/0.07987, allocations: 0.9306 MB / 372 MB, free: 12.58 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001056/0.08092, allocations: 0.8436 MB / 372.8 MB, free: 11.71 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.591e-05/0.081, allocations: 156.6 kB / 372.9 MB, free: 11.55 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002116/0.08121, allocations: 220.3 kB / 373.2 MB, free: 11.34 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001644/0.08286, allocations: 1.863 MB / 375 MB, free: 9.383 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.988e-05/0.08289, allocations: 192 / 375 MB, free: 9.383 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001249/0.08301, allocations: 84.38 kB / 375.1 MB, free: 9.301 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.782e-05/0.08304, allocations: 59.92 kB / 375.2 MB, free: 9.242 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001669/0.08471, allocations: 1.67 MB / 376.8 MB, free: 7.527 MB / 346.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.006548/0.09125, allocations: 4.984 MB / 381.8 MB, free: 2.426 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003329/0.09458, allocations: 3.28 MB / 385.1 MB, free: 15.13 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004684/0.09505, allocations: 493.3 kB / 385.6 MB, free: 14.64 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006017/0.1011, allocations: 4.263 MB / 389.8 MB, free: 10.35 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.217e-05/0.1011, allocations: 47.81 kB / 389.9 MB, free: 10.3 MB / 362.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003442/0.1014, allocations: 174.8 kB / 390.1 MB, free: 10.12 MB / 362.7 MB Notification: Performance of pre-optimization done (n=138): time 3.376e-06/0.1014, allocations: 0 / 390.1 MB, free: 10.12 MB / 362.7 MB Notification: Performance of matching and sorting (n=170): time 0.01162/0.1131, allocations: 4.782 MB / 394.8 MB, free: 5.312 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.611e-05/0.1131, allocations: 73.34 kB / 394.9 MB, free: 5.227 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008147/0.1139, allocations: 1.213 MB / 396.1 MB, free: 3.984 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 7.127e-05/0.114, allocations: 61.7 kB / 396.2 MB, free: 3.918 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003678/0.1144, allocations: 0.946 MB / 397.1 MB, free: 2.961 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000302/0.1147, allocations: 0.6158 MB / 397.8 MB, free: 2.34 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003876/0.115, allocations: 472.6 kB / 398.2 MB, free: 1.871 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.398e-05/0.1151, allocations: 309.1 kB / 398.5 MB, free: 1.566 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000358/0.1155, allocations: 292.3 kB / 398.8 MB, free: 1.277 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009058/0.1164, allocations: 1.097 MB / 399.9 MB, free: 15.81 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001208/0.1176, allocations: 1.68 MB / 401.6 MB, free: 13.77 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.568e-06/0.1176, allocations: 12 kB / 401.6 MB, free: 13.76 MB / 378.7 MB Notification: Performance of matching and sorting (n=317) (initialization): time 0.002781/0.1204, allocations: 1.807 MB / 403.4 MB, free: 11.93 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.502e-05/0.1204, allocations: 16 kB / 403.4 MB, free: 11.91 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.167e-05/0.1204, allocations: 24 kB / 403.4 MB, free: 11.89 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002259/0.1227, allocations: 0.6593 MB / 404.1 MB, free: 11.21 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009803/0.1237, allocations: 0.5772 MB / 404.7 MB, free: 10.64 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004763/0.1284, allocations: 5.98 MB / 410.7 MB, free: 4.316 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000928/0.1293, allocations: 83.98 kB / 410.7 MB, free: 4.234 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001305/0.1295, allocations: 112 kB / 410.8 MB, free: 4.125 MB / 378.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.0004281/0.1299, allocations: 275.8 kB / 411.1 MB, free: 3.844 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002038/0.1301, allocations: 151.8 kB / 411.3 MB, free: 3.695 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002806/0.1329, allocations: 1.602 MB / 412.9 MB, free: 2.086 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.288e-06/0.1329, allocations: 16 kB / 412.9 MB, free: 2.07 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.511e-06/0.1329, allocations: 8 kB / 412.9 MB, free: 2.062 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.207e-05/0.1329, allocations: 7.969 kB / 412.9 MB, free: 2.055 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001592/0.1345, allocations: 1.204 MB / 414.1 MB, free: 0.793 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.482e-06/0.1345, allocations: 4 kB / 414.1 MB, free: 0.7891 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000655/0.1352, allocations: 343.5 kB / 414.4 MB, free: 464 kB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002231/0.1374, allocations: 0.62 MB / 415.1 MB, free: 15.82 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.154e-05/0.1375, allocations: 55.97 kB / 415.1 MB, free: 15.77 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004281/0.1418, allocations: 5.815 MB / 420.9 MB, free: 9.609 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.484e-06/0.1418, allocations: 8.031 kB / 420.9 MB, free: 9.602 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002839/0.1446, allocations: 1.781 MB / 422.7 MB, free: 7.766 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002739/0.1449, allocations: 146.8 kB / 422.9 MB, free: 7.621 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001423/0.145, allocations: 43.98 kB / 422.9 MB, free: 7.578 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004033/0.1455, allocations: 36 kB / 422.9 MB, free: 7.543 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001958/0.1456, allocations: 145.7 kB / 423.1 MB, free: 7.402 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.907e-05/0.1457, allocations: 59.97 kB / 423.1 MB, free: 7.344 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0004677/0.1462, allocations: 0.5792 MB / 423.7 MB, free: 6.754 MB / 394.7 MB Notification: Performance of sort global known variables: time 4e-08/0.1462, allocations: 0 / 423.7 MB, free: 6.754 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.002722/0.1489, allocations: 1.321 MB / 425 MB, free: 5.43 MB / 394.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.001995/0.1509, allocations: 1.554 MB / 426.6 MB, free: 3.871 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001976/0.1529, allocations: 1.702 MB / 428.3 MB, free: 2.117 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.15e-05/0.1529, allocations: 29.72 kB / 428.3 MB, free: 2.086 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008046/0.1537, allocations: 1.05 MB / 429.4 MB, free: 0.9883 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008917/0.1546, allocations: 404.3 kB / 429.8 MB, free: 0.6133 MB / 394.7 MB Error: Error parsing unit kDa: Unit not found Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003768/0.1584, allocations: 3.254 MB / 433 MB, free: 13.28 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002272/0.1586, allocations: 337.5 kB / 433.3 MB, free: 12.93 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0009275/0.1595, allocations: 429.1 kB / 433.8 MB, free: 12.52 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008262/0.1604, allocations: 0.5434 MB / 434.3 MB, free: 11.97 MB / 410.7 MB Notification: Performance of SimCode: time 8.21e-07/0.1604, allocations: 0 / 434.3 MB, free: 11.97 MB / 410.7 MB Notification: Performance of Templates: time 0.1504/0.3108, allocations: 52.14 MB / 486.5 MB, free: 102.3 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.1037773340940475]