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.0009646/0.0009646, allocations: 93.06 kB / 19.65 MB, free: 276 kB / 13.93 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.001015/0.001015, allocations: 165 kB / 23.02 MB, free: 1.547 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.9955/0.9955, allocations: 177.1 MB / 203.4 MB, free: 5.633 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.1086/0.1086, allocations: 17.46 MB / 277.4 MB, free: 11.55 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.532e-06/1.532e-06, allocations: 0 / 353.5 MB, free: 10.91 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.973e-05/2.126e-05, allocations: 6.312 kB / 353.5 MB, free: 10.91 MB / 330.7 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.GasSolubility_blood): time 0.009176/0.009197, allocations: 6.903 MB / 360.4 MB, free: 3.973 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.01529/0.02449, allocations: 19.69 MB / 380.1 MB, free: 212 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005305/0.02502, allocations: 23.81 kB / 380.2 MB, free: 188 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006572/0.02568, allocations: 373 kB / 380.5 MB, free: 15.82 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002441/0.02812, allocations: 1.695 MB / 382.2 MB, free: 14.11 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003767/0.03189, allocations: 2.547 MB / 384.8 MB, free: 11.55 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001182/0.03307, allocations: 1.895 MB / 386.7 MB, free: 9.641 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005656/0.03363, allocations: 0.7859 MB / 387.5 MB, free: 8.844 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007696/0.0344, allocations: 1.213 MB / 388.7 MB, free: 7.629 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006221/0.03503, allocations: 0.7795 MB / 389.4 MB, free: 6.848 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001399/0.03517, allocations: 156 kB / 389.6 MB, free: 6.695 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002358/0.03752, allocations: 1.98 MB / 391.6 MB, free: 4.711 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004366/0.03796, allocations: 378.8 kB / 391.9 MB, free: 4.34 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003796/0.03834, allocations: 0.5691 MB / 392.5 MB, free: 3.77 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003081/0.04142, allocations: 3.638 MB / 396.2 MB, free: 120 kB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.04143, allocations: 0 / 396.2 MB, free: 120 kB / 362.7 MB Notification: Performance of FrontEnd: time 1.443e-06/0.04143, allocations: 0 / 396.2 MB, free: 120 kB / 362.7 MB Notification: Performance of Transformations before backend: time 1.228e-05/0.04144, allocations: 3.938 kB / 396.2 MB, free: 116 kB / 362.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.001982/0.04342, allocations: 2.091 MB / 398.2 MB, free: 13.97 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.454e-05/0.04346, allocations: 11.97 kB / 398.3 MB, free: 13.96 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001061/0.04452, allocations: 0.6344 MB / 398.9 MB, free: 13.32 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001029/0.04555, allocations: 0.7179 MB / 399.6 MB, free: 12.58 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.329e-05/0.0456, allocations: 94.84 kB / 399.7 MB, free: 12.48 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001441/0.04574, allocations: 132.3 kB / 399.8 MB, free: 12.36 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001324/0.04707, allocations: 1.21 MB / 401 MB, free: 11.1 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.209e-05/0.04709, allocations: 192 / 401 MB, free: 11.1 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.042e-05/0.04717, allocations: 52.38 kB / 401.1 MB, free: 11.05 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.05e-05/0.04719, allocations: 31.94 kB / 401.1 MB, free: 11.02 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001599/0.04879, allocations: 1.373 MB / 402.5 MB, free: 9.633 MB / 378.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.004528/0.05332, allocations: 3.794 MB / 406.3 MB, free: 5.762 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002161/0.05548, allocations: 2.077 MB / 408.4 MB, free: 3.676 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004074/0.05589, allocations: 357.4 kB / 408.7 MB, free: 3.328 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003852/0.05974, allocations: 2.731 MB / 411.4 MB, free: 0.5742 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.213e-05/0.05977, allocations: 42.05 kB / 411.5 MB, free: 0.5234 MB / 378.7 MB Notification: Performance of pre-optimization done (n=72): time 2.785e-06/0.05977, allocations: 0 / 411.5 MB, free: 0.5234 MB / 378.7 MB Notification: Performance of matching and sorting (n=89): time 0.00717/0.06694, allocations: 2.891 MB / 414.4 MB, free: 13.59 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.018e-05/0.06698, allocations: 64.39 kB / 414.4 MB, free: 13.51 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00081/0.06779, allocations: 0.9636 MB / 415.4 MB, free: 12.53 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 4.15e-05/0.06784, allocations: 41.7 kB / 415.4 MB, free: 12.48 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003429/0.06818, allocations: 0.7673 MB / 416.2 MB, free: 11.71 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001912/0.06837, allocations: 333.2 kB / 416.5 MB, free: 11.38 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002729/0.06864, allocations: 297 kB / 416.8 MB, free: 11.08 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001515/0.06879, allocations: 0.5277 MB / 417.4 MB, free: 10.54 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003655/0.06916, allocations: 243.8 kB / 417.6 MB, free: 10.3 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006662/0.06983, allocations: 0.919 MB / 418.5 MB, free: 9.094 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001108/0.07093, allocations: 1.255 MB / 419.8 MB, free: 7.543 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.085e-05/0.07094, allocations: 8 kB / 419.8 MB, free: 7.535 MB / 394.7 MB Notification: Performance of matching and sorting (n=185) (initialization): time 0.002481/0.07343, allocations: 1.41 MB / 421.2 MB, free: 6.105 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.624e-05/0.07345, allocations: 12 kB / 421.2 MB, free: 6.094 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.891e-05/0.07347, allocations: 16 kB / 421.2 MB, free: 6.078 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001455/0.07493, allocations: 351.1 kB / 421.6 MB, free: 5.727 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006525/0.07558, allocations: 351.5 kB / 421.9 MB, free: 5.383 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003501/0.07908, allocations: 4.367 MB / 426.3 MB, free: 0.7734 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006646/0.07974, allocations: 48 kB / 426.3 MB, free: 0.7266 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.548e-05/0.07984, allocations: 87.91 kB / 426.4 MB, free: 0.6406 MB / 394.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.0003113/0.08015, allocations: 248.1 kB / 426.6 MB, free: 396 kB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001908/0.08034, allocations: 135.2 kB / 426.8 MB, free: 260 kB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001978/0.08232, allocations: 1.065 MB / 427.8 MB, free: 15.17 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.518e-06/0.08233, allocations: 12 kB / 427.9 MB, free: 15.16 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.08233, allocations: 4 kB / 427.9 MB, free: 15.16 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.077e-05/0.08235, allocations: 3.984 kB / 427.9 MB, free: 15.15 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009968/0.08334, allocations: 0.799 MB / 428.7 MB, free: 14.3 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.062e-06/0.08335, allocations: 0 / 428.7 MB, free: 14.3 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003678/0.08372, allocations: 171.8 kB / 428.8 MB, free: 14.13 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001367/0.08508, allocations: 335.2 kB / 429.2 MB, free: 13.79 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.672e-05/0.08515, allocations: 31.98 kB / 429.2 MB, free: 13.76 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002935/0.08809, allocations: 4.269 MB / 433.5 MB, free: 9.25 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.857e-06/0.08809, allocations: 7.938 kB / 433.5 MB, free: 9.242 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002245/0.09033, allocations: 1.332 MB / 434.8 MB, free: 7.863 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001719/0.09051, allocations: 95.27 kB / 434.9 MB, free: 7.77 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.023e-05/0.09059, allocations: 20 kB / 434.9 MB, free: 7.75 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002547/0.09084, allocations: 16 kB / 434.9 MB, free: 7.734 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001314/0.09097, allocations: 80.8 kB / 435 MB, free: 7.656 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.735e-05/0.09104, allocations: 39.98 kB / 435 MB, free: 7.617 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0006597/0.0917, allocations: 0.5849 MB / 435.6 MB, free: 7.031 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.0917, allocations: 4 kB / 435.6 MB, free: 7.027 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001858/0.09356, allocations: 0.787 MB / 436.4 MB, free: 6.238 MB / 410.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.001469/0.09503, allocations: 0.9607 MB / 437.4 MB, free: 5.27 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.00161/0.09664, allocations: 1.167 MB / 438.5 MB, free: 4.07 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/0.09664, allocations: 0 / 438.5 MB, free: 4.07 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000642/0.09728, allocations: 0.7066 MB / 439.3 MB, free: 3.328 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007537/0.09804, allocations: 249.8 kB / 439.5 MB, free: 3.098 MB / 410.7 MB Error: Error parsing unit kDa: Unit not found Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003068/0.1011, allocations: 1.991 MB / 441.5 MB, free: 1.047 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001556/0.1013, allocations: 205.5 kB / 441.7 MB, free: 0.8203 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0005756/0.1018, allocations: 259.5 kB / 441.9 MB, free: 0.5664 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002481/0.1021, allocations: 167.9 kB / 442.1 MB, free: 412 kB / 410.7 MB Notification: Performance of SimCode: time 4.138e-06/0.1021, allocations: 0 / 442.1 MB, free: 412 kB / 410.7 MB Notification: Performance of Templates: time 0.1541/0.2562, allocations: 27.49 MB / 469.6 MB, free: 111.4 MB / 410.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.8761489926837385]