Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_Chemical.Examples.GasSolubility.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.00159/0.00159, allocations: 107.2 kB / 17.12 MB, free: 6.012 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.001597/0.001597, allocations: 194.7 kB / 20.08 MB, free: 3.074 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.412/1.412, allocations: 225.6 MB / 248.5 MB, free: 3.633 MB / 190.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.08657/0.08657, allocations: 15.54 MB / 318.9 MB, free: 13.57 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,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.GasSolubility") translateModel(Chemical.Examples.GasSolubility,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.GasSolubility") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00191/0.00191, allocations: 67.75 kB / 446.1 MB, free: 47.68 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09701/0.09892, allocations: 56.55 MB / 0.4909 GB, free: 20.51 MB / 366.1 MB Notification: Performance of NFInst.instantiate(Chemical.Examples.GasSolubility): time 0.008793/0.1077, allocations: 10.38 MB / 0.501 GB, free: 12.27 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.03452/0.1422, allocations: 32.99 MB / 0.5332 GB, free: 11.97 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002049/0.1443, allocations: 31.75 kB / 0.5332 GB, free: 11.94 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002247/0.1465, allocations: 0.7058 MB / 0.5339 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008161/0.1547, allocations: 2.631 MB / 0.5365 GB, free: 8.578 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01202/0.1667, allocations: 4.306 MB / 0.5407 GB, free: 4.246 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.005267/0.172, allocations: 3.017 MB / 0.5436 GB, free: 1.219 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002201/0.1742, allocations: 1.37 MB / 0.545 GB, free: 15.8 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002054/0.1762, allocations: 1.481 MB / 0.5464 GB, free: 14.32 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002419/0.1786, allocations: 1.635 MB / 0.548 GB, free: 12.68 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004602/0.1791, allocations: 264 kB / 0.5483 GB, free: 12.42 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01094/0.19, allocations: 3.658 MB / 0.5519 GB, free: 8.754 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001047/0.1911, allocations: 0.6075 MB / 0.5524 GB, free: 8.145 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001961/0.1931, allocations: 1.334 MB / 0.5537 GB, free: 6.805 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01618/0.2092, allocations: 6.646 MB / 0.5602 GB, free: 136 kB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.401e-06/0.2092, allocations: 0 / 0.5602 GB, free: 136 kB / 414.1 MB Notification: Performance of FrontEnd: time 1.784e-06/0.2092, allocations: 0 / 0.5602 GB, free: 136 kB / 414.1 MB Notification: Performance of Transformations before backend: time 5.941e-05/0.2093, allocations: 0 / 0.5602 GB, free: 136 kB / 414.1 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.006617/0.2159, allocations: 3.306 MB / 0.5635 GB, free: 12.75 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.061e-05/0.216, allocations: 12.03 kB / 0.5635 GB, free: 12.74 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002574/0.2185, allocations: 0.5765 MB / 0.564 GB, free: 12.16 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001981/0.2205, allocations: 1.143 MB / 0.5652 GB, free: 10.97 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001312/0.2206, allocations: 156.6 kB / 0.5653 GB, free: 10.82 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003722/0.221, allocations: 224.3 kB / 0.5655 GB, free: 10.6 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004677/0.2257, allocations: 2.791 MB / 0.5682 GB, free: 7.723 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.654e-05/0.2257, allocations: 4 kB / 0.5682 GB, free: 7.719 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002158/0.2259, allocations: 88 kB / 0.5683 GB, free: 7.633 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.359e-05/0.226, allocations: 55.94 kB / 0.5684 GB, free: 7.578 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005994/0.232, allocations: 3.788 MB / 0.5721 GB, free: 3.773 MB / 430.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.01499/0.247, allocations: 8.34 MB / 0.5802 GB, free: 11.12 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006539/0.2535, allocations: 3.842 MB / 0.584 GB, free: 7.148 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001709/0.2552, allocations: 0.9115 MB / 0.5849 GB, free: 6.234 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01542/0.2706, allocations: 9.223 MB / 0.5939 GB, free: 11.94 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.092e-05/0.2707, allocations: 43.88 kB / 0.5939 GB, free: 11.88 MB / 462.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008526/0.2715, allocations: 190.7 kB / 0.5941 GB, free: 11.7 MB / 462.1 MB Notification: Performance of pre-optimization done (n=138): time 7.243e-06/0.2716, allocations: 4 kB / 0.5941 GB, free: 11.69 MB / 462.1 MB Notification: Performance of matching and sorting (n=170): time 0.03066/0.3022, allocations: 6.422 MB / 0.6004 GB, free: 5.184 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.541e-05/0.3023, allocations: 73.41 kB / 0.6004 GB, free: 5.098 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002672/0.305, allocations: 1.664 MB / 0.6021 GB, free: 3.422 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000282/0.3052, allocations: 53.7 kB / 0.6021 GB, free: 3.363 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008904/0.3061, allocations: 1.077 MB / 0.6032 GB, free: 2.273 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008017/0.3069, allocations: 0.6198 MB / 0.6038 GB, free: 1.648 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001082/0.308, allocations: 476.8 kB / 0.6042 GB, free: 1.176 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001328/0.3081, allocations: 301.1 kB / 0.6045 GB, free: 0.8789 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001649/0.3098, allocations: 0.7936 MB / 0.6053 GB, free: 84 kB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.26/0.5698, allocations: 1.588 MB / 0.6068 GB, free: 99.67 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00345/0.5733, allocations: 2.419 MB / 0.6092 GB, free: 98.35 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.075e-05/0.5733, allocations: 7.875 kB / 0.6092 GB, free: 98.35 MB / 462.1 MB Notification: Performance of matching and sorting (n=317) (initialization): time 0.008813/0.5821, allocations: 3.125 MB / 0.6123 GB, free: 97.24 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.208e-05/0.5821, allocations: 17.95 kB / 0.6123 GB, free: 97.24 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.394e-05/0.5822, allocations: 29.72 kB / 0.6123 GB, free: 97.24 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003848/0.5861, allocations: 487.1 kB / 0.6128 GB, free: 97.15 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002404/0.5885, allocations: 0.5892 MB / 0.6134 GB, free: 97.09 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009463/0.5979, allocations: 7.702 MB / 0.6209 GB, free: 90.25 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002033/0.6, allocations: 90.91 kB / 0.621 GB, free: 90.21 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002732/0.6002, allocations: 138.2 kB / 0.6211 GB, free: 90.18 MB / 462.1 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.0008156/0.601, allocations: 416.5 kB / 0.6215 GB, free: 89.89 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003964/0.6014, allocations: 179 kB / 0.6217 GB, free: 89.89 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007035/0.6085, allocations: 2.394 MB / 0.624 GB, free: 89 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.032e-05/0.6085, allocations: 17.94 kB / 0.624 GB, free: 89 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.707e-06/0.6085, allocations: 2.156 kB / 0.624 GB, free: 89 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.011e-05/0.6085, allocations: 7.594 kB / 0.624 GB, free: 89 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002534/0.6111, allocations: 1.859 MB / 0.6258 GB, free: 88.13 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.105e-06/0.6111, allocations: 5.25 kB / 0.6258 GB, free: 88.12 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001261/0.6123, allocations: 351.3 kB / 0.6262 GB, free: 88.09 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00352/0.6159, allocations: 455.5 kB / 0.6266 GB, free: 88 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001798/0.616, allocations: 63.34 kB / 0.6267 GB, free: 87.97 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008081/0.6241, allocations: 7.534 MB / 0.634 GB, free: 81.15 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/0.6241, allocations: 6.828 kB / 0.634 GB, free: 81.15 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007131/0.6312, allocations: 3.002 MB / 0.637 GB, free: 79.85 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000498/0.6317, allocations: 245.9 kB / 0.6372 GB, free: 79.64 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00021/0.632, allocations: 33.44 kB / 0.6372 GB, free: 79.62 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008822/0.6328, allocations: 40.03 kB / 0.6373 GB, free: 79.6 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002884/0.6331, allocations: 154.6 kB / 0.6374 GB, free: 79.57 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001201/0.6332, allocations: 70.28 kB / 0.6375 GB, free: 79.55 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001153/0.6344, allocations: 1.134 MB / 0.6386 GB, free: 79.07 MB / 462.1 MB Notification: Performance of sort global known variables: time 5e-08/0.6344, allocations: 0 / 0.6386 GB, free: 79.07 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003644/0.638, allocations: 1.383 MB / 0.6399 GB, free: 78.92 MB / 462.1 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.002341/0.6404, allocations: 1.515 MB / 0.6414 GB, free: 78.51 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.00357/0.644, allocations: 2.388 MB / 0.6438 GB, free: 76.5 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.047e-06/0.644, allocations: 128 / 0.6438 GB, free: 76.5 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001505/0.6455, allocations: 1.279 MB / 0.645 GB, free: 75.17 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001589/0.6471, allocations: 368.1 kB / 0.6454 GB, free: 74.82 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004901/0.652, allocations: 3.664 MB / 0.6489 GB, free: 71.12 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006165/0.6526, allocations: 1.386 MB / 0.6503 GB, free: 69.7 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007586/0.6533, allocations: 387.6 kB / 0.6507 GB, free: 69.32 MB / 462.1 MB Notification: Performance of SimCode: time 9.11e-07/0.6533, allocations: 0 / 0.6507 GB, free: 69.32 MB / 462.1 MB Notification: Performance of Templates: time 0.05482/0.7082, allocations: 66.52 MB / 0.7156 GB, free: 2.875 MB / 462.1 MB " [Timeout remaining time 659] make -j1 -f Chemical_Chemical.Examples.GasSolubility.makefile [Timeout 660] (rm -f Chemical_Chemical.Examples.GasSolubility.pipe ; mkfifo Chemical_Chemical.Examples.GasSolubility.pipe ; head -c 1048576 < Chemical_Chemical.Examples.GasSolubility.pipe >> ../files/Chemical_Chemical.Examples.GasSolubility.sim & ./Chemical_Chemical.Examples.GasSolubility -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_Chemical.Examples.GasSolubility.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 11.484482737956569] Failed to read output from testmodel.py, exit status != 0: 0.9076402480714023 0.7283007579999999 0.5161110219999999 Calling exit ...