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/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_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/Chemical 1.4.0-master/package.mo): time 0.1238/0.1238, 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.001011/0.001011, allocations: 180.5 kB / 32.7 MB, free: 0.5195 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.31/1.31, allocations: 221.4 MB / 258.8 MB, free: 16 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009324/0.0009322, allocations: 105 kB / 314 MB, free: 15.77 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.836e-05/2.837e-05, allocations: 7.938 kB / 376.6 MB, free: 1.348 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2849/0.285, allocations: 54.6 MB / 431.2 MB, free: 50.09 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1189/0.4039, allocations: 103.7 MB / 0.5223 GB, free: 11.57 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001771/0.4042, allocations: 64.47 kB / 0.5224 GB, free: 11.5 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5795/0.9837, allocations: 138 MB / 0.6572 GB, free: 76.16 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.303e-06/0.9837, allocations: 0 / 0.6572 GB, free: 76.16 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001221/0.9838, allocations: 64 kB / 0.6572 GB, free: 76.09 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: 791 * Number of variables: 791 Notification: Performance of Generate backend data structure: time 0.008096/0.992, allocations: 3.618 MB / 0.6608 GB, free: 72.42 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.382e-05/0.992, allocations: 8.031 kB / 0.6608 GB, free: 72.41 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005504/0.9926, allocations: 418.2 kB / 0.6612 GB, free: 71.99 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003624/0.9962, allocations: 1.028 MB / 0.6622 GB, free: 70.96 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003046/0.9993, allocations: 1.753 MB / 0.6639 GB, free: 69.15 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001125/0.9994, allocations: 234.2 kB / 0.6641 GB, free: 68.92 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000443/0.9998, allocations: 311.9 kB / 0.6644 GB, free: 68.61 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006885/1.007, allocations: 5.839 MB / 0.6701 GB, free: 62.7 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.123e-05/1.007, allocations: 0 / 0.6701 GB, free: 62.7 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002667/1.007, allocations: 124 kB / 0.6702 GB, free: 62.58 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.847e-05/1.007, allocations: 76 kB / 0.6703 GB, free: 62.51 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008795/1.016, allocations: 8.837 MB / 0.6789 GB, free: 53.64 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.02061/1.037, allocations: 15.86 MB / 0.6944 GB, free: 37.36 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006203/1.043, allocations: 6.016 MB / 0.7003 GB, free: 31.18 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002198/1.045, allocations: 2.211 MB / 0.7024 GB, free: 28.96 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001369/1.046, allocations: 0.7431 MB / 0.7032 GB, free: 28.21 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.597e-05/1.046, allocations: 69.56 kB / 0.7032 GB, free: 28.14 MB / 442.7 MB Notification: Performance of pre-optimization done (n=305): time 6.001e-06/1.046, allocations: 3.938 kB / 0.7032 GB, free: 28.13 MB / 442.7 MB Notification: Performance of matching and sorting (n=428): time 0.06747/1.114, allocations: 21.04 MB / 0.7238 GB, free: 6.883 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.01753/1.132, allocations: 8.28 MB / 0.7319 GB, free: 14.13 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004328/1.136, allocations: 3.002 MB / 0.7348 GB, free: 11.08 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008714/1.137, allocations: 93.7 kB / 0.7349 GB, free: 10.98 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009797/1.138, allocations: 1.233 MB / 0.7361 GB, free: 9.734 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00161/1.139, allocations: 1.436 MB / 0.7375 GB, free: 8.277 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002869/1.14, allocations: 88 kB / 0.7376 GB, free: 8.191 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0002571/1.14, allocations: 479.7 kB / 0.738 GB, free: 7.715 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004534/1.144, allocations: 3.187 MB / 0.7412 GB, free: 4.52 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004979/1.149, allocations: 3.756 MB / 0.7448 GB, free: 0.5742 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005057/1.155, allocations: 3.503 MB / 0.7482 GB, free: 13.07 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.375e-05/1.155, allocations: 4 kB / 0.7482 GB, free: 13.06 MB / 474.7 MB Notification: Performance of matching and sorting (n=569) (initialization): time 0.01929/1.174, allocations: 8.771 MB / 0.7568 GB, free: 4.25 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.953e-05/1.174, allocations: 8 kB / 0.7568 GB, free: 4.242 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.716e-05/1.174, allocations: 16 kB / 0.7568 GB, free: 4.227 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007711/1.182, allocations: 1.151 MB / 0.758 GB, free: 3.047 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004645/1.186, allocations: 0.9517 MB / 0.7589 GB, free: 2.094 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3207/1.507, allocations: 12.69 MB / 0.7713 GB, free: 88.54 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005423/1.513, allocations: 400 kB / 0.7717 GB, free: 88.54 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007911/1.513, allocations: 225 kB / 0.7719 GB, free: 88.54 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 57 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (515): * Single equations (assignments): 500 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 6 {1 6,1 3,1 6,1 3,1 6,1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0007281/1.514, allocations: 336.2 kB / 0.7722 GB, free: 88.43 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006802/1.515, allocations: 286.5 kB / 0.7725 GB, free: 88.43 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02466/1.539, allocations: 8.409 MB / 0.7807 GB, free: 88.2 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.02354/1.563, allocations: 7.506 MB / 0.788 GB, free: 87.98 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.627e-05/1.563, allocations: 2.844 kB / 0.788 GB, free: 87.98 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001936/1.563, allocations: 22.55 kB / 0.788 GB, free: 87.98 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03799/1.601, allocations: 20.85 MB / 0.8084 GB, free: 84.58 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.863e-05/1.601, allocations: 22.56 kB / 0.8084 GB, free: 84.58 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003013/1.604, allocations: 0.7306 MB / 0.8091 GB, free: 84.55 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01344/1.618, allocations: 2.25 MB / 0.8113 GB, free: 84.21 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007702/1.619, allocations: 145 kB / 0.8115 GB, free: 84.15 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02204/1.641, allocations: 17.06 MB / 0.8281 GB, free: 72.19 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0157/1.657, allocations: 7.143 MB / 0.8351 GB, free: 66.91 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02252/1.679, allocations: 13.31 MB / 0.8481 GB, free: 59.22 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001278/1.68, allocations: 468.8 kB / 0.8486 GB, free: 58.91 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005202/1.681, allocations: 114.5 kB / 0.8487 GB, free: 58.86 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002659/1.684, allocations: 266.2 kB / 0.8489 GB, free: 58.79 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006527/1.684, allocations: 397.9 kB / 0.8493 GB, free: 58.71 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002527/1.684, allocations: 164 kB / 0.8495 GB, free: 58.61 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0022/1.687, allocations: 2.359 MB / 0.8518 GB, free: 56.4 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.41e-07/1.687, allocations: 0 / 0.8518 GB, free: 56.4 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.007763/1.694, allocations: 2.761 MB / 0.8545 GB, free: 54.11 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 93 * Number of states: 12 ($STATESET3.x[4],$STATESET3.x[3],$STATESET3.x[2],$STATESET3.x[1],$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 (407): * Single equations (assignments): 398 * 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: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 6 {1 6,5 8,1 6,5 8,1 6,5 8} Notification: Performance of Backend phase and start with SimCode phase: time 0.02839/1.723, allocations: 22.13 MB / 0.8761 GB, free: 33.54 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.009569/1.733, allocations: 7.405 MB / 0.8833 GB, free: 26.62 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.785e-05/1.733, allocations: 4 kB / 0.8833 GB, free: 26.62 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005731/1.738, allocations: 4.224 MB / 0.8874 GB, free: 22.73 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003117/1.741, allocations: 0.5596 MB / 0.888 GB, free: 22.28 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01343/1.755, allocations: 8.037 MB / 0.8958 GB, free: 14.71 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001512/1.756, allocations: 2.039 MB / 0.8978 GB, free: 13.11 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.002803/1.759, allocations: 0.612 MB / 0.8984 GB, free: 12.62 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001959/1.761, allocations: 1.505 MB / 0.8999 GB, free: 11.28 MB / 474.7 MB Notification: Performance of SimCode: time 1.273e-06/1.761, allocations: 0 / 0.8999 GB, free: 11.28 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.442/2.203, allocations: 118.7 MB / 1.016 GB, free: 108.2 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001187/2.203, allocations: 160.6 kB / 1.016 GB, free: 108 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.58/8.784, allocations: 0 / 1.016 GB, free: 108 MB / 0.4948 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/linux/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)