Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_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.001224/0.001224, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.001455/0.001455, allocations: 177 kB / 23.36 MB, free: 1.129 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.9111/0.9111, allocations: 177.1 MB / 203.8 MB, free: 5.477 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.08362/0.08362, 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_blood,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.GasSolubility_blood") translateModel(Chemical.Obsolete.Examples.GasSolubility_blood,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.GasSolubility_blood") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 300.7 MB, free: 1.734 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.166e-05/1.324e-05, allocations: 4.562 kB / 300.7 MB, free: 1.73 MB / 266.7 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.GasSolubility_blood): time 0.005851/0.005864, allocations: 6.831 MB / 307.5 MB, free: 13.14 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.01784/0.02371, allocations: 19.47 MB / 327 MB, free: 9.77 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007691/0.02448, allocations: 23.81 kB / 327 MB, free: 9.746 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009016/0.02538, allocations: 388.9 kB / 327.4 MB, free: 9.363 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00363/0.02901, allocations: 1.703 MB / 329.1 MB, free: 7.648 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00536/0.03437, allocations: 2.578 MB / 331.7 MB, free: 5.055 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001824/0.03619, allocations: 1.887 MB / 333.6 MB, free: 3.16 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001129/0.03732, allocations: 0.8053 MB / 334.4 MB, free: 2.324 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001181/0.0385, allocations: 1.213 MB / 335.6 MB, free: 1.105 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009137/0.03942, allocations: 0.7678 MB / 336.4 MB, free: 344 kB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001954/0.03961, allocations: 152 kB / 336.5 MB, free: 192 kB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003986/0.0436, allocations: 1.98 MB / 338.5 MB, free: 14.2 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002803/0.04388, allocations: 370.8 kB / 338.9 MB, free: 13.84 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005505/0.04443, allocations: 0.5808 MB / 339.5 MB, free: 13.26 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004463/0.04889, allocations: 3.63 MB / 343.1 MB, free: 9.613 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.04889, allocations: 0 / 343.1 MB, free: 9.613 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.0489, allocations: 4 kB / 343.1 MB, free: 9.609 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.968e-05/0.04892, allocations: 0 / 343.1 MB, free: 9.609 MB / 314.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.002565/0.05148, allocations: 1.977 MB / 345.1 MB, free: 7.598 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.147e-05/0.05151, allocations: 8.031 kB / 345.1 MB, free: 7.59 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001342/0.05285, allocations: 0.6161 MB / 345.7 MB, free: 6.973 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008206/0.05367, allocations: 0.5592 MB / 346.2 MB, free: 6.387 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.729e-05/0.05374, allocations: 94.84 kB / 346.3 MB, free: 6.293 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001703/0.05391, allocations: 124.3 kB / 346.5 MB, free: 6.172 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001511/0.05542, allocations: 1.108 MB / 347.6 MB, free: 5.02 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.394e-05/0.05545, allocations: 4.125 kB / 347.6 MB, free: 5.016 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.821e-05/0.05555, allocations: 52.38 kB / 347.6 MB, free: 4.965 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.477e-05/0.05557, allocations: 35.94 kB / 347.7 MB, free: 4.93 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001382/0.05695, allocations: 1.005 MB / 348.7 MB, free: 3.906 MB / 314.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.00466/0.06161, allocations: 2.997 MB / 351.7 MB, free: 0.8516 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002575/0.06419, allocations: 1.92 MB / 353.6 MB, free: 14.92 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003388/0.06453, allocations: 266.7 kB / 353.8 MB, free: 14.66 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004419/0.06895, allocations: 2.442 MB / 356.3 MB, free: 12.2 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.659e-05/0.06897, allocations: 39.22 kB / 356.3 MB, free: 12.15 MB / 330.7 MB Notification: Performance of pre-optimization done (n=72): time 2.084e-06/0.06897, allocations: 0 / 356.3 MB, free: 12.15 MB / 330.7 MB Notification: Performance of matching and sorting (n=89): time 0.007156/0.07613, allocations: 2.618 MB / 358.9 MB, free: 9.496 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.899e-05/0.07616, allocations: 68.33 kB / 359 MB, free: 9.414 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005618/0.07672, allocations: 0.8756 MB / 359.9 MB, free: 8.52 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.96e-05/0.07676, allocations: 41.7 kB / 359.9 MB, free: 8.473 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002348/0.077, allocations: 0.629 MB / 360.6 MB, free: 7.836 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001575/0.07715, allocations: 333.2 kB / 360.9 MB, free: 7.508 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002234/0.07738, allocations: 287.3 kB / 361.2 MB, free: 7.223 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 8.826e-05/0.07747, allocations: 357.8 kB / 361.5 MB, free: 6.867 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004352/0.0779, allocations: 158.8 kB / 361.7 MB, free: 6.711 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003819/0.07828, allocations: 0.6564 MB / 362.3 MB, free: 5.844 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006983/0.07898, allocations: 0.9665 MB / 363.3 MB, free: 4.656 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.693e-06/0.07899, allocations: 8 kB / 363.3 MB, free: 4.648 MB / 330.7 MB Notification: Performance of matching and sorting (n=185) (initialization): time 0.001531/0.08052, allocations: 1.038 MB / 364.3 MB, free: 3.59 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.067e-05/0.08054, allocations: 15.94 kB / 364.3 MB, free: 3.574 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.679e-05/0.08056, allocations: 16 kB / 364.4 MB, free: 3.559 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001129/0.08168, allocations: 337.6 kB / 364.7 MB, free: 3.223 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005486/0.08223, allocations: 347.5 kB / 365 MB, free: 2.883 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002259/0.08449, allocations: 3.009 MB / 368 MB, free: 15.71 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003946/0.08489, allocations: 51.98 kB / 368.1 MB, free: 15.66 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.58e-05/0.08495, allocations: 63.98 kB / 368.2 MB, free: 15.59 MB / 346.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.0001977/0.08515, allocations: 204.2 kB / 368.4 MB, free: 15.38 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003608/0.08551, allocations: 87.86 kB / 368.4 MB, free: 15.3 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00137/0.08688, allocations: 0.8403 MB / 369.3 MB, free: 14.45 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.482e-06/0.08689, allocations: 8 kB / 369.3 MB, free: 14.44 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.08689, allocations: 4 kB / 369.3 MB, free: 14.43 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.013e-06/0.0869, allocations: 7.984 kB / 369.3 MB, free: 14.43 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006567/0.08755, allocations: 0.7193 MB / 370 MB, free: 13.66 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.08756, allocations: 4 kB / 370 MB, free: 13.66 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000323/0.08788, allocations: 171.8 kB / 370.2 MB, free: 13.49 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001087/0.08897, allocations: 329.4 kB / 370.5 MB, free: 13.16 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.523e-05/0.08901, allocations: 31.92 kB / 370.5 MB, free: 13.13 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00194/0.09095, allocations: 2.898 MB / 373.4 MB, free: 10.06 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.09095, allocations: 4 kB / 373.4 MB, free: 10.06 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001543/0.0925, allocations: 0.9656 MB / 374.4 MB, free: 9.059 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.433e-05/0.09258, allocations: 91.27 kB / 374.5 MB, free: 8.969 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.798e-05/0.09266, allocations: 16 kB / 374.5 MB, free: 8.953 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002189/0.09288, allocations: 20 kB / 374.5 MB, free: 8.934 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.477e-05/0.09297, allocations: 76.86 kB / 374.6 MB, free: 8.859 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.617e-05/0.09301, allocations: 27.98 kB / 374.6 MB, free: 8.832 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0003172/0.09333, allocations: 443.3 kB / 375.1 MB, free: 8.398 MB / 346.7 MB Notification: Performance of sort global known variables: time 8e-08/0.09333, allocations: 0 / 375.1 MB, free: 8.398 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001687/0.09501, allocations: 0.7869 MB / 375.9 MB, free: 7.609 MB / 346.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.001035/0.09605, allocations: 0.9893 MB / 376.8 MB, free: 6.613 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0008398/0.09689, allocations: 0.9165 MB / 377.8 MB, free: 5.672 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.414e-05/0.09691, allocations: 21.75 kB / 377.8 MB, free: 5.652 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003896/0.0973, allocations: 0.5367 MB / 378.3 MB, free: 5.094 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005458/0.09785, allocations: 255.6 kB / 378.6 MB, free: 4.863 MB / 346.7 MB Error: Error parsing unit kDa: Unit not found Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002337/0.1002, allocations: 1.965 MB / 380.5 MB, free: 2.84 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001398/0.1003, allocations: 205.5 kB / 380.7 MB, free: 2.613 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0005202/0.1008, allocations: 258 kB / 381 MB, free: 2.375 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004778/0.1013, allocations: 348.6 kB / 381.3 MB, free: 2.031 MB / 346.7 MB Notification: Performance of SimCode: time 8.12e-07/0.1013, allocations: 0 / 381.3 MB, free: 2.031 MB / 346.7 MB Notification: Performance of Templates: time 0.03007/0.1314, allocations: 31.42 MB / 412.8 MB, free: 2.852 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f Chemical_master_Chemical.Obsolete.Examples.GasSolubility_blood.makefile [Timeout 660] (rm -f Chemical_master_Chemical.Obsolete.Examples.GasSolubility_blood.pipe ; mkfifo Chemical_master_Chemical.Obsolete.Examples.GasSolubility_blood.pipe ; head -c 1048576 < Chemical_master_Chemical.Obsolete.Examples.GasSolubility_blood.pipe >> ../files/Chemical_master_Chemical.Obsolete.Examples.GasSolubility_blood.sim & ./Chemical_master_Chemical.Obsolete.Examples.GasSolubility_blood -abortSlowSimulation -alarm=240 -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.GasSolubility_blood.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.3432575268670917]