Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_Chemical.Obsolete.Examples.GasSolubility.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.0019/0.0019, allocations: 85.48 kB / 19.44 MB, free: 340 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.002086/0.002086, allocations: 173.2 kB / 22.76 MB, free: 1.66 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 1.586/1.586, allocations: 177.1 MB / 203.1 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 178] 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.1412/0.1412, allocations: 17.38 MB / 276.9 MB, free: 11.66 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,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.GasSolubility") translateModel(Chemical.Obsolete.Examples.GasSolubility,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.GasSolubility") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.693e-06/1.693e-06, allocations: 0 / 352.7 MB, free: 10.33 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.244e-05/4.413e-05, allocations: 4.844 kB / 352.7 MB, free: 10.32 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.GasSolubility): time 0.01404/0.01408, allocations: 10.19 MB / 362.9 MB, free: 96 kB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.05162/0.0657, allocations: 33.01 MB / 395.9 MB, free: 14.95 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001757/0.06745, allocations: 31.75 kB / 395.9 MB, free: 14.92 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002352/0.06981, allocations: 0.6394 MB / 396.6 MB, free: 14.28 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008517/0.07832, allocations: 2.711 MB / 399.3 MB, free: 11.55 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01418/0.0925, allocations: 4.499 MB / 403.8 MB, free: 7.02 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.005527/0.09803, allocations: 3.108 MB / 406.9 MB, free: 3.898 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003115/0.1011, allocations: 1.422 MB / 408.3 MB, free: 2.434 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004084/0.1052, allocations: 2.055 MB / 410.4 MB, free: 384 kB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.1533/0.2585, allocations: 1.331 MB / 411.7 MB, free: 22.59 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001247/0.2597, allocations: 266.4 kB / 411.9 MB, free: 22.59 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01241/0.2721, allocations: 3.455 MB / 415.4 MB, free: 22.59 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001416/0.2736, allocations: 0.6232 MB / 416 MB, free: 22.59 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003023/0.2766, allocations: 0.9729 MB / 417 MB, free: 22.59 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01755/0.2941, allocations: 7.274 MB / 424.3 MB, free: 22.21 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.2941, allocations: 0 / 424.3 MB, free: 22.21 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.2941, allocations: 0 / 424.3 MB, free: 22.21 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.634e-05/0.2942, allocations: 3.562 kB / 424.3 MB, free: 22.21 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: 539 * Number of variables: 539 Notification: Performance of Generate backend data structure: time 0.006241/0.3004, allocations: 3.47 MB / 427.7 MB, free: 20.63 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.699e-05/0.3005, allocations: 10.31 kB / 427.8 MB, free: 20.63 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002785/0.3033, allocations: 0.9639 MB / 428.7 MB, free: 20.32 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001806/0.3051, allocations: 1.099 MB / 429.8 MB, free: 19.98 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.28e-05/0.3052, allocations: 161.8 kB / 430 MB, free: 19.98 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003178/0.3055, allocations: 225.5 kB / 430.2 MB, free: 19.97 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003595/0.3091, allocations: 2.586 MB / 432.8 MB, free: 19.74 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.647e-05/0.3091, allocations: 192 / 432.8 MB, free: 19.74 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002135/0.3093, allocations: 84.75 kB / 432.9 MB, free: 19.74 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.008e-05/0.3094, allocations: 60.62 kB / 432.9 MB, free: 19.73 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004535/0.3139, allocations: 3.249 MB / 436.2 MB, free: 19.34 MB / 330.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.01199/0.3259, allocations: 7.374 MB / 443.5 MB, free: 15.18 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004928/0.3308, allocations: 3.225 MB / 446.8 MB, free: 12.71 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001256/0.3321, allocations: 0.898 MB / 447.7 MB, free: 11.81 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01031/0.3424, allocations: 5.06 MB / 452.7 MB, free: 6.832 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.856e-05/0.3424, allocations: 54.7 kB / 452.8 MB, free: 6.766 MB / 330.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006593/0.3431, allocations: 178.1 kB / 453 MB, free: 6.594 MB / 330.7 MB Notification: Performance of pre-optimization done (n=138): time 4.098e-06/0.3431, allocations: 0.6562 kB / 453 MB, free: 6.594 MB / 330.7 MB Notification: Performance of matching and sorting (n=170): time 0.02718/0.3703, allocations: 6.232 MB / 459.2 MB, free: 372 kB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.991e-05/0.3703, allocations: 70.17 kB / 459.3 MB, free: 288 kB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002334/0.3726, allocations: 1.586 MB / 460.8 MB, free: 14.66 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002078/0.3728, allocations: 61.7 kB / 460.9 MB, free: 14.59 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001079/0.3739, allocations: 1.19 MB / 462.1 MB, free: 13.4 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007593/0.3747, allocations: 0.6466 MB / 462.7 MB, free: 12.76 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009651/0.3756, allocations: 0.5265 MB / 463.3 MB, free: 12.23 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002401/0.3759, allocations: 486.1 kB / 463.7 MB, free: 11.75 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001348/0.3772, allocations: 0.6538 MB / 464.4 MB, free: 11.09 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002588/0.3798, allocations: 1.831 MB / 466.2 MB, free: 8.777 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004377/0.3842, allocations: 2.724 MB / 469 MB, free: 5.664 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.349e-05/0.3842, allocations: 11.38 kB / 469 MB, free: 5.656 MB / 346.7 MB Notification: Performance of matching and sorting (n=317) (initialization): time 0.009473/0.3937, allocations: 2.986 MB / 472 MB, free: 2.816 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.323e-05/0.3937, allocations: 16 kB / 472 MB, free: 2.801 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.118e-05/0.3938, allocations: 28 kB / 472 MB, free: 2.773 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006764/0.4006, allocations: 0.76 MB / 472.8 MB, free: 2 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002419/0.403, allocations: 0.5879 MB / 473.3 MB, free: 1.449 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01455/0.4175, allocations: 9.62 MB / 483 MB, free: 7.406 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002098/0.4196, allocations: 84 kB / 483 MB, free: 7.324 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003539/0.42, allocations: 136 kB / 483.2 MB, free: 7.191 MB / 362.7 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.001032/0.421, allocations: 454.5 kB / 483.6 MB, free: 6.773 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008659/0.4219, allocations: 227 kB / 483.8 MB, free: 6.551 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009459/0.4313, allocations: 2.435 MB / 486.3 MB, free: 4.113 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.336e-05/0.4314, allocations: 20 kB / 486.3 MB, free: 4.094 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.444e-06/0.4314, allocations: 0 / 486.3 MB, free: 4.094 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.928e-05/0.4314, allocations: 11.91 kB / 486.3 MB, free: 4.082 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0035/0.4349, allocations: 1.657 MB / 488 MB, free: 2.395 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.08e-05/0.4349, allocations: 4.25 kB / 488 MB, free: 2.391 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001401/0.4363, allocations: 349.5 kB / 488.3 MB, free: 2.066 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006397/0.4427, allocations: 0.7207 MB / 489 MB, free: 1.328 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000308/0.443, allocations: 63.44 kB / 489.1 MB, free: 1.27 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01294/0.456, allocations: 9.414 MB / 498.5 MB, free: 7.414 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.623e-06/0.456, allocations: 7.375 kB / 498.5 MB, free: 7.41 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009665/0.4656, allocations: 3.185 MB / 0.4899 GB, free: 4.164 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000574/0.4662, allocations: 160.8 kB / 0.4901 GB, free: 4.008 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002951/0.4665, allocations: 36 kB / 0.4901 GB, free: 3.973 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009929/0.4675, allocations: 44 kB / 0.4902 GB, free: 3.93 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004004/0.4679, allocations: 157.2 kB / 0.4903 GB, free: 3.777 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001765/0.4681, allocations: 71.97 kB / 0.4904 GB, free: 3.707 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001401/0.4695, allocations: 0.9077 MB / 0.4913 GB, free: 2.797 MB / 378.7 MB Notification: Performance of sort global known variables: time 9e-08/0.4695, allocations: 0 / 0.4913 GB, free: 2.797 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.004668/0.4741, allocations: 1.371 MB / 0.4926 GB, free: 1.422 MB / 378.7 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.00377/0.4779, allocations: 1.605 MB / 0.4942 GB, free: 12 kB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.005522/0.4834, allocations: 2.649 MB / 0.4968 GB, free: 13.39 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.553e-06/0.4834, allocations: 0 / 0.4968 GB, free: 13.39 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002568/0.486, allocations: 1.597 MB / 0.4983 GB, free: 11.75 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002032/0.488, allocations: 408.8 kB / 0.4987 GB, free: 11.36 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007065/0.4951, allocations: 3.625 MB / 0.5023 GB, free: 7.676 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009851/0.4961, allocations: 0.7982 MB / 0.503 GB, free: 6.84 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.00171/0.4978, allocations: 434.6 kB / 0.5035 GB, free: 6.418 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007112/0.4985, allocations: 287.8 kB / 0.5037 GB, free: 6.137 MB / 394.7 MB Notification: Performance of SimCode: time 1.413e-06/0.4985, allocations: 0 / 0.5037 GB, free: 6.137 MB / 394.7 MB Notification: Performance of Templates: time 0.08533/0.5838, allocations: 47.45 MB / 0.5501 GB, free: 7.172 MB / 442.7 MB " [Timeout remaining time 659] make -j1 -f Chemical_Chemical.Obsolete.Examples.GasSolubility.makefile [Timeout 660] (rm -f Chemical_Chemical.Obsolete.Examples.GasSolubility.pipe ; mkfifo Chemical_Chemical.Obsolete.Examples.GasSolubility.pipe ; head -c 1048576 < Chemical_Chemical.Obsolete.Examples.GasSolubility.pipe >> ../files/Chemical_Chemical.Obsolete.Examples.GasSolubility.sim & ./Chemical_Chemical.Obsolete.Examples.GasSolubility -abortSlowSimulation -alarm=240 -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.GasSolubility.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.2724161830265075]