Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_Chemical.Examples.GasSolubility_NIST.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_NIST,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.GasSolubility_NIST") translateModel(Chemical.Examples.GasSolubility_NIST,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.GasSolubility_NIST") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005847/0.005852, allocations: 106.7 kB / 15.74 MB, free: 5.996 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.001192/0.001192, allocations: 197 kB / 16.67 MB, free: 5.918 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.463/1.463, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo): time 0.1111/0.1111, allocations: 15.31 MB / 305.8 MB, free: 15.39 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001205/0.001205, allocations: 67.89 kB / 425.2 MB, free: 11.43 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1421/0.1433, allocations: 53.61 MB / 478.8 MB, free: 5.762 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Chemical.Examples.GasSolubility_NIST): time 0.02112/0.1645, allocations: 14.75 MB / 493.5 MB, free: 6.965 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.3922/0.5567, allocations: 49.08 MB / 0.5299 GB, free: 2.691 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003291/0.5601, allocations: 39 kB / 0.5299 GB, free: 2.676 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003831/0.5639, allocations: 1.097 MB / 0.531 GB, free: 2.254 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01215/0.5761, allocations: 3.421 MB / 0.5343 GB, free: 364 kB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02489/0.601, allocations: 6.922 MB / 0.5411 GB, free: 12.64 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.008421/0.6095, allocations: 4.502 MB / 0.5455 GB, free: 10.01 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003669/0.6132, allocations: 2.301 MB / 0.5478 GB, free: 8.465 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003823/0.6171, allocations: 2.065 MB / 0.5498 GB, free: 7.477 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00546/0.6225, allocations: 2.3 MB / 0.552 GB, free: 6.074 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00138/0.624, allocations: 385.4 kB / 0.5524 GB, free: 6.074 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02748/0.6514, allocations: 5.514 MB / 0.5578 GB, free: 2.289 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00221/0.6537, allocations: 0.884 MB / 0.5586 GB, free: 1.402 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004574/0.6583, allocations: 1.956 MB / 0.5605 GB, free: 15.43 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03385/0.6922, allocations: 9.946 MB / 0.5703 GB, free: 5.457 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.111e-05/0.6923, allocations: 0 / 0.5703 GB, free: 5.457 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.966e-06/0.6923, allocations: 3.938 kB / 0.5703 GB, free: 5.453 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0001389/0.6924, allocations: 0 / 0.5703 GB, free: 5.453 MB / 414.1 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.01286/0.7053, allocations: 4.66 MB / 0.5748 GB, free: 0.7266 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.989e-05/0.7053, allocations: 16.03 kB / 0.5748 GB, free: 0.7109 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004346/0.7097, allocations: 0.9152 MB / 0.5757 GB, free: 15.79 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003761/0.7135, allocations: 1.591 MB / 0.5773 GB, free: 14.15 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002142/0.7137, allocations: 238.6 kB / 0.5775 GB, free: 13.91 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005695/0.7143, allocations: 320.2 kB / 0.5778 GB, free: 13.6 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008224/0.7225, allocations: 4.457 MB / 0.5822 GB, free: 9.074 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.028e-05/0.7226, allocations: 7.875 kB / 0.5822 GB, free: 9.066 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002851/0.7229, allocations: 128 kB / 0.5823 GB, free: 8.941 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.658e-05/0.723, allocations: 72 kB / 0.5824 GB, free: 8.871 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01082/0.7338, allocations: 6.368 MB / 0.5886 GB, free: 2.477 MB / 430.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.02438/0.7583, allocations: 12.6 MB / 0.6009 GB, free: 5.469 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007749/0.766, allocations: 4.615 MB / 0.6054 GB, free: 0.6719 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001961/0.768, allocations: 1.308 MB / 0.6067 GB, free: 15.36 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01789/0.7859, allocations: 12.16 MB / 0.6185 GB, free: 1.824 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.916e-05/0.786, allocations: 60.17 kB / 0.6186 GB, free: 1.758 MB / 462.1 MB Notification: Performance of pre-optimization done (n=182): time 3.888e-06/0.786, allocations: 0 / 0.6186 GB, free: 1.758 MB / 462.1 MB Notification: Performance of matching and sorting (n=227): time 0.04378/0.8298, allocations: 9.783 MB / 0.6281 GB, free: 7.746 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.196e-05/0.8299, allocations: 128.8 kB / 0.6283 GB, free: 7.594 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004346/0.8343, allocations: 3.322 MB / 0.6315 GB, free: 4.246 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004518/0.8348, allocations: 65.7 kB / 0.6316 GB, free: 4.176 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001193/0.836, allocations: 1.589 MB / 0.6331 GB, free: 2.566 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008634/0.8368, allocations: 0.7896 MB / 0.6339 GB, free: 1.766 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001086/0.8379, allocations: 0.6875 MB / 0.6346 GB, free: 1.07 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001321/0.8381, allocations: 305.1 kB / 0.6349 GB, free: 0.7695 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002061/0.8401, allocations: 1.381 MB / 0.6362 GB, free: 15.39 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003097/0.8432, allocations: 2.492 MB / 0.6386 GB, free: 12.41 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004877/0.8481, allocations: 3.584 MB / 0.6421 GB, free: 8.336 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.185e-05/0.8482, allocations: 12 kB / 0.6421 GB, free: 8.324 MB / 494.1 MB Notification: Performance of matching and sorting (n=458) (initialization): time 0.01295/0.8611, allocations: 4.971 MB / 0.647 GB, free: 3.328 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.106e-05/0.8612, allocations: 20 kB / 0.647 GB, free: 3.309 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.216e-05/0.8613, allocations: 36 kB / 0.6471 GB, free: 3.273 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005622/0.8669, allocations: 0.7153 MB / 0.6478 GB, free: 2.539 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003465/0.8704, allocations: 0.8347 MB / 0.6486 GB, free: 1.703 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01731/0.8878, allocations: 11.54 MB / 0.6598 GB, free: 5.336 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004254/0.8921, allocations: 116 kB / 0.66 GB, free: 5.223 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006924/0.8928, allocations: 195.9 kB / 0.6601 GB, free: 5.031 MB / 0.4981 GB 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.001451/0.8942, allocations: 0.556 MB / 0.6607 GB, free: 4.465 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009447/0.8952, allocations: 256.7 kB / 0.6609 GB, free: 4.211 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01059/0.9058, allocations: 3.217 MB / 0.6641 GB, free: 0.9648 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.209e-05/0.9059, allocations: 24 kB / 0.6641 GB, free: 0.9414 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.776e-05/0.9059, allocations: 4 kB / 0.6641 GB, free: 0.9375 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.881e-05/0.906, allocations: 11.95 kB / 0.6641 GB, free: 0.9258 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005086/0.911, allocations: 2.61 MB / 0.6667 GB, free: 14.22 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.348e-05/0.9111, allocations: 8 kB / 0.6667 GB, free: 14.21 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001684/0.9128, allocations: 443.4 kB / 0.6671 GB, free: 13.78 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005424/0.9182, allocations: 0.6723 MB / 0.6677 GB, free: 13.09 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003949/0.9186, allocations: 83.97 kB / 0.6678 GB, free: 13.01 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01519/0.9338, allocations: 11.28 MB / 0.6788 GB, free: 0.8945 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.448e-06/0.9339, allocations: 4 kB / 0.6788 GB, free: 0.8906 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01245/0.9464, allocations: 4.163 MB / 0.6829 GB, free: 12.64 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001087/0.9475, allocations: 313.8 kB / 0.6832 GB, free: 12.31 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004358/0.9479, allocations: 55.94 kB / 0.6833 GB, free: 12.25 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001463/0.9494, allocations: 55.98 kB / 0.6833 GB, free: 12.2 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005561/0.95, allocations: 193.6 kB / 0.6835 GB, free: 12.01 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002059/0.9502, allocations: 91.97 kB / 0.6836 GB, free: 11.92 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.003057/0.9533, allocations: 2.342 MB / 0.6859 GB, free: 9.566 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.91e-07/0.9533, allocations: 0 / 0.6859 GB, free: 9.566 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.007956/0.9612, allocations: 2.081 MB / 0.6879 GB, free: 7.484 MB / 0.5294 GB 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.005846/0.9671, allocations: 2.255 MB / 0.6901 GB, free: 5.223 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.007106/0.9742, allocations: 3.771 MB / 0.6938 GB, free: 1.383 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 7.614e-06/0.9743, allocations: 0 / 0.6938 GB, free: 1.383 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.003091/0.9774, allocations: 1.886 MB / 0.6956 GB, free: 15.43 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003003/0.9804, allocations: 0.5017 MB / 0.6961 GB, free: 14.93 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009956/0.9904, allocations: 5.123 MB / 0.7011 GB, free: 9.727 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001402/0.9918, allocations: 1.717 MB / 0.7028 GB, free: 7.984 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.002448/0.9943, allocations: 0.6014 MB / 0.7034 GB, free: 7.379 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008913/0.9952, allocations: 402.2 kB / 0.7038 GB, free: 6.984 MB / 0.545 GB Notification: Performance of SimCode: time 9.52e-07/0.9952, allocations: 3.938 kB / 0.7038 GB, free: 6.98 MB / 0.545 GB Notification: Performance of Templates: time 0.3714/1.367, allocations: 70.28 MB / 0.7724 GB, free: 145.9 MB / 0.545 GB make -j1 -f Chemical_Chemical.Examples.GasSolubility_NIST.makefile (rm -f Chemical_Chemical.Examples.GasSolubility_NIST.pipe ; mkfifo Chemical_Chemical.Examples.GasSolubility_NIST.pipe ; head -c 1048576 < Chemical_Chemical.Examples.GasSolubility_NIST.pipe >> ../files/Chemical_Chemical.Examples.GasSolubility_NIST.sim & ./Chemical_Chemical.Examples.GasSolubility_NIST -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_Chemical.Examples.GasSolubility_NIST.pipe 2>&1)