Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.ThreeWayValves.conf.json 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/IDEAS 3.0.0-master/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) Running command: "" <> buildModelFMU(IDEAS.Fluid.Actuators.Valves.Examples.ThreeWayValves,fileNamePrefix="IDEAS_IDEAS_Fluid_Actuators_Valves_Examples_ThreeWayValves",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Actuators.Valves.Examples.ThreeWayValves,fileNamePrefix="IDEAS_IDEAS_Fluid_Actuators_Valves_Examples_ThreeWayValves",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001735/0.001735, allocations: 174.5 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7618/0.7618, allocations: 133.4 MB / 146.7 MB, free: 10.79 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.421/1.421, allocations: 221.3 MB / 400.4 MB, free: 5.855 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008715/0.0008716, allocations: 104.8 kB / 483.3 MB, free: 5.887 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.151e-05/3.162e-05, allocations: 3.562 kB / 0.5601 GB, free: 87.84 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1584/0.1585, allocations: 82.3 MB / 0.6405 GB, free: 7.734 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.174/1.333, allocations: 393 MB / 1.024 GB, free: 198.5 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002488/1.333, allocations: 102.8 kB / 1.024 GB, free: 198.5 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 3.26/4.593, allocations: 0.9913 GB / 2.016 GB, free: 9.305 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.805e-06/4.593, allocations: 0 / 2.016 GB, free: 9.305 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0005024/4.594, allocations: 95.78 kB / 2.016 GB, free: 9.211 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 379 * Number of variables: 379 Notification: Performance of Generate backend data structure: time 0.007459/4.601, allocations: 2.557 MB / 2.018 GB, free: 6.598 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.951e-05/4.601, allocations: 8.031 kB / 2.018 GB, free: 6.59 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004722/4.602, allocations: 227.5 kB / 2.018 GB, free: 6.355 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001239/4.603, allocations: 332.1 kB / 2.019 GB, free: 6.027 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005209/4.608, allocations: 2.453 MB / 2.021 GB, free: 3.512 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.667e-05/4.608, allocations: 127 kB / 2.021 GB, free: 3.387 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002377/4.609, allocations: 183.8 kB / 2.021 GB, free: 3.207 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002451/4.611, allocations: 1.522 MB / 2.023 GB, free: 1.621 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.714e-05/4.611, allocations: 4 kB / 2.023 GB, free: 1.617 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001259/4.611, allocations: 64 kB / 2.023 GB, free: 1.555 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.49e-05/4.611, allocations: 36 kB / 2.023 GB, free: 1.52 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001616/4.613, allocations: 1.062 MB / 2.024 GB, free: 464 kB / 0.698 GB 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.01316/4.626, allocations: 7.993 MB / 2.032 GB, free: 7.953 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007449/4.627, allocations: 434 kB / 2.032 GB, free: 7.523 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000444/4.627, allocations: 311 kB / 2.033 GB, free: 7.215 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007877/4.628, allocations: 0.7563 MB / 2.033 GB, free: 6.293 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.201e-05/4.628, allocations: 43.12 kB / 2.033 GB, free: 6.242 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=60): time 3.747e-06/4.628, allocations: 4 kB / 2.033 GB, free: 6.238 MB / 0.7136 GB Notification: Performance of matching and sorting (n=60): time 0.001847/4.63, allocations: 0.7499 MB / 2.034 GB, free: 5.477 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.034e-05/4.63, allocations: 63.92 kB / 2.034 GB, free: 5.402 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003352/4.634, allocations: 2.053 MB / 2.036 GB, free: 3.328 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.000257/4.634, allocations: 45.7 kB / 2.036 GB, free: 3.277 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.001091/4.635, allocations: 1.162 MB / 2.037 GB, free: 2.098 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.000252/4.635, allocations: 216.9 kB / 2.038 GB, free: 1.883 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.387e-05/4.635, allocations: 24 kB / 2.038 GB, free: 1.859 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001658/4.635, allocations: 349.9 kB / 2.038 GB, free: 1.512 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005762/4.636, allocations: 314.5 kB / 2.038 GB, free: 1.207 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001017/4.637, allocations: 0.7804 MB / 2.039 GB, free: 232 kB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.5422/5.179, allocations: 447.2 kB / 2.039 GB, free: 67.25 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-05/5.179, allocations: 2.125 kB / 2.039 GB, free: 67.25 MB / 0.7136 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.003834/5.183, allocations: 1.209 MB / 2.041 GB, free: 67.21 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007091/5.184, allocations: 3.208 MB / 2.044 GB, free: 63.85 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.904e-05/5.184, allocations: 8.312 kB / 2.044 GB, free: 63.85 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.234e-05/5.184, allocations: 15.64 kB / 2.044 GB, free: 63.85 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001155/5.185, allocations: 258.8 kB / 2.044 GB, free: 63.85 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.406e-05/5.185, allocations: 17.28 kB / 2.044 GB, free: 63.85 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00273/5.188, allocations: 274.9 kB / 2.044 GB, free: 63.85 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001433/5.188, allocations: 54.33 kB / 2.044 GB, free: 63.85 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.525e-05/5.188, allocations: 4.406 kB / 2.044 GB, free: 63.85 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001765/5.19, allocations: 0.9544 MB / 2.045 GB, free: 63.83 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.279e-05/5.19, allocations: 8.031 kB / 2.045 GB, free: 63.83 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.73e-05/5.19, allocations: 14.34 kB / 2.045 GB, free: 63.83 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009721/5.191, allocations: 251.6 kB / 2.046 GB, free: 63.83 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.308e-05/5.191, allocations: 25.08 kB / 2.046 GB, free: 63.83 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002368/5.193, allocations: 240 kB / 2.046 GB, free: 63.82 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001295/5.193, allocations: 52.44 kB / 2.046 GB, free: 63.82 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (138): * Single equations (assignments): 138 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003574/5.194, allocations: 173 kB / 2.046 GB, free: 63.72 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004979/5.194, allocations: 242.5 kB / 2.046 GB, free: 63.59 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002041/5.196, allocations: 0.8863 MB / 2.047 GB, free: 63.51 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-05/5.196, allocations: 7.625 kB / 2.047 GB, free: 63.51 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/5.196, allocations: 0 / 2.047 GB, free: 63.51 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009713/5.197, allocations: 0.6837 MB / 2.048 GB, free: 63.34 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00495/5.202, allocations: 2.639 MB / 2.05 GB, free: 62.96 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.296e-06/5.202, allocations: 10.8 kB / 2.05 GB, free: 62.96 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006243/5.203, allocations: 147 kB / 2.051 GB, free: 62.96 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.025e-05/5.203, allocations: 3.531 kB / 2.051 GB, free: 62.96 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.144e-05/5.203, allocations: 17.25 kB / 2.051 GB, free: 62.96 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.759e-06/5.203, allocations: 7.938 kB / 2.051 GB, free: 62.96 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/5.203, allocations: 0.9375 kB / 2.051 GB, free: 62.96 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00203/5.205, allocations: 1.343 MB / 2.052 GB, free: 62.56 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001097/5.206, allocations: 470.6 kB / 2.052 GB, free: 62.34 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002612/5.207, allocations: 16.38 kB / 2.052 GB, free: 62.34 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001423/5.208, allocations: 157.6 kB / 2.052 GB, free: 62.34 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001378/5.208, allocations: 51.55 kB / 2.053 GB, free: 62.33 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.089e-05/5.208, allocations: 39.31 kB / 2.053 GB, free: 62.33 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.002833/5.211, allocations: 1.555 MB / 2.054 GB, free: 62.17 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.71e-07/5.211, allocations: 0 / 2.054 GB, free: 62.17 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.004454/5.215, allocations: 1.226 MB / 2.055 GB, free: 62.12 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (valLin.vol.dynBal.U,valEquPerLin.vol.dynBal.U,valTab.vol.dynBal.U) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (70): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004348/5.22, allocations: 3.207 MB / 2.058 GB, free: 60.95 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.002582/5.222, allocations: 1.383 MB / 2.06 GB, free: 60.91 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 5.36e-06/5.222, allocations: 1.188 kB / 2.06 GB, free: 60.91 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0004757/5.223, allocations: 319.4 kB / 2.06 GB, free: 60.91 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008562/5.232, allocations: 1.481 MB / 2.062 GB, free: 60.9 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009292/5.241, allocations: 3.395 MB / 2.065 GB, free: 60.04 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001721/5.243, allocations: 1.648 MB / 2.066 GB, free: 59.3 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.004303/5.247, allocations: 0.7138 MB / 2.067 GB, free: 59.28 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00124/5.248, allocations: 0.9124 MB / 2.068 GB, free: 59.27 MB / 0.7136 GB Notification: Performance of SimCode: time 1.262e-06/5.248, allocations: 2.844 kB / 2.068 GB, free: 59.27 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1319/5.38, allocations: 78.95 MB / 2.145 GB, free: 55.75 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001613/5.38, allocations: 188.6 kB / 2.145 GB, free: 55.52 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.585/9.965, allocations: 4.656 kB / 2.145 GB, free: 55.52 MB / 0.7136 GB (rm -f IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe ; mkfifo IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe >> ../files/IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.ThreeWayValves.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Actuators_Valves_Examples_ThreeWayValves_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Actuators_Valves_Examples_ThreeWayValves.fmu > IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe 2>&1)