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.0009963/0.0009963, 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.001132/0.001132, 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 1.05/1.05, 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.1017/0.1017, 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_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.462e-06/1.462e-06, allocations: 0 / 300.8 MB, free: 1.531 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.844e-05/1.99e-05, allocations: 3.156 kB / 300.8 MB, free: 1.527 MB / 266.7 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.GasSolubility_blood): time 0.00641/0.00643, allocations: 6.86 MB / 307.6 MB, free: 12.9 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.01528/0.02171, allocations: 19.49 MB / 327.1 MB, free: 9.523 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008402/0.02255, allocations: 23.81 kB / 327.1 MB, free: 9.5 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00082/0.02337, allocations: 392.8 kB / 327.5 MB, free: 9.113 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003109/0.02648, allocations: 1.668 MB / 329.2 MB, free: 7.434 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004411/0.03089, allocations: 2.535 MB / 331.7 MB, free: 4.883 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001739/0.03263, allocations: 1.887 MB / 333.6 MB, free: 2.988 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000887/0.03352, allocations: 0.8053 MB / 334.4 MB, free: 2.152 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001168/0.03469, allocations: 1.201 MB / 335.6 MB, free: 0.9453 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008248/0.03551, allocations: 0.7678 MB / 336.4 MB, free: 180 kB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001901/0.0357, allocations: 152 kB / 336.5 MB, free: 28 kB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004615/0.04032, allocations: 2.047 MB / 338.6 MB, free: 13.98 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002935/0.04061, allocations: 370.8 kB / 338.9 MB, free: 13.61 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005592/0.04117, allocations: 0.5769 MB / 339.5 MB, free: 13.04 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006038/0.04721, allocations: 3.638 MB / 343.2 MB, free: 9.383 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/0.04721, allocations: 0 / 343.2 MB, free: 9.383 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.04721, allocations: 4 kB / 343.2 MB, free: 9.379 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.078e-05/0.04723, allocations: 0 / 343.2 MB, free: 9.379 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.00216/0.04939, allocations: 1.973 MB / 345.1 MB, free: 7.371 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.226e-05/0.04943, allocations: 12.03 kB / 345.2 MB, free: 7.359 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001099/0.05053, allocations: 0.6122 MB / 345.8 MB, free: 6.746 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007072/0.05123, allocations: 0.5592 MB / 346.3 MB, free: 6.16 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.899e-05/0.05128, allocations: 90.84 kB / 346.4 MB, free: 6.07 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001289/0.05141, allocations: 128.4 kB / 346.5 MB, free: 5.945 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001031/0.05244, allocations: 1.104 MB / 347.6 MB, free: 4.797 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.942e-05/0.05246, allocations: 192 / 347.6 MB, free: 4.797 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.22e-05/0.05253, allocations: 52.38 kB / 347.7 MB, free: 4.746 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.751e-05/0.05255, allocations: 31.94 kB / 347.7 MB, free: 4.715 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001067/0.05362, allocations: 1.013 MB / 348.7 MB, free: 3.684 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.003819/0.05744, allocations: 3.004 MB / 351.7 MB, free: 0.6211 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001937/0.05937, allocations: 1.914 MB / 353.7 MB, free: 14.7 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002562/0.05963, allocations: 266.6 kB / 353.9 MB, free: 14.44 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003194/0.06282, allocations: 2.45 MB / 356.4 MB, free: 11.97 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.647e-05/0.06285, allocations: 43.22 kB / 356.4 MB, free: 11.92 MB / 330.7 MB Notification: Performance of pre-optimization done (n=72): time 2.134e-06/0.06285, allocations: 0 / 356.4 MB, free: 11.92 MB / 330.7 MB Notification: Performance of matching and sorting (n=89): time 0.00628/0.06913, allocations: 2.613 MB / 359 MB, free: 9.27 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.267e-05/0.06917, allocations: 64.41 kB / 359.1 MB, free: 9.191 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006179/0.06978, allocations: 0.8834 MB / 360 MB, free: 8.289 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.867e-05/0.06982, allocations: 41.7 kB / 360 MB, free: 8.242 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002497/0.07007, allocations: 0.629 MB / 360.6 MB, free: 7.605 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001627/0.07023, allocations: 333.2 kB / 361 MB, free: 7.277 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002412/0.07048, allocations: 287.3 kB / 361.2 MB, free: 6.992 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 9.092e-05/0.07057, allocations: 349.8 kB / 361.6 MB, free: 6.645 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002082/0.07077, allocations: 170.7 kB / 361.8 MB, free: 6.477 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004018/0.07118, allocations: 0.6564 MB / 362.4 MB, free: 5.609 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007314/0.07191, allocations: 0.9626 MB / 363.4 MB, free: 4.426 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.211e-06/0.07191, allocations: 8 kB / 363.4 MB, free: 4.418 MB / 330.7 MB Notification: Performance of matching and sorting (n=185) (initialization): time 0.001621/0.07354, allocations: 1.042 MB / 364.4 MB, free: 3.355 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.201e-05/0.07356, allocations: 15.94 kB / 364.4 MB, free: 3.34 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.802e-05/0.07358, allocations: 16 kB / 364.5 MB, free: 3.324 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001235/0.07481, allocations: 337.7 kB / 364.8 MB, free: 2.988 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006672/0.07548, allocations: 379.4 kB / 365.2 MB, free: 2.617 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002578/0.07806, allocations: 3.007 MB / 368.2 MB, free: 15.44 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005799/0.07864, allocations: 44 kB / 368.2 MB, free: 15.4 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.786e-05/0.07872, allocations: 67.97 kB / 368.3 MB, free: 15.33 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.000281/0.079, allocations: 208.2 kB / 368.5 MB, free: 15.12 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000148/0.07915, allocations: 87.86 kB / 368.6 MB, free: 15.03 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001616/0.08077, allocations: 0.8451 MB / 369.4 MB, free: 14.18 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.694e-06/0.08078, allocations: 12 kB / 369.4 MB, free: 14.16 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.08078, allocations: 8 kB / 369.4 MB, free: 14.16 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.083e-05/0.08079, allocations: 3.984 kB / 369.4 MB, free: 14.15 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009045/0.0817, allocations: 0.7194 MB / 370.1 MB, free: 13.39 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.3e-06/0.0817, allocations: 0 / 370.1 MB, free: 13.39 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003938/0.0821, allocations: 199.8 kB / 370.3 MB, free: 13.2 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001231/0.08333, allocations: 317.4 kB / 370.6 MB, free: 12.88 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.936e-05/0.08339, allocations: 35.86 kB / 370.7 MB, free: 12.84 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002307/0.08569, allocations: 2.913 MB / 373.6 MB, free: 9.758 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.073e-06/0.0857, allocations: 192 / 373.6 MB, free: 9.758 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001708/0.0874, allocations: 0.9695 MB / 374.6 MB, free: 8.754 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002224/0.08763, allocations: 87.27 kB / 374.7 MB, free: 8.668 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.575e-05/0.08772, allocations: 20 kB / 374.7 MB, free: 8.648 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002542/0.08798, allocations: 16 kB / 374.7 MB, free: 8.633 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001467/0.08812, allocations: 80.86 kB / 374.8 MB, free: 8.555 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.739e-05/0.08818, allocations: 35.98 kB / 374.8 MB, free: 8.52 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0004416/0.08862, allocations: 435.3 kB / 375.2 MB, free: 8.094 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.08862, allocations: 8 kB / 375.2 MB, free: 8.086 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.00179/0.09041, allocations: 0.7869 MB / 376 MB, free: 7.297 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.001292/0.0917, allocations: 0.9729 MB / 377 MB, free: 6.316 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.00109/0.09279, allocations: 0.9192 MB / 377.9 MB, free: 5.371 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.559e-05/0.09282, allocations: 13.81 kB / 377.9 MB, free: 5.359 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000457/0.09328, allocations: 0.5346 MB / 378.5 MB, free: 4.805 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006372/0.09391, allocations: 259.4 kB / 378.7 MB, free: 4.566 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.002811/0.09672, allocations: 1.969 MB / 380.7 MB, free: 2.539 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001679/0.09689, allocations: 209.5 kB / 380.9 MB, free: 2.309 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0006392/0.09753, allocations: 250.3 kB / 381.1 MB, free: 2.078 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005103/0.09804, allocations: 348.6 kB / 381.5 MB, free: 1.734 MB / 346.7 MB Notification: Performance of SimCode: time 9.72e-07/0.09804, allocations: 0 / 381.5 MB, free: 1.734 MB / 346.7 MB Notification: Performance of Templates: time 0.03291/0.131, allocations: 31.43 MB / 412.9 MB, free: 2.551 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.GasSolubility_blood.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.699071568902582]