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.001556/0.001556, allocations: 113.9 kB / 17.61 MB, free: 4.684 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.001356/0.001356, allocations: 185.9 kB / 20.78 MB, free: 1.52 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.578/1.578, allocations: 225.6 MB / 249.4 MB, free: 3.023 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.1141/0.1141, allocations: 15.55 MB / 320 MB, free: 13.18 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.002066/0.002066, allocations: 62.73 kB / 448.2 MB, free: 46.11 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1448/0.1468, allocations: 56.56 MB / 0.4929 GB, free: 19.06 MB / 366.1 MB Notification: Performance of NFInst.instantiate(Chemical.Examples.GasSolubility_blood): time 0.008743/0.1556, allocations: 7.043 MB / 0.4998 GB, free: 13.5 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.02599/0.1816, allocations: 21.89 MB / 0.5212 GB, free: 8.137 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001939/0.1835, allocations: 15.94 kB / 0.5212 GB, free: 8.121 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00221/0.1857, allocations: 448.7 kB / 0.5216 GB, free: 7.68 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009612/0.1953, allocations: 1.668 MB / 0.5233 GB, free: 6 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01079/0.2061, allocations: 2.815 MB / 0.526 GB, free: 3.164 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.004575/0.2107, allocations: 1.822 MB / 0.5278 GB, free: 1.336 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001343/0.212, allocations: 0.7615 MB / 0.5285 GB, free: 0.5508 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001322/0.2134, allocations: 0.8611 MB / 0.5294 GB, free: 15.69 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001611/0.215, allocations: 0.9538 MB / 0.5303 GB, free: 14.73 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002548/0.2152, allocations: 152 kB / 0.5305 GB, free: 14.58 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01081/0.226, allocations: 2.344 MB / 0.5328 GB, free: 12.23 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005437/0.2266, allocations: 366.8 kB / 0.5331 GB, free: 11.88 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001154/0.2277, allocations: 0.7934 MB / 0.5339 GB, free: 11.08 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01495/0.2427, allocations: 4.148 MB / 0.5379 GB, free: 6.914 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.738e-06/0.2427, allocations: 0 / 0.5379 GB, free: 6.914 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.265e-06/0.2427, allocations: 0 / 0.5379 GB, free: 6.914 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.000124/0.2428, allocations: 0 / 0.5379 GB, free: 6.914 MB / 398.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.006552/0.2494, allocations: 2.132 MB / 0.54 GB, free: 4.723 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.337e-05/0.2494, allocations: 12.03 kB / 0.54 GB, free: 4.711 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001736/0.2511, allocations: 387.4 kB / 0.5404 GB, free: 4.332 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00155/0.2527, allocations: 0.7683 MB / 0.5411 GB, free: 3.523 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.542e-05/0.2528, allocations: 90.84 kB / 0.5412 GB, free: 3.434 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002306/0.253, allocations: 128.4 kB / 0.5413 GB, free: 3.309 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002995/0.256, allocations: 1.756 MB / 0.5431 GB, free: 1.512 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.169e-05/0.2561, allocations: 4 kB / 0.5431 GB, free: 1.508 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000134/0.2562, allocations: 48 kB / 0.5431 GB, free: 1.461 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.322e-05/0.2562, allocations: 32 kB / 0.5431 GB, free: 1.43 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003931/0.2602, allocations: 2.481 MB / 0.5456 GB, free: 14.94 MB / 414.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.00981/0.27, allocations: 5.12 MB / 0.5506 GB, free: 9.621 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003732/0.2737, allocations: 2.16 MB / 0.5527 GB, free: 7.391 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008436/0.2745, allocations: 499 kB / 0.5532 GB, free: 6.906 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008255/0.2828, allocations: 5.321 MB / 0.5583 GB, free: 0.957 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.185e-05/0.2828, allocations: 43.22 kB / 0.5584 GB, free: 0.9062 MB / 414.1 MB Notification: Performance of pre-optimization done (n=72): time 2.034e-06/0.2828, allocations: 4 kB / 0.5584 GB, free: 0.9023 MB / 414.1 MB Notification: Performance of matching and sorting (n=89): time 0.01527/0.2981, allocations: 3.376 MB / 0.5617 GB, free: 13.45 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.408e-05/0.2982, allocations: 60.41 kB / 0.5617 GB, free: 13.38 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001857/0.3, allocations: 1.304 MB / 0.563 GB, free: 12.05 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 8.468e-05/0.3001, allocations: 41.7 kB / 0.5631 GB, free: 12 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005596/0.3007, allocations: 0.7022 MB / 0.5637 GB, free: 11.29 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003174/0.301, allocations: 337.2 kB / 0.5641 GB, free: 10.96 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004422/0.3014, allocations: 287.4 kB / 0.5643 GB, free: 10.67 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002039/0.3016, allocations: 365.8 kB / 0.5647 GB, free: 10.31 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008321/0.3025, allocations: 0.5114 MB / 0.5652 GB, free: 9.797 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001346/0.3038, allocations: 1.004 MB / 0.5662 GB, free: 8.574 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00206/0.3059, allocations: 1.433 MB / 0.5676 GB, free: 6.922 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.686e-06/0.3059, allocations: 8 kB / 0.5676 GB, free: 6.914 MB / 430.1 MB Notification: Performance of matching and sorting (n=185) (initialization): time 0.0049/0.3108, allocations: 1.905 MB / 0.5694 GB, free: 5 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.542e-05/0.3108, allocations: 12 kB / 0.5694 GB, free: 4.988 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.895e-05/0.3108, allocations: 19.94 kB / 0.5695 GB, free: 4.969 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002079/0.3129, allocations: 245.5 kB / 0.5697 GB, free: 4.723 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001188/0.3141, allocations: 351.5 kB / 0.57 GB, free: 4.379 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006078/0.3202, allocations: 3.865 MB / 0.5738 GB, free: 244 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001328/0.3215, allocations: 51.94 kB / 0.5739 GB, free: 192 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001622/0.3217, allocations: 87.95 kB / 0.5739 GB, free: 104 kB / 430.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.0006277/0.3223, allocations: 289.5 kB / 0.5742 GB, free: 15.8 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000253/0.3226, allocations: 115.2 kB / 0.5743 GB, free: 15.69 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004035/0.3266, allocations: 1.252 MB / 0.5756 GB, free: 14.43 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.048e-05/0.3266, allocations: 8 kB / 0.5756 GB, free: 14.42 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.3266, allocations: 0 / 0.5756 GB, free: 14.42 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.194e-05/0.3266, allocations: 3.984 kB / 0.5756 GB, free: 14.41 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001798/0.3284, allocations: 1.113 MB / 0.5767 GB, free: 13.23 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.849e-06/0.3284, allocations: 0 / 0.5767 GB, free: 13.23 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006794/0.3291, allocations: 179.8 kB / 0.5768 GB, free: 13.06 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001968/0.3311, allocations: 225.6 kB / 0.577 GB, free: 12.83 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.174e-05/0.3312, allocations: 35.92 kB / 0.5771 GB, free: 12.8 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005272/0.3364, allocations: 3.764 MB / 0.5807 GB, free: 8.754 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.3364, allocations: 0 / 0.5807 GB, free: 8.754 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004301/0.3407, allocations: 1.608 MB / 0.5823 GB, free: 7.113 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003907/0.3411, allocations: 176.5 kB / 0.5825 GB, free: 6.922 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001613/0.3413, allocations: 20 kB / 0.5825 GB, free: 6.902 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005275/0.3418, allocations: 23.98 kB / 0.5825 GB, free: 6.879 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001984/0.342, allocations: 72.84 kB / 0.5826 GB, free: 6.809 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.431e-05/0.3421, allocations: 39.98 kB / 0.5826 GB, free: 6.77 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001221/0.3433, allocations: 0.914 MB / 0.5835 GB, free: 5.844 MB / 446.1 MB Notification: Performance of sort global known variables: time 5e-08/0.3433, allocations: 0 / 0.5835 GB, free: 5.844 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00275/0.3461, allocations: 0.8491 MB / 0.5844 GB, free: 4.992 MB / 446.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.002264/0.3483, allocations: 1.031 MB / 0.5854 GB, free: 3.949 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002815/0.3511, allocations: 1.341 MB / 0.5867 GB, free: 2.586 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.3511, allocations: 0 / 0.5867 GB, free: 2.586 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001156/0.3523, allocations: 0.6475 MB / 0.5873 GB, free: 1.914 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00142/0.3537, allocations: 226.1 kB / 0.5875 GB, free: 1.695 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00401/0.3577, allocations: 2.139 MB / 0.5896 GB, free: 15.5 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001054/0.3588, allocations: 1.081 MB / 0.5907 GB, free: 14.39 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001103/0.3599, allocations: 259.7 kB / 0.5909 GB, free: 14.14 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003935/0.3603, allocations: 174.8 kB / 0.5911 GB, free: 13.96 MB / 462.1 MB Notification: Performance of SimCode: time 1.062e-06/0.3603, allocations: 0 / 0.5911 GB, free: 13.96 MB / 462.1 MB Notification: Performance of Templates: time 0.3399/0.7002, allocations: 28.86 MB / 0.6193 GB, free: 95.54 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.746913644485176]