Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_Chemical.Obsolete.Examples.GasSolubility_NIST.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.001022/0.001022, allocations: 84.23 kB / 19.42 MB, free: 476 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.001183/0.001183, allocations: 173 kB / 22.72 MB, free: 1.805 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.9656/0.9656, allocations: 177.1 MB / 203.1 MB, free: 5.629 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo): time 0.09035/0.09035, allocations: 17.38 MB / 276.9 MB, free: 11.71 MB / 266.7 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/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_NIST,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.GasSolubility_NIST") translateModel(Chemical.Obsolete.Examples.GasSolubility_NIST,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.GasSolubility_NIST") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 0 / 352.7 MB, free: 10.3 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.659e-05/2.804e-05, allocations: 4.844 kB / 352.7 MB, free: 10.3 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.GasSolubility_NIST): time 0.0207/0.02073, allocations: 14.58 MB / 367.3 MB, free: 11.67 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.201/0.2217, allocations: 49.26 MB / 416.5 MB, free: 15.7 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002023/0.2237, allocations: 46.22 kB / 416.6 MB, free: 15.7 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002297/0.226, allocations: 1.013 MB / 417.6 MB, free: 15.7 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.009009/0.235, allocations: 3.558 MB / 421.1 MB, free: 15.07 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01669/0.2517, allocations: 7.281 MB / 428.4 MB, free: 13.52 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.00552/0.2572, allocations: 4.65 MB / 433.1 MB, free: 12.36 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002855/0.2601, allocations: 1.98 MB / 435.1 MB, free: 12.17 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004151/0.2642, allocations: 2.944 MB / 438 MB, free: 11.42 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00263/0.2669, allocations: 1.9 MB / 439.9 MB, free: 10.89 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001058/0.2679, allocations: 385.1 kB / 440.3 MB, free: 10.89 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01321/0.2811, allocations: 5.275 MB / 445.6 MB, free: 9.441 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001112/0.2822, allocations: 0.9068 MB / 446.5 MB, free: 8.777 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002107/0.2843, allocations: 1.419 MB / 447.9 MB, free: 8.098 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01929/0.3036, allocations: 9.443 MB / 457.3 MB, free: 1.215 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.3036, allocations: 0 / 457.3 MB, free: 1.215 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.3036, allocations: 0 / 457.3 MB, free: 1.215 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.879e-05/0.3037, allocations: 0 / 457.3 MB, free: 1.215 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 791 * Number of variables: 791 Notification: Performance of Generate backend data structure: time 0.006692/0.3104, allocations: 4.838 MB / 462.2 MB, free: 12.33 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.88e-05/0.3105, allocations: 12.03 kB / 462.2 MB, free: 12.32 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003403/0.3139, allocations: 1.608 MB / 463.8 MB, free: 10.71 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002039/0.3159, allocations: 1.582 MB / 465.4 MB, free: 9.199 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001265/0.316, allocations: 230.6 kB / 465.6 MB, free: 8.973 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003422/0.3164, allocations: 324.3 kB / 465.9 MB, free: 8.656 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003962/0.3203, allocations: 2.943 MB / 468.8 MB, free: 5.633 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.428e-05/0.3204, allocations: 3.094 kB / 468.8 MB, free: 5.633 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002086/0.3206, allocations: 124.6 kB / 469 MB, free: 5.512 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.224e-05/0.3206, allocations: 79.94 kB / 469 MB, free: 5.434 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004188/0.3248, allocations: 3.379 MB / 472.4 MB, free: 2.023 MB / 346.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.01164/0.3365, allocations: 9.275 MB / 481.7 MB, free: 8.863 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004448/0.3409, allocations: 4.015 MB / 485.7 MB, free: 4.84 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001015/0.3419, allocations: 0.8432 MB / 486.6 MB, free: 3.988 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008577/0.3505, allocations: 6.405 MB / 493 MB, free: 13.66 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.407e-05/0.3505, allocations: 54.89 kB / 493 MB, free: 13.59 MB / 378.7 MB Notification: Performance of pre-optimization done (n=182): time 3.296e-06/0.3505, allocations: 0 / 493 MB, free: 13.59 MB / 378.7 MB Notification: Performance of matching and sorting (n=227): time 0.02132/0.3719, allocations: 8.558 MB / 0.4898 GB, free: 4.977 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.191e-05/0.3719, allocations: 124.8 kB / 0.4899 GB, free: 4.832 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002119/0.374, allocations: 2.262 MB / 0.4921 GB, free: 2.527 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001884/0.3742, allocations: 69.7 kB / 0.4922 GB, free: 2.453 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007937/0.375, allocations: 1.714 MB / 0.4939 GB, free: 0.7383 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005233/0.3755, allocations: 0.8244 MB / 0.4947 GB, free: 15.92 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009026/0.3765, allocations: 0.6838 MB / 0.4954 GB, free: 15.23 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.979e-05/0.3766, allocations: 480.8 kB / 0.4958 GB, free: 14.75 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000985/0.3775, allocations: 0.611 MB / 0.4964 GB, free: 14.14 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001654/0.3792, allocations: 2.151 MB / 0.4985 GB, free: 11.34 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002976/0.3822, allocations: 2.998 MB / 0.5014 GB, free: 7.816 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.507e-05/0.3822, allocations: 12 kB / 0.5015 GB, free: 7.805 MB / 394.7 MB Notification: Performance of matching and sorting (n=458) (initialization): time 0.006397/0.3886, allocations: 3.549 MB / 0.5049 GB, free: 4.457 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.182e-05/0.3886, allocations: 22.66 kB / 0.5049 GB, free: 4.438 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.532e-05/0.3887, allocations: 39.19 kB / 0.505 GB, free: 4.402 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004015/0.3927, allocations: 1 MB / 0.506 GB, free: 3.379 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001751/0.3944, allocations: 0.8457 MB / 0.5068 GB, free: 2.582 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01004/0.4045, allocations: 13.08 MB / 0.5196 GB, free: 4.797 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002061/0.4065, allocations: 120 kB / 0.5197 GB, free: 4.68 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003559/0.4069, allocations: 199.9 kB / 0.5199 GB, free: 4.484 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 159 * 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 (440): * Single equations (assignments): 434 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,3,100.0%), (1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,3), (1,3), (1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0009401/0.4078, allocations: 381.4 kB / 0.5202 GB, free: 4.102 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006695/0.4085, allocations: 330.2 kB / 0.5205 GB, free: 3.777 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005784/0.4143, allocations: 2.738 MB / 0.5232 GB, free: 1.012 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.687e-05/0.4143, allocations: 24 kB / 0.5232 GB, free: 0.9883 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.531e-05/0.4143, allocations: 4 kB / 0.5232 GB, free: 0.9844 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.703e-05/0.4143, allocations: 15.95 kB / 0.5233 GB, free: 0.9688 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00258/0.4169, allocations: 1.855 MB / 0.5251 GB, free: 15.07 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.276e-05/0.4169, allocations: 8 kB / 0.5251 GB, free: 15.06 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009153/0.4178, allocations: 455.8 kB / 0.5255 GB, free: 14.61 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003799/0.4216, allocations: 0.9619 MB / 0.5264 GB, free: 13.62 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000196/0.4218, allocations: 79.95 kB / 0.5265 GB, free: 13.55 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009017/0.4309, allocations: 12.82 MB / 0.539 GB, free: 8 kB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.799e-06/0.4309, allocations: 7.938 kB / 0.5391 GB, free: 0 / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008189/0.4391, allocations: 3.468 MB / 0.5424 GB, free: 12.42 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007721/0.4398, allocations: 238.2 kB / 0.5427 GB, free: 12.19 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003751/0.4402, allocations: 55.98 kB / 0.5427 GB, free: 12.13 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001075/0.4413, allocations: 52 kB / 0.5428 GB, free: 12.08 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004452/0.4417, allocations: 213.4 kB / 0.543 GB, free: 11.88 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001599/0.4419, allocations: 95.97 kB / 0.5431 GB, free: 11.78 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001884/0.4438, allocations: 1.325 MB / 0.5444 GB, free: 10.44 MB / 442.7 MB Notification: Performance of sort global known variables: time 4.5e-07/0.4438, allocations: 3.938 kB / 0.5444 GB, free: 10.43 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.005586/0.4494, allocations: 2.107 MB / 0.5464 GB, free: 8.32 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 12 (water_solution_37degC1.temperature,CO2_0.logn,O2_0.logn,water_0.logn,water_solution_37degC.temperature,CO2_37.logn,O2_37.logn,water_37.logn,water_solution_25degC.temperature,CO2_25.logn,O2_25.logn,water_25.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 (236): * Single equations (assignments): 230 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,3,100.0%), (1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,3), (1,3), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004811/0.4542, allocations: 2.395 MB / 0.5488 GB, free: 6.184 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.005232/0.4594, allocations: 3.108 MB / 0.5518 GB, free: 2.977 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.26e-06/0.4594, allocations: 384 / 0.5518 GB, free: 2.977 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002178/0.4616, allocations: 1.963 MB / 0.5537 GB, free: 0.9062 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002501/0.4641, allocations: 0.5611 MB / 0.5543 GB, free: 352 kB / 442.7 MB Error: Error parsing unit kDa: Unit not found Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008508/0.4726, allocations: 4.848 MB / 0.559 GB, free: 11.39 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004639/0.4731, allocations: 468.7 kB / 0.5594 GB, free: 10.92 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.002032/0.4751, allocations: 0.5869 MB / 0.56 GB, free: 10.33 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007836/0.4759, allocations: 403.2 kB / 0.5604 GB, free: 9.938 MB / 458.7 MB Notification: Performance of SimCode: time 2.655e-06/0.4759, allocations: 0 / 0.5604 GB, free: 9.938 MB / 458.7 MB Notification: Performance of Templates: time 0.1882/0.6641, allocations: 70.92 MB / 0.6297 GB, free: 126 MB / 458.7 MB " [Timeout remaining time 659] make -j1 -f Chemical_Chemical.Obsolete.Examples.GasSolubility_NIST.makefile [Timeout 660] (rm -f Chemical_Chemical.Obsolete.Examples.GasSolubility_NIST.pipe ; mkfifo Chemical_Chemical.Obsolete.Examples.GasSolubility_NIST.pipe ; head -c 1048576 < Chemical_Chemical.Obsolete.Examples.GasSolubility_NIST.pipe >> ../files/Chemical_Chemical.Obsolete.Examples.GasSolubility_NIST.sim & ./Chemical_Chemical.Obsolete.Examples.GasSolubility_NIST -abortSlowSimulation -alarm=240 -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.GasSolubility_NIST.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.453026725910604]