Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_Chemical.Examples.GasSolubility_blood.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001544/0.001544, allocations: 101.8 kB / 16.45 MB, free: 6.449 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001691/0.001691, allocations: 187.8 kB / 19.4 MB, free: 3.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.502/1.502, allocations: 225.6 MB / 247.8 MB, free: 13.96 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo): time 0.108/0.108, allocations: 15.53 MB / 318.2 MB, free: 10.22 MB / 254.1 MB " [Timeout remaining time 180] Using package Chemical with version 1.4.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Chemical.Examples.GasSolubility_blood,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.GasSolubility_blood") translateModel(Chemical.Examples.GasSolubility_blood,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.GasSolubility_blood") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001974/0.001974, allocations: 67.91 kB / 445.4 MB, free: 13.07 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1316/0.1335, allocations: 56.55 MB / 0.4902 GB, free: 4.414 MB / 366.1 MB Notification: Performance of NFInst.instantiate(Chemical.Examples.GasSolubility_blood): time 0.008722/0.1423, allocations: 7.004 MB / 0.497 GB, free: 13.38 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.3292/0.4715, allocations: 21.83 MB / 0.5183 GB, free: 7.277 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001039/0.4725, allocations: 17.41 kB / 0.5184 GB, free: 7.277 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001138/0.4736, allocations: 449 kB / 0.5188 GB, free: 7.27 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004796/0.4784, allocations: 1.656 MB / 0.5204 GB, free: 6.953 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008246/0.4867, allocations: 2.826 MB / 0.5232 GB, free: 5.988 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.004445/0.4911, allocations: 1.821 MB / 0.5249 GB, free: 5.586 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001697/0.4928, allocations: 0.7612 MB / 0.5257 GB, free: 5.516 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001534/0.4944, allocations: 0.856 MB / 0.5265 GB, free: 5.398 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001774/0.4961, allocations: 0.9585 MB / 0.5275 GB, free: 5.238 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003481/0.4965, allocations: 152.3 kB / 0.5276 GB, free: 5.238 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009859/0.5063, allocations: 2.343 MB / 0.5299 GB, free: 5.035 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007004/0.507, allocations: 367 kB / 0.5302 GB, free: 4.984 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001434/0.5085, allocations: 0.793 MB / 0.531 GB, free: 4.562 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01598/0.5244, allocations: 4.153 MB / 0.5351 GB, free: 3.027 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.5245, allocations: 0 / 0.5351 GB, free: 3.027 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.784e-06/0.5245, allocations: 0 / 0.5351 GB, free: 3.027 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.809e-05/0.5245, allocations: 4.766 kB / 0.5351 GB, free: 3.027 MB / 382.1 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.005685/0.5302, allocations: 2.122 MB / 0.5371 GB, free: 1.699 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.313e-05/0.5303, allocations: 11.59 kB / 0.5372 GB, free: 1.699 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002092/0.5323, allocations: 387.4 kB / 0.5375 GB, free: 1.578 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001621/0.534, allocations: 0.7608 MB / 0.5383 GB, free: 1.094 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.037e-05/0.5341, allocations: 92.91 kB / 0.5384 GB, free: 1.051 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00027/0.5343, allocations: 130.5 kB / 0.5385 GB, free: 1.004 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003031/0.5374, allocations: 1.756 MB / 0.5402 GB, free: 300 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.403e-05/0.5374, allocations: 10 kB / 0.5402 GB, free: 292 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001358/0.5375, allocations: 50.5 kB / 0.5403 GB, free: 252 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.899e-05/0.5376, allocations: 29.56 kB / 0.5403 GB, free: 252 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004692/0.5423, allocations: 2.529 MB / 0.5428 GB, free: 15.55 MB / 398.1 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.01038/0.5526, allocations: 5.105 MB / 0.5477 GB, free: 11.89 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003697/0.5563, allocations: 2.172 MB / 0.5499 GB, free: 10.76 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000851/0.5572, allocations: 496.5 kB / 0.5503 GB, free: 10.52 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008884/0.5661, allocations: 5.314 MB / 0.5555 GB, free: 5.508 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.332e-05/0.5661, allocations: 51.14 kB / 0.5556 GB, free: 5.449 MB / 398.1 MB Notification: Performance of pre-optimization done (n=72): time 2.745e-06/0.5661, allocations: 0 / 0.5556 GB, free: 5.449 MB / 398.1 MB Notification: Performance of matching and sorting (n=89): time 0.01542/0.5815, allocations: 3.386 MB / 0.5589 GB, free: 1.992 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.584e-05/0.5816, allocations: 60.41 kB / 0.5589 GB, free: 1.922 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001893/0.5835, allocations: 1.292 MB / 0.5602 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 7.755e-05/0.5836, allocations: 41.7 kB / 0.5602 GB, free: 0.5586 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006182/0.5842, allocations: 0.7117 MB / 0.5609 GB, free: 15.84 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003718/0.5846, allocations: 329.9 kB / 0.5612 GB, free: 15.52 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004701/0.585, allocations: 291.4 kB / 0.5615 GB, free: 15.23 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002032/0.5852, allocations: 357.7 kB / 0.5619 GB, free: 14.88 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008913/0.5861, allocations: 0.5164 MB / 0.5624 GB, free: 14.36 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001358/0.5875, allocations: 1 MB / 0.5633 GB, free: 13.14 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002156/0.5896, allocations: 1.426 MB / 0.5647 GB, free: 11.5 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.126e-06/0.5896, allocations: 7.938 kB / 0.5647 GB, free: 11.49 MB / 414.1 MB Notification: Performance of matching and sorting (n=185) (initialization): time 0.004872/0.5945, allocations: 1.912 MB / 0.5666 GB, free: 9.57 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.64e-05/0.5946, allocations: 12 kB / 0.5666 GB, free: 9.559 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.356e-05/0.5946, allocations: 16 kB / 0.5666 GB, free: 9.543 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001914/0.5965, allocations: 253.5 kB / 0.5669 GB, free: 9.289 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001227/0.5977, allocations: 347.5 kB / 0.5672 GB, free: 8.949 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006151/0.6039, allocations: 3.876 MB / 0.571 GB, free: 4.82 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001519/0.6054, allocations: 40 kB / 0.571 GB, free: 4.781 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001789/0.6056, allocations: 79.98 kB / 0.5711 GB, free: 4.703 MB / 414.1 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.0007693/0.6063, allocations: 297.3 kB / 0.5714 GB, free: 4.402 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003325/0.6067, allocations: 115.2 kB / 0.5715 GB, free: 4.289 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004041/0.6107, allocations: 1.249 MB / 0.5727 GB, free: 3.035 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.011e-05/0.6107, allocations: 11.94 kB / 0.5727 GB, free: 3.023 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.556e-06/0.6107, allocations: 0 / 0.5727 GB, free: 3.023 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.317e-05/0.6107, allocations: 7.984 kB / 0.5727 GB, free: 3.016 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001974/0.6127, allocations: 1.103 MB / 0.5738 GB, free: 1.867 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.264e-06/0.6127, allocations: 4 kB / 0.5738 GB, free: 1.863 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007162/0.6134, allocations: 175.7 kB / 0.574 GB, free: 1.695 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001837/0.6153, allocations: 237.5 kB / 0.5742 GB, free: 1.457 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.161e-05/0.6154, allocations: 35.86 kB / 0.5743 GB, free: 1.422 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005514/0.6209, allocations: 3.767 MB / 0.5779 GB, free: 13.38 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.6209, allocations: 0 / 0.5779 GB, free: 13.38 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004331/0.6252, allocations: 1.593 MB / 0.5795 GB, free: 11.75 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004803/0.6257, allocations: 188.4 kB / 0.5797 GB, free: 11.55 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001611/0.6259, allocations: 16 kB / 0.5797 GB, free: 11.54 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005641/0.6264, allocations: 24 kB / 0.5797 GB, free: 11.51 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002035/0.6266, allocations: 72.84 kB / 0.5798 GB, free: 11.44 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.441e-05/0.6267, allocations: 39.98 kB / 0.5798 GB, free: 11.4 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001176/0.6279, allocations: 0.914 MB / 0.5807 GB, free: 10.48 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.6279, allocations: 3.938 kB / 0.5807 GB, free: 10.47 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.00322/0.6311, allocations: 0.8491 MB / 0.5815 GB, free: 9.621 MB / 430.1 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.002432/0.6335, allocations: 1.028 MB / 0.5825 GB, free: 8.707 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002798/0.6363, allocations: 1.353 MB / 0.5839 GB, free: 7.332 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.6363, allocations: 0 / 0.5839 GB, free: 7.332 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001098/0.6374, allocations: 0.6436 MB / 0.5845 GB, free: 6.664 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001412/0.6388, allocations: 235.4 kB / 0.5847 GB, free: 6.438 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004107/0.643, allocations: 2.134 MB / 0.5868 GB, free: 4.27 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008209/0.6438, allocations: 1.077 MB / 0.5879 GB, free: 3.16 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0009467/0.6447, allocations: 256.3 kB / 0.5881 GB, free: 2.91 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004071/0.6451, allocations: 170.8 kB / 0.5883 GB, free: 2.742 MB / 430.1 MB Notification: Performance of SimCode: time 1.393e-06/0.6451, allocations: 0 / 0.5883 GB, free: 2.742 MB / 430.1 MB Notification: Performance of Templates: time 0.05034/0.6955, allocations: 28.39 MB / 0.616 GB, free: 6.477 MB / 462.1 MB " [Timeout remaining time 659] make -j1 -f Chemical_Chemical.Examples.GasSolubility_blood.makefile [Timeout 660] (rm -f Chemical_Chemical.Examples.GasSolubility_blood.pipe ; mkfifo Chemical_Chemical.Examples.GasSolubility_blood.pipe ; head -c 1048576 < Chemical_Chemical.Examples.GasSolubility_blood.pipe >> ../files/Chemical_Chemical.Examples.GasSolubility_blood.sim & ./Chemical_Chemical.Examples.GasSolubility_blood -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_Chemical.Examples.GasSolubility_blood.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.411183213815093]