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.000977/0.000977, allocations: 80.75 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.001785/0.001785, allocations: 181 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 1.001/1.001, allocations: 177.1 MB / 203.8 MB, free: 5.473 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.1005/0.1005, allocations: 17.47 MB / 277.7 MB, free: 11.43 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.874e-06/1.874e-06, allocations: 0 / 300.8 MB, free: 1.699 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.746e-05/2.934e-05, allocations: 2.312 kB / 300.8 MB, free: 1.695 MB / 266.7 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.GasSolubility): time 0.01257/0.0126, allocations: 10.1 MB / 310.9 MB, free: 9.969 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.03163/0.04423, allocations: 30.59 MB / 341.5 MB, free: 11.26 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001261/0.04549, allocations: 35.69 kB / 341.5 MB, free: 11.23 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001064/0.04655, allocations: 0.6122 MB / 342.1 MB, free: 10.61 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004349/0.0509, allocations: 2.683 MB / 344.8 MB, free: 7.906 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007159/0.05806, allocations: 4.088 MB / 348.9 MB, free: 3.793 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.002439/0.0605, allocations: 3.112 MB / 352 MB, free: 0.668 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001081/0.06158, allocations: 1.433 MB / 353.4 MB, free: 15.18 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001376/0.06296, allocations: 2.044 MB / 355.5 MB, free: 13.13 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001219/0.06418, allocations: 1.317 MB / 356.8 MB, free: 11.81 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002457/0.06442, allocations: 271.9 kB / 357 MB, free: 11.54 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004979/0.0694, allocations: 3.322 MB / 360.4 MB, free: 8.215 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003317/0.06973, allocations: 0.623 MB / 361 MB, free: 7.59 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006268/0.07036, allocations: 0.9745 MB / 362 MB, free: 6.613 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004963/0.07532, allocations: 5.961 MB / 367.9 MB, free: 0.6289 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.07533, allocations: 0 / 367.9 MB, free: 0.6289 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.07533, allocations: 0 / 367.9 MB, free: 0.6289 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.724e-05/0.07534, allocations: 0 / 367.9 MB, free: 0.6289 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.002887/0.07823, allocations: 3.159 MB / 371.1 MB, free: 13.42 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.906e-05/0.07826, allocations: 8.031 kB / 371.1 MB, free: 13.41 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001531/0.07979, allocations: 0.9228 MB / 372 MB, free: 12.49 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009962/0.08079, allocations: 0.8436 MB / 372.9 MB, free: 11.61 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.658e-05/0.08087, allocations: 168.6 kB / 373 MB, free: 11.45 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002133/0.08109, allocations: 216.3 kB / 373.2 MB, free: 11.23 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001641/0.08273, allocations: 1.867 MB / 375.1 MB, free: 9.277 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.956e-05/0.08276, allocations: 4.125 kB / 375.1 MB, free: 9.273 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001262/0.08288, allocations: 92.36 kB / 375.2 MB, free: 9.184 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.017e-05/0.08291, allocations: 55.94 kB / 375.2 MB, free: 9.129 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001733/0.08465, allocations: 1.651 MB / 376.9 MB, free: 7.434 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.01089/0.09553, allocations: 4.991 MB / 381.9 MB, free: 2.324 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003349/0.09888, allocations: 3.282 MB / 385.2 MB, free: 15.02 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005704/0.09945, allocations: 489.5 kB / 385.7 MB, free: 14.54 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006112/0.1056, allocations: 4.256 MB / 389.9 MB, free: 10.25 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.248e-05/0.1056, allocations: 51.88 kB / 390 MB, free: 10.2 MB / 362.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003629/0.106, allocations: 174.7 kB / 390.1 MB, free: 10.02 MB / 362.7 MB Notification: Performance of pre-optimization done (n=138): time 3.357e-06/0.106, allocations: 0 / 390.1 MB, free: 10.02 MB / 362.7 MB Notification: Performance of matching and sorting (n=170): time 0.01211/0.1181, allocations: 4.786 MB / 394.9 MB, free: 5.207 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.739e-05/0.1181, allocations: 73.34 kB / 395 MB, free: 5.121 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008509/0.119, allocations: 1.217 MB / 396.2 MB, free: 3.875 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 7.133e-05/0.119, allocations: 53.7 kB / 396.3 MB, free: 3.816 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003699/0.1194, allocations: 0.946 MB / 397.2 MB, free: 2.859 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003147/0.1197, allocations: 0.6197 MB / 397.8 MB, free: 2.234 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003952/0.1201, allocations: 472.6 kB / 398.3 MB, free: 1.766 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.347e-05/0.1202, allocations: 305.1 kB / 398.6 MB, free: 1.465 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003678/0.1205, allocations: 288.3 kB / 398.9 MB, free: 1.18 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006846/0.1212, allocations: 1.104 MB / 400 MB, free: 15.71 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001284/0.1225, allocations: 1.68 MB / 401.6 MB, free: 13.66 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.367e-05/0.1225, allocations: 8 kB / 401.7 MB, free: 13.66 MB / 378.7 MB Notification: Performance of matching and sorting (n=317) (initialization): time 0.002932/0.1255, allocations: 1.803 MB / 403.5 MB, free: 11.83 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.547e-05/0.1255, allocations: 19.98 kB / 403.5 MB, free: 11.81 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.454e-05/0.1255, allocations: 28 kB / 403.5 MB, free: 11.78 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002372/0.1279, allocations: 0.6589 MB / 404.2 MB, free: 11.11 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001146/0.129, allocations: 0.6357 MB / 404.8 MB, free: 10.47 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00494/0.134, allocations: 6.009 MB / 410.8 MB, free: 4.129 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001166/0.1351, allocations: 83.98 kB / 410.9 MB, free: 4.047 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001579/0.1353, allocations: 108 kB / 411 MB, free: 3.941 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.0004931/0.1358, allocations: 271.8 kB / 411.3 MB, free: 3.664 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000245/0.136, allocations: 147.8 kB / 411.4 MB, free: 3.52 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003037/0.1391, allocations: 1.605 MB / 413 MB, free: 1.902 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.276e-05/0.1391, allocations: 20 kB / 413 MB, free: 1.883 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.1391, allocations: 4 kB / 413 MB, free: 1.879 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.336e-05/0.1391, allocations: 7.969 kB / 413 MB, free: 1.871 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001489/0.1406, allocations: 1.207 MB / 414.2 MB, free: 0.6055 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-05/0.1406, allocations: 4.25 kB / 414.3 MB, free: 0.6016 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007582/0.1414, allocations: 387.5 kB / 414.6 MB, free: 228 kB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002373/0.1437, allocations: 0.6198 MB / 415.3 MB, free: 15.59 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001387/0.1439, allocations: 59.97 kB / 415.3 MB, free: 15.53 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004276/0.1481, allocations: 5.831 MB / 421.1 MB, free: 9.359 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.1481, allocations: 4 kB / 421.1 MB, free: 9.355 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003003/0.1511, allocations: 1.774 MB / 422.9 MB, free: 7.527 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002847/0.1514, allocations: 142.8 kB / 423.1 MB, free: 7.387 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001548/0.1516, allocations: 43.98 kB / 423.1 MB, free: 7.344 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004159/0.152, allocations: 36 kB / 423.1 MB, free: 7.309 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002221/0.1522, allocations: 149.7 kB / 423.3 MB, free: 7.164 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.968e-05/0.1523, allocations: 59.97 kB / 423.3 MB, free: 7.105 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0004985/0.1528, allocations: 0.5831 MB / 423.9 MB, free: 6.512 MB / 394.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.1528, allocations: 0 / 423.9 MB, free: 6.512 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.002811/0.1556, allocations: 1.313 MB / 425.2 MB, free: 5.195 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.002174/0.1578, allocations: 1.563 MB / 426.8 MB, free: 3.629 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.00186/0.1597, allocations: 1.704 MB / 428.5 MB, free: 1.875 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.281e-05/0.1597, allocations: 27.84 kB / 428.5 MB, free: 1.844 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008553/0.1606, allocations: 1.058 MB / 429.6 MB, free: 0.7383 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009282/0.1615, allocations: 399.6 kB / 430 MB, free: 376 kB / 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.004137/0.1656, allocations: 3.254 MB / 433.2 MB, free: 13.04 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002539/0.1659, allocations: 341.4 kB / 433.6 MB, free: 12.68 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001018/0.1669, allocations: 422.5 kB / 434 MB, free: 12.27 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008953/0.1678, allocations: 0.5473 MB / 434.5 MB, free: 11.72 MB / 410.7 MB Notification: Performance of SimCode: time 1.503e-06/0.1678, allocations: 3.938 kB / 434.5 MB, free: 11.71 MB / 410.7 MB Notification: Performance of Templates: time 0.1672/0.335, allocations: 52.13 MB / 486.7 MB, free: 79.22 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.GasSolubility.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.287023131735623]