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.001528/0.001528, allocations: 107.6 kB / 16.41 MB, free: 6.387 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.00168/0.00168, allocations: 187.3 kB / 17.34 MB, free: 5.84 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.3/1.3, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo): time 0.07499/0.07499, allocations: 15.31 MB / 306.5 MB, free: 15.41 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001195/0.001195, allocations: 67.91 kB / 425.9 MB, free: 11.46 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08539/0.0866, allocations: 53.6 MB / 479.5 MB, free: 5.805 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Chemical.Examples.GasSolubility): time 0.009928/0.09656, allocations: 10.31 MB / 489.8 MB, free: 11.46 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.2223/0.3189, allocations: 32.87 MB / 0.5104 GB, free: 3.293 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00119/0.3202, allocations: 24.09 kB / 0.5104 GB, free: 3.293 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001577/0.3217, allocations: 0.6998 MB / 0.5111 GB, free: 3.289 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005609/0.3274, allocations: 2.637 MB / 0.5137 GB, free: 3.23 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009214/0.3366, allocations: 4.312 MB / 0.5179 GB, free: 2.34 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00333/0.34, allocations: 3.019 MB / 0.5208 GB, free: 1.738 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001869/0.3418, allocations: 1.656 MB / 0.5225 GB, free: 1.523 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00149/0.3433, allocations: 1.46 MB / 0.5239 GB, free: 1.438 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00171/0.3451, allocations: 1.609 MB / 0.5255 GB, free: 1.18 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004003/0.3455, allocations: 262.6 kB / 0.5257 GB, free: 1.18 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01038/0.3559, allocations: 3.612 MB / 0.5292 GB, free: 300 kB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006774/0.3566, allocations: 0.629 MB / 0.5298 GB, free: 0 / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001312/0.3579, allocations: 1.328 MB / 0.5311 GB, free: 15.24 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01158/0.3695, allocations: 6.642 MB / 0.5376 GB, free: 12.33 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.3695, allocations: 4 kB / 0.5376 GB, free: 12.32 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.3695, allocations: 2.938 kB / 0.5376 GB, free: 12.32 MB / 398.1 MB Notification: Performance of Transformations before backend: time 3.353e-05/0.3695, allocations: 0 / 0.5376 GB, free: 12.32 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.005365/0.3749, allocations: 3.323 MB / 0.5409 GB, free: 10.05 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.59e-05/0.375, allocations: 7.188 kB / 0.5409 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002286/0.3772, allocations: 0.5815 MB / 0.5415 GB, free: 9.777 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001646/0.3789, allocations: 1.137 MB / 0.5426 GB, free: 8.914 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.824e-05/0.379, allocations: 156.6 kB / 0.5427 GB, free: 8.84 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003184/0.3793, allocations: 220.8 kB / 0.5429 GB, free: 8.762 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003975/0.3833, allocations: 2.794 MB / 0.5457 GB, free: 6.562 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.043e-05/0.3834, allocations: 3.938 kB / 0.5457 GB, free: 6.559 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001942/0.3836, allocations: 80 kB / 0.5457 GB, free: 6.48 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.553e-05/0.3836, allocations: 52 kB / 0.5458 GB, free: 6.43 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005518/0.3891, allocations: 3.784 MB / 0.5495 GB, free: 2.629 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.0128/0.402, allocations: 8.34 MB / 0.5576 GB, free: 10.09 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005852/0.4078, allocations: 3.948 MB / 0.5615 GB, free: 6.016 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001515/0.4094, allocations: 1.022 MB / 0.5625 GB, free: 4.992 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01248/0.4218, allocations: 9.237 MB / 0.5715 GB, free: 10.76 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.15e-05/0.4219, allocations: 49.16 kB / 0.5715 GB, free: 10.7 MB / 430.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005898/0.4225, allocations: 170.7 kB / 0.5717 GB, free: 10.54 MB / 430.1 MB Notification: Performance of pre-optimization done (n=138): time 3.937e-06/0.4225, allocations: 0 / 0.5717 GB, free: 10.54 MB / 430.1 MB Notification: Performance of matching and sorting (n=170): time 0.03031/0.4528, allocations: 6.432 MB / 0.578 GB, free: 4.031 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.721e-05/0.4529, allocations: 69.41 kB / 0.578 GB, free: 3.949 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001983/0.4549, allocations: 1.668 MB / 0.5797 GB, free: 2.27 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 9.931e-05/0.455, allocations: 53.7 kB / 0.5797 GB, free: 2.211 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006773/0.4557, allocations: 1.07 MB / 0.5808 GB, free: 1.141 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004583/0.4561, allocations: 0.6287 MB / 0.5814 GB, free: 0.5195 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006439/0.4568, allocations: 480.8 kB / 0.5818 GB, free: 44 kB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001092/0.4569, allocations: 305.1 kB / 0.5821 GB, free: 15.74 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001327/0.4582, allocations: 0.7897 MB / 0.5829 GB, free: 14.95 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001933/0.4602, allocations: 1.599 MB / 0.5845 GB, free: 12.99 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003268/0.4635, allocations: 2.409 MB / 0.5868 GB, free: 10.23 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.669e-05/0.4635, allocations: 8 kB / 0.5868 GB, free: 10.22 MB / 446.1 MB Notification: Performance of matching and sorting (n=317) (initialization): time 0.008684/0.4722, allocations: 3.14 MB / 0.5899 GB, free: 7.059 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.821e-05/0.4722, allocations: 16 kB / 0.5899 GB, free: 7.043 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.627e-05/0.4723, allocations: 28 kB / 0.5899 GB, free: 7.016 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004141/0.4764, allocations: 483.1 kB / 0.5904 GB, free: 6.531 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001927/0.4783, allocations: 0.5928 MB / 0.591 GB, free: 5.938 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01093/0.4893, allocations: 7.703 MB / 0.5985 GB, free: 13.69 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001534/0.4908, allocations: 84.19 kB / 0.5986 GB, free: 13.61 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002482/0.4911, allocations: 140 kB / 0.5987 GB, free: 13.47 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.0007046/0.4918, allocations: 424.9 kB / 0.5991 GB, free: 13.04 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000314/0.4921, allocations: 178.8 kB / 0.5993 GB, free: 12.87 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007907/0.5, allocations: 2.401 MB / 0.6016 GB, free: 10.45 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.997e-05/0.5001, allocations: 7.969 kB / 0.6016 GB, free: 10.44 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.087e-06/0.5001, allocations: 3.938 kB / 0.6016 GB, free: 10.44 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003221/0.5004, allocations: 243.8 kB / 0.6019 GB, free: 10.18 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002474/0.5007, allocations: 32 kB / 0.6019 GB, free: 10.15 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009138/0.5016, allocations: 43.98 kB / 0.602 GB, free: 10.11 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003011/0.5019, allocations: 141.7 kB / 0.6021 GB, free: 9.965 MB / 462.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005684/0.5076, allocations: 1.942 MB / 0.604 GB, free: 8.039 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00389/0.5115, allocations: 2.517 MB / 0.6064 GB, free: 5.508 MB / 462.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001054/0.5126, allocations: 0.6911 MB / 0.6071 GB, free: 4.82 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.00136/0.5139, allocations: 1.129 MB / 0.6082 GB, free: 3.691 MB / 462.1 MB Notification: Performance of Backend: time 4.41e-07/0.5139, allocations: 0 / 0.6082 GB, free: 3.691 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.007729/0.5217, allocations: 3.876 MB / 0.612 GB, free: 15.99 MB / 478.1 MB Notification: Performance of SimCode: time 0.005201/0.5269, allocations: 3.914 MB / 0.6158 GB, free: 12.04 MB / 478.1 MB Notification: Performance of Templates: time 0.07433/0.6012, allocations: 53.01 MB / 0.6676 GB, free: 7.164 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)