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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo", uses=false) 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=5000,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.GasSolubility") translateModel(Chemical.Examples.GasSolubility,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.GasSolubility") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001128/0.001128, allocations: 114.3 kB / 16.42 MB, free: 6.473 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001122/0.001122, allocations: 183.9 kB / 17.35 MB, free: 5.711 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.313/1.313, allocations: 222.9 MB / 241.1 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo): time 0.07671/0.07671, allocations: 15.31 MB / 306.5 MB, free: 15.4 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001208/0.001208, allocations: 63.89 kB / 425.9 MB, free: 11.45 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08725/0.08848, allocations: 53.61 MB / 479.5 MB, free: 5.781 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Chemical.Examples.GasSolubility): time 0.01027/0.09879, allocations: 10.3 MB / 489.8 MB, free: 11.44 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.2319/0.3307, allocations: 32.88 MB / 0.5104 GB, free: 3.262 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00121/0.332, allocations: 25.53 kB / 0.5104 GB, free: 3.262 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001628/0.3336, allocations: 0.6896 MB / 0.5111 GB, free: 3.258 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00606/0.3397, allocations: 2.619 MB / 0.5137 GB, free: 3.207 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009668/0.3494, allocations: 4.281 MB / 0.5178 GB, free: 2.32 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.004014/0.3535, allocations: 3.014 MB / 0.5208 GB, free: 1.719 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002095/0.3556, allocations: 1.662 MB / 0.5224 GB, free: 1.508 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001784/0.3574, allocations: 1.455 MB / 0.5238 GB, free: 1.422 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00209/0.3595, allocations: 1.609 MB / 0.5254 GB, free: 1.164 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005032/0.36, allocations: 262.8 kB / 0.5256 GB, free: 1.164 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01059/0.3706, allocations: 3.611 MB / 0.5292 GB, free: 324 kB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000862/0.3715, allocations: 0.6226 MB / 0.5298 GB, free: 0 / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001655/0.3731, allocations: 1.325 MB / 0.5311 GB, free: 15.24 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01398/0.3871, allocations: 6.629 MB / 0.5376 GB, free: 12.34 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.107e-06/0.3872, allocations: 0 / 0.5376 GB, free: 12.34 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.3872, allocations: 0 / 0.5376 GB, free: 12.34 MB / 398.1 MB Notification: Performance of Transformations before backend: time 3.084e-05/0.3872, allocations: 4 kB / 0.5376 GB, free: 12.34 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: 539 * Number of variables: 539 Notification: Performance of Generate backend data structure: time 0.005333/0.3925, allocations: 3.23 MB / 0.5407 GB, free: 10.17 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.366e-05/0.3926, allocations: 5.812 kB / 0.5407 GB, free: 10.17 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002375/0.395, allocations: 0.5694 MB / 0.5413 GB, free: 9.906 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001776/0.3968, allocations: 1.127 MB / 0.5424 GB, free: 9.047 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.819e-05/0.3969, allocations: 161 kB / 0.5425 GB, free: 8.973 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003638/0.3972, allocations: 218.4 kB / 0.5427 GB, free: 8.895 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004092/0.4013, allocations: 2.794 MB / 0.5455 GB, free: 6.707 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.412e-05/0.4014, allocations: 3.938 kB / 0.5455 GB, free: 6.703 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002177/0.4016, allocations: 80 kB / 0.5455 GB, free: 6.625 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.735e-05/0.4017, allocations: 52 kB / 0.5456 GB, free: 6.574 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005389/0.4071, allocations: 3.784 MB / 0.5493 GB, free: 2.773 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.01341/0.4205, allocations: 8.314 MB / 0.5574 GB, free: 10.26 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005896/0.4264, allocations: 3.95 MB / 0.5613 GB, free: 6.18 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0015/0.4279, allocations: 1.018 MB / 0.5623 GB, free: 5.16 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01354/0.4415, allocations: 9.227 MB / 0.5713 GB, free: 10.94 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.957e-05/0.4415, allocations: 51.86 kB / 0.5713 GB, free: 10.88 MB / 430.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000678/0.4422, allocations: 162.1 kB / 0.5715 GB, free: 10.71 MB / 430.1 MB Notification: Performance of pre-optimization done (n=138): time 5.19e-06/0.4422, allocations: 4 kB / 0.5715 GB, free: 10.71 MB / 430.1 MB Notification: Performance of matching and sorting (n=170): time 0.0287/0.471, allocations: 6.402 MB / 0.5777 GB, free: 4.234 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.151e-05/0.471, allocations: 69.41 kB / 0.5778 GB, free: 4.152 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002139/0.4732, allocations: 1.663 MB / 0.5794 GB, free: 2.477 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001417/0.4733, allocations: 53.7 kB / 0.5795 GB, free: 2.418 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006981/0.474, allocations: 1.037 MB / 0.5805 GB, free: 1.375 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005006/0.4745, allocations: 0.5937 MB / 0.5811 GB, free: 0.7852 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006587/0.4752, allocations: 488.5 kB / 0.5815 GB, free: 308 kB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.18e-05/0.4753, allocations: 301.1 kB / 0.5818 GB, free: 4 kB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001374/0.4767, allocations: 0.7936 MB / 0.5826 GB, free: 15.21 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002004/0.4787, allocations: 1.591 MB / 0.5841 GB, free: 13.25 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003371/0.4821, allocations: 2.413 MB / 0.5865 GB, free: 10.49 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.696e-05/0.4821, allocations: 8 kB / 0.5865 GB, free: 10.48 MB / 446.1 MB Notification: Performance of matching and sorting (n=317) (initialization): time 0.008508/0.4906, allocations: 3.131 MB / 0.5896 GB, free: 7.328 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.441e-05/0.4907, allocations: 16 kB / 0.5896 GB, free: 7.312 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.725e-05/0.4908, allocations: 28 kB / 0.5896 GB, free: 7.285 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003867/0.4946, allocations: 486.4 kB / 0.5901 GB, free: 6.801 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00215/0.4968, allocations: 0.5928 MB / 0.5907 GB, free: 6.207 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01124/0.5081, allocations: 7.702 MB / 0.5982 GB, free: 13.96 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002037/0.5101, allocations: 84 kB / 0.5983 GB, free: 13.88 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003957/0.5105, allocations: 140 kB / 0.5984 GB, free: 13.74 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.001026/0.5116, allocations: 412.9 kB / 0.5988 GB, free: 13.32 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005173/0.5121, allocations: 173.8 kB / 0.5989 GB, free: 13.15 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00785/0.52, allocations: 2.402 MB / 0.6013 GB, free: 10.73 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.199e-05/0.52, allocations: 7.969 kB / 0.6013 GB, free: 10.72 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.051e-06/0.52, allocations: 7.938 kB / 0.6013 GB, free: 10.71 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004313/0.5205, allocations: 226.9 kB / 0.6015 GB, free: 10.47 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003118/0.5208, allocations: 32 kB / 0.6016 GB, free: 10.44 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001006/0.5218, allocations: 39.98 kB / 0.6016 GB, free: 10.4 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002923/0.5221, allocations: 145.7 kB / 0.6017 GB, free: 10.25 MB / 462.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00565/0.5278, allocations: 1.94 MB / 0.6036 GB, free: 8.332 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003982/0.5318, allocations: 2.504 MB / 0.6061 GB, free: 5.812 MB / 462.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001049/0.5328, allocations: 0.6911 MB / 0.6067 GB, free: 5.125 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001484/0.5343, allocations: 1.137 MB / 0.6079 GB, free: 3.988 MB / 462.1 MB Notification: Performance of Backend: time 7.61e-07/0.5343, allocations: 0 / 0.6079 GB, free: 3.988 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.008625/0.543, allocations: 3.852 MB / 0.6116 GB, free: 328 kB / 462.1 MB Notification: Performance of SimCode: time 0.00552/0.5485, allocations: 3.832 MB / 0.6154 GB, free: 12.45 MB / 478.1 MB Notification: Performance of Templates: time 0.07416/0.6227, allocations: 53.02 MB / 0.6671 GB, free: 7.574 MB / 0.5137 GB make -j1 -f Chemical_Chemical.Examples.GasSolubility.makefile (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)