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/Chemical 1.4.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Chemical with version 1.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0-master/package.mo) Running command: "" <> buildModelFMU(Chemical.Examples.GasSolubility,fileNamePrefix="Chemical_Chemical_Examples_GasSolubility",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Examples.GasSolubility,fileNamePrefix="Chemical_Chemical_Examples_GasSolubility",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0-master/package.mo): time 0.1442/0.1442, allocations: 15.26 MB / 27.82 MB, free: 5.395 MB / 24.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001461/0.001461, allocations: 192.4 kB / 32.7 MB, free: 0.5156 MB / 24.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.386/1.386, allocations: 221.4 MB / 258.8 MB, free: 92 kB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008841/0.0008841, allocations: 99.53 kB / 314 MB, free: 15.78 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.639e-05/2.643e-05, allocations: 0 / 376.6 MB, free: 1.371 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.304/0.304, allocations: 54.62 MB / 431.2 MB, free: 50.08 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1321/0.4361, allocations: 103.1 MB / 0.5218 GB, free: 12.12 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001932/0.4364, allocations: 67.97 kB / 0.5219 GB, free: 12.05 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4939/0.9303, allocations: 91.51 MB / 0.6112 GB, free: 91.63 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.9303, allocations: 0 / 0.6112 GB, free: 91.63 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.000131/0.9305, allocations: 42.25 kB / 0.6113 GB, free: 91.63 MB / 442.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.006946/0.9374, allocations: 2.508 MB / 0.6137 GB, free: 90.33 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.493e-05/0.9375, allocations: 11.22 kB / 0.6137 GB, free: 90.33 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008029/0.9383, allocations: 295.2 kB / 0.614 GB, free: 90.28 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002921/0.9412, allocations: 0.6433 MB / 0.6146 GB, free: 90.14 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002857/0.9441, allocations: 1.262 MB / 0.6159 GB, free: 89.73 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001381/0.9442, allocations: 161.9 kB / 0.616 GB, free: 89.71 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006309/0.9449, allocations: 218.1 kB / 0.6162 GB, free: 89.71 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00606/0.951, allocations: 3.863 MB / 0.62 GB, free: 89.5 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.98e-05/0.951, allocations: 0 / 0.62 GB, free: 89.5 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002683/0.9513, allocations: 92.94 kB / 0.6201 GB, free: 89.5 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.731e-05/0.9513, allocations: 51.53 kB / 0.6201 GB, free: 89.5 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00659/0.9579, allocations: 5.715 MB / 0.6257 GB, free: 88.25 MB / 442.7 MB Warning: The model contains alias variables with conflicting start and/or 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.01587/0.9738, allocations: 10.82 MB / 0.6363 GB, free: 82.68 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005373/0.9792, allocations: 4.932 MB / 0.6411 GB, free: 80.24 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001902/0.9812, allocations: 1.707 MB / 0.6428 GB, free: 79.52 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007373/0.9819, allocations: 0.5749 MB / 0.6433 GB, free: 79.36 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.065e-05/0.982, allocations: 59.77 kB / 0.6434 GB, free: 79.3 MB / 442.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001075/0.9831, allocations: 188 kB / 0.6436 GB, free: 79.18 MB / 442.7 MB Notification: Performance of pre-optimization done (n=233): time 1.175e-05/0.9831, allocations: 0 / 0.6436 GB, free: 79.18 MB / 442.7 MB Notification: Performance of matching and sorting (n=325): time 0.05153/1.035, allocations: 15.38 MB / 0.6586 GB, free: 70.61 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.01214/1.047, allocations: 5.612 MB / 0.6641 GB, free: 65.24 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001926/1.049, allocations: 1.481 MB / 0.6655 GB, free: 63.86 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005982/1.049, allocations: 81.7 kB / 0.6656 GB, free: 63.78 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004325/1.05, allocations: 0.771 MB / 0.6664 GB, free: 63.08 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001189/1.051, allocations: 1.084 MB / 0.6674 GB, free: 62.1 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004093/1.051, allocations: 62.81 kB / 0.6675 GB, free: 62.04 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001804/1.052, allocations: 422.4 kB / 0.6679 GB, free: 61.66 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003048/1.055, allocations: 2.203 MB / 0.67 GB, free: 59.64 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003121/1.058, allocations: 2.592 MB / 0.6726 GB, free: 57.15 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0033/1.061, allocations: 2.403 MB / 0.6749 GB, free: 55.02 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.08e-05/1.061, allocations: 4 kB / 0.6749 GB, free: 55.01 MB / 442.7 MB Notification: Performance of matching and sorting (n=402) (initialization): time 0.01241/1.074, allocations: 6.048 MB / 0.6808 GB, free: 49.14 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.295e-05/1.074, allocations: 8 kB / 0.6808 GB, free: 49.14 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.565e-05/1.074, allocations: 8 kB / 0.6808 GB, free: 49.13 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005139/1.079, allocations: 0.809 MB / 0.6816 GB, free: 48.3 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003092/1.082, allocations: 0.667 MB / 0.6823 GB, free: 47.63 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01054/1.093, allocations: 8.566 MB / 0.6906 GB, free: 38.51 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003828/1.096, allocations: 319.4 kB / 0.6909 GB, free: 38.2 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007334/1.097, allocations: 163.7 kB / 0.6911 GB, free: 38.04 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 36 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (362): * Single equations (assignments): 352 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 4 {1 8,1 3,1 6,1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0009347/1.098, allocations: 258.9 kB / 0.6913 GB, free: 37.78 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006354/1.099, allocations: 197.6 kB / 0.6915 GB, free: 37.59 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01686/1.116, allocations: 6.458 MB / 0.6978 GB, free: 31.08 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01543/1.131, allocations: 5.782 MB / 0.7035 GB, free: 25.25 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.645e-05/1.131, allocations: 3.984 kB / 0.7035 GB, free: 25.24 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.736e-05/1.131, allocations: 15.94 kB / 0.7035 GB, free: 25.23 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02515/1.156, allocations: 16.41 MB / 0.7195 GB, free: 8.523 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.688e-05/1.156, allocations: 16 kB / 0.7195 GB, free: 8.508 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002058/1.159, allocations: 0.5616 MB / 0.7201 GB, free: 7.945 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009664/1.168, allocations: 1.703 MB / 0.7218 GB, free: 6.23 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000812/1.169, allocations: 107.9 kB / 0.7219 GB, free: 6.125 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01859/1.188, allocations: 12.08 MB / 0.7337 GB, free: 9.465 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.01201/1.2, allocations: 4.869 MB / 0.7384 GB, free: 4.309 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02122/1.221, allocations: 9.892 MB / 0.7481 GB, free: 9.652 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001107/1.222, allocations: 330.4 kB / 0.7484 GB, free: 9.309 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008312/1.223, allocations: 83.98 kB / 0.7485 GB, free: 9.227 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002718/1.226, allocations: 211.6 kB / 0.7487 GB, free: 9.02 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007801/1.227, allocations: 313.6 kB / 0.749 GB, free: 8.711 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004053/1.227, allocations: 127.9 kB / 0.7491 GB, free: 8.586 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.001722/1.229, allocations: 1.158 MB / 0.7502 GB, free: 7.418 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.51e-07/1.229, allocations: 0 / 0.7502 GB, free: 7.418 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.007267/1.236, allocations: 1.917 MB / 0.7521 GB, free: 5.5 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 75 * Number of states: 9 ($STATESET2.x[5],$STATESET2.x[4],$STATESET2.x[3],$STATESET2.x[2],$STATESET2.x[1],$STATESET1.x[4],$STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (317): * Single equations (assignments): 311 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 4 {1 8,6 9,1 6,5 8} Notification: Performance of Backend phase and start with SimCode phase: time 0.3007/1.537, allocations: 17.04 MB / 0.7687 GB, free: 109.5 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.008905/1.546, allocations: 5.352 MB / 0.774 GB, free: 109 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.365e-05/1.546, allocations: 2.125 kB / 0.774 GB, free: 109 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005765/1.551, allocations: 3.204 MB / 0.7771 GB, free: 108.5 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002474/1.554, allocations: 412.4 kB / 0.7775 GB, free: 108.5 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01283/1.567, allocations: 5.791 MB / 0.7831 GB, free: 106.6 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001905/1.569, allocations: 1.628 MB / 0.7847 GB, free: 105.9 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.00252/1.571, allocations: 442.7 kB / 0.7852 GB, free: 105.8 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001786/1.573, allocations: 1.005 MB / 0.7861 GB, free: 105.8 MB / 474.7 MB Notification: Performance of SimCode: time 1.122e-06/1.573, allocations: 3.562 kB / 0.7861 GB, free: 105.8 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1113/1.685, allocations: 83.68 MB / 0.8679 GB, free: 56.46 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001334/1.685, allocations: 168.2 kB / 0.868 GB, free: 56.23 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.886/6.57, allocations: 0 / 0.868 GB, free: 56.23 MB / 474.7 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Chemical_Chemical_Examples_GasSolubility_fmu --startTime=0 --stopTime=1e-05 --timeout=50 --tolerance=1e-06 Chemical_Chemical_Examples_GasSolubility.fmu > Chemical_Chemical.Examples.GasSolubility.pipe 2>&1)