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: "" <> buildModelFMU(Chemical.Examples.GasSolubility_NIST,fileNamePrefix="Chemical_Chemical_Examples_GasSolubility_NIST",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Examples.GasSolubility_NIST,fileNamePrefix="Chemical_Chemical_Examples_GasSolubility_NIST",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001028/0.001028, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001089/0.001089, allocations: 190.4 kB / 16.25 MB, free: 6.617 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.254/1.254, allocations: 222.9 MB / 239.9 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo): time 0.1804/0.1804, allocations: 15.32 MB / 305.4 MB, free: 15.3 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00123/0.00123, allocations: 59.91 kB / 369.9 MB, free: 4.254 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09162/0.09286, allocations: 53.61 MB / 423.5 MB, free: 14.59 MB / 366.1 MB Notification: Performance of NFInst.instantiate(Chemical.Examples.GasSolubility_NIST): time 0.1727/0.2656, allocations: 17.24 MB / 440.8 MB, free: 41.8 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0338/0.2994, allocations: 48.54 MB / 489.3 MB, free: 13.46 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002629/0.3021, allocations: 80.53 kB / 489.4 MB, free: 13.42 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002422/0.3045, allocations: 0.9905 MB / 490.4 MB, free: 12.9 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007949/0.3125, allocations: 3.08 MB / 493.5 MB, free: 11.1 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01656/0.3291, allocations: 6.2 MB / 499.7 MB, free: 7.52 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.006569/0.3357, allocations: 4.49 MB / 0.4923 GB, free: 5.309 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003338/0.3391, allocations: 2.294 MB / 0.4946 GB, free: 4.258 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003472/0.3426, allocations: 2.162 MB / 0.4967 GB, free: 3.465 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003816/0.3464, allocations: 2.345 MB / 0.499 GB, free: 2.484 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008645/0.3473, allocations: 382 kB / 0.4994 GB, free: 2.484 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01601/0.3633, allocations: 5.651 MB / 0.5049 GB, free: 1.008 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001424/0.3648, allocations: 0.8957 MB / 0.5058 GB, free: 448 kB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002503/0.3673, allocations: 1.972 MB / 0.5077 GB, free: 15.29 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.021/0.3883, allocations: 9.456 MB / 0.5169 GB, free: 6.152 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.733e-06/0.3884, allocations: 4 kB / 0.5169 GB, free: 6.148 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.953e-06/0.3884, allocations: 0 / 0.5169 GB, free: 6.148 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.352e-05/0.3885, allocations: 0 / 0.5169 GB, free: 6.148 MB / 382.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.009558/0.398, allocations: 4.669 MB / 0.5215 GB, free: 1.41 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.905e-05/0.3981, allocations: 8.031 kB / 0.5215 GB, free: 1.402 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005225/0.3986, allocations: 426.3 kB / 0.5219 GB, free: 0.9727 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004067/0.4027, allocations: 0.9194 MB / 0.5228 GB, free: 52 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002512/0.4052, allocations: 1.544 MB / 0.5243 GB, free: 14.45 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001573/0.4054, allocations: 234.6 kB / 0.5245 GB, free: 14.22 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004834/0.4059, allocations: 320.3 kB / 0.5248 GB, free: 13.91 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006342/0.4122, allocations: 4.46 MB / 0.5292 GB, free: 9.379 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.526e-05/0.4123, allocations: 3.984 kB / 0.5292 GB, free: 9.375 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002918/0.4126, allocations: 124 kB / 0.5293 GB, free: 9.254 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.757e-05/0.4127, allocations: 76 kB / 0.5294 GB, free: 9.18 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007965/0.4206, allocations: 6.368 MB / 0.5356 GB, free: 2.785 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.01967/0.4403, allocations: 12.63 MB / 0.5479 GB, free: 5.742 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006652/0.447, allocations: 4.619 MB / 0.5524 GB, free: 0.9531 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001871/0.4489, allocations: 1.312 MB / 0.5537 GB, free: 15.63 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01527/0.4642, allocations: 12.2 MB / 0.5656 GB, free: 2.066 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.301e-05/0.4643, allocations: 52.19 kB / 0.5657 GB, free: 2.004 MB / 430.1 MB Notification: Performance of pre-optimization done (n=182): time 3.316e-06/0.4643, allocations: 8 kB / 0.5657 GB, free: 1.996 MB / 430.1 MB Notification: Performance of matching and sorting (n=227): time 0.04311/0.5074, allocations: 9.781 MB / 0.5752 GB, free: 7.984 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.136e-05/0.5075, allocations: 128.8 kB / 0.5754 GB, free: 7.836 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003613/0.5111, allocations: 3.314 MB / 0.5786 GB, free: 4.496 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002601/0.5114, allocations: 61.7 kB / 0.5787 GB, free: 4.43 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009371/0.5123, allocations: 1.589 MB / 0.5802 GB, free: 2.82 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006272/0.513, allocations: 0.7973 MB / 0.581 GB, free: 2.012 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009066/0.5139, allocations: 0.6913 MB / 0.5817 GB, free: 1.312 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 8.425e-05/0.514, allocations: 309.1 kB / 0.582 GB, free: 1.008 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001938/0.5159, allocations: 1.377 MB / 0.5833 GB, free: 15.63 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002597/0.5185, allocations: 2.484 MB / 0.5857 GB, free: 12.66 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004069/0.5226, allocations: 3.58 MB / 0.5892 GB, free: 8.594 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.541e-05/0.5226, allocations: 12 kB / 0.5892 GB, free: 8.582 MB / 462.1 MB Notification: Performance of matching and sorting (n=458) (initialization): time 0.01281/0.5355, allocations: 4.975 MB / 0.5941 GB, free: 3.578 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.832e-05/0.5355, allocations: 20 kB / 0.5941 GB, free: 3.559 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-05/0.5356, allocations: 35.94 kB / 0.5941 GB, free: 3.523 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006015/0.5416, allocations: 0.7114 MB / 0.5948 GB, free: 2.793 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003415/0.545, allocations: 0.8347 MB / 0.5957 GB, free: 1.957 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2005/0.7455, allocations: 11.55 MB / 0.6069 GB, free: 83.46 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002983/0.7486, allocations: 187.2 kB / 0.6071 GB, free: 83.46 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002879/0.7489, allocations: 199.7 kB / 0.6073 GB, free: 83.46 MB / 462.1 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.0009127/0.7498, allocations: 0.5475 MB / 0.6078 GB, free: 83.34 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004823/0.7503, allocations: 259.2 kB / 0.6081 GB, free: 83.34 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01034/0.7606, allocations: 3.228 MB / 0.6112 GB, free: 83.21 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.802e-05/0.7607, allocations: 23.16 kB / 0.6113 GB, free: 83.21 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.077e-05/0.7607, allocations: 5.516 kB / 0.6113 GB, free: 83.21 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.448e-05/0.7607, allocations: 10.91 kB / 0.6113 GB, free: 83.21 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003145/0.7639, allocations: 2.605 MB / 0.6138 GB, free: 82.82 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.065e-05/0.7639, allocations: 3.562 kB / 0.6138 GB, free: 82.82 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0015/0.7654, allocations: 456.4 kB / 0.6143 GB, free: 82.82 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005826/0.7712, allocations: 0.666 MB / 0.6149 GB, free: 82.77 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002216/0.7715, allocations: 85.58 kB / 0.615 GB, free: 82.77 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01209/0.7836, allocations: 11.29 MB / 0.626 GB, free: 73.89 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.679e-06/0.7836, allocations: 6.406 kB / 0.626 GB, free: 73.89 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01057/0.7942, allocations: 4.15 MB / 0.6301 GB, free: 73.35 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006443/0.7948, allocations: 318.3 kB / 0.6304 GB, free: 73.22 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003633/0.7952, allocations: 51.19 kB / 0.6304 GB, free: 73.22 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00152/0.7967, allocations: 88.52 kB / 0.6305 GB, free: 73.21 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000426/0.7972, allocations: 191.2 kB / 0.6307 GB, free: 73.21 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000159/0.7973, allocations: 99.69 kB / 0.6308 GB, free: 73.21 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002483/0.7998, allocations: 2.34 MB / 0.6331 GB, free: 73.06 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.7998, allocations: 0 / 0.6331 GB, free: 73.06 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.005452/0.8053, allocations: 2.062 MB / 0.6351 GB, free: 73.02 MB / 462.1 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.01443/0.8197, allocations: 6.866 MB / 0.6418 GB, free: 70.7 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.006669/0.8264, allocations: 3.87 MB / 0.6456 GB, free: 69.02 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.331e-06/0.8265, allocations: 0 / 0.6456 GB, free: 69.02 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002536/0.829, allocations: 1.886 MB / 0.6474 GB, free: 67.94 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002497/0.8315, allocations: 0.507 MB / 0.6479 GB, free: 67.71 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04409/0.8756, allocations: 30.09 MB / 0.6773 GB, free: 47.68 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001001/0.8767, allocations: 1.715 MB / 0.679 GB, free: 46.29 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.002669/0.8794, allocations: 0.6133 MB / 0.6796 GB, free: 45.75 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00137/0.8807, allocations: 1.43 MB / 0.681 GB, free: 44.47 MB / 462.1 MB Notification: Performance of SimCode: time 8.02e-07/0.8807, allocations: 0 / 0.681 GB, free: 44.47 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1299/1.011, allocations: 91.16 MB / 0.77 GB, free: 3.562 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001834/1.011, allocations: 211.7 kB / 0.7702 GB, free: 3.305 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.641/5.652, allocations: 0 / 0.7702 GB, free: 3.305 MB / 0.4981 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Chemical_Chemical_Examples_GasSolubility_NIST_fmu --startTime=0 --stopTime=1e-05 --timeout=50 --tolerance=1e-06 Chemical_Chemical_Examples_GasSolubility_NIST.fmu > Chemical_Chemical.Examples.GasSolubility_NIST.pipe 2>&1)