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.01014/0.01014, allocations: 170.2 kB / 15.11 MB, free: 6.039 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9255/0.9255, allocations: 135.2 MB / 151 MB, free: 13.8 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.593/1.593, allocations: 223.2 MB / 406.8 MB, free: 3.23 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001046/0.001046, allocations: 101.7 kB / 489.9 MB, free: 10.89 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003657/0.0003657, allocations: 8 kB / 0.5692 GB, free: 14.05 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5272/0.5276, allocations: 82.31 MB / 0.6495 GB, free: 36.12 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9792/1.507, allocations: 393 MB / 1.033 GB, free: 13.38 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003475/1.507, allocations: 110.9 kB / 1.033 GB, free: 13.32 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 3.879/5.387, allocations: 0.9941 GB / 2.028 GB, free: 83.07 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.583e-06/5.387, allocations: 3.938 kB / 2.028 GB, free: 83.07 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.000394/5.387, allocations: 84.22 kB / 2.028 GB, free: 83.04 MB / 0.7136 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.007804/5.395, allocations: 3.068 MB / 2.031 GB, free: 80.83 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.305e-05/5.395, allocations: 10.98 kB / 2.031 GB, free: 80.83 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006348/5.396, allocations: 220.3 kB / 2.031 GB, free: 80.65 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001242/5.397, allocations: 326.9 kB / 2.031 GB, free: 80.49 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006146/5.403, allocations: 2.503 MB / 2.034 GB, free: 78.71 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001486/5.403, allocations: 124.7 kB / 2.034 GB, free: 78.66 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006022/5.404, allocations: 180.2 kB / 2.034 GB, free: 78.61 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003838/5.408, allocations: 1.551 MB / 2.035 GB, free: 77.63 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.849e-05/5.408, allocations: 3.938 kB / 2.035 GB, free: 77.63 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002627/5.408, allocations: 68.78 kB / 2.036 GB, free: 77.58 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.233e-05/5.408, allocations: 45.3 kB / 2.036 GB, free: 77.57 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002324/5.411, allocations: 1.114 MB / 2.037 GB, free: 77.01 MB / 0.7136 GB 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.01133/5.422, allocations: 7.99 MB / 2.044 GB, free: 70.25 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006799/5.423, allocations: 462.8 kB / 2.045 GB, free: 70.02 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000457/5.423, allocations: 0.7543 MB / 2.046 GB, free: 69.14 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.884e-05/5.423, allocations: 42.44 kB / 2.046 GB, free: 69.09 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=60): time 2.825e-06/5.423, allocations: 0 / 2.046 GB, free: 69.09 MB / 0.7136 GB Notification: Performance of matching and sorting (n=60): time 0.002068/5.425, allocations: 1.013 MB / 2.047 GB, free: 68.58 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.033e-05/5.425, allocations: 63.88 kB / 2.047 GB, free: 68.51 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003479/5.429, allocations: 2.088 MB / 2.049 GB, free: 66.54 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0002122/5.429, allocations: 49.7 kB / 2.049 GB, free: 66.49 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008949/5.43, allocations: 1.147 MB / 2.05 GB, free: 65.32 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001964/5.43, allocations: 209 kB / 2.05 GB, free: 65.11 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.499e-05/5.43, allocations: 24 kB / 2.05 GB, free: 65.09 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.153e-05/5.43, allocations: 349.9 kB / 2.05 GB, free: 64.74 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006136/5.431, allocations: 338.5 kB / 2.051 GB, free: 64.41 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008042/5.432, allocations: 0.8086 MB / 2.052 GB, free: 63.41 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007483/5.432, allocations: 473.4 kB / 2.052 GB, free: 62.95 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.676e-06/5.432, allocations: 4 kB / 2.052 GB, free: 62.95 MB / 0.7136 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.002254/5.435, allocations: 1.256 MB / 2.053 GB, free: 61.68 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005926/5.435, allocations: 3.215 MB / 2.056 GB, free: 58.2 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.719e-05/5.435, allocations: 8 kB / 2.056 GB, free: 58.2 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.593e-05/5.435, allocations: 16 kB / 2.056 GB, free: 58.18 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001025/5.436, allocations: 259.6 kB / 2.057 GB, free: 57.93 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.397e-05/5.436, allocations: 19.92 kB / 2.057 GB, free: 57.91 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002304/5.439, allocations: 282 kB / 2.057 GB, free: 57.63 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001152/5.439, allocations: 51.98 kB / 2.057 GB, free: 57.58 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.112e-05/5.439, allocations: 4 kB / 2.057 GB, free: 57.57 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001508/5.44, allocations: 1.004 MB / 2.058 GB, free: 56.57 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.523e-05/5.44, allocations: 11.98 kB / 2.058 GB, free: 56.55 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.38e-05/5.44, allocations: 16 kB / 2.058 GB, free: 56.54 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009345/5.441, allocations: 249.8 kB / 2.058 GB, free: 56.3 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.191e-05/5.441, allocations: 19.92 kB / 2.058 GB, free: 56.28 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002197/5.444, allocations: 246.6 kB / 2.059 GB, free: 56.04 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001064/5.444, allocations: 51.98 kB / 2.059 GB, free: 55.98 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 () * Number of clocked 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.001255/5.445, allocations: 0.5829 MB / 2.059 GB, free: 55.39 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006936/5.446, allocations: 244.1 kB / 2.059 GB, free: 55.15 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001886/5.448, allocations: 0.9265 MB / 2.06 GB, free: 54.21 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.402e-05/5.448, allocations: 8 kB / 2.06 GB, free: 54.2 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.643e-06/5.448, allocations: 2.156 kB / 2.06 GB, free: 54.2 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008979/5.449, allocations: 0.726 MB / 2.061 GB, free: 53.45 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005419/5.454, allocations: 2.686 MB / 2.064 GB, free: 50.69 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.763e-06/5.454, allocations: 0 / 2.064 GB, free: 50.69 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006055/5.455, allocations: 151.9 kB / 2.064 GB, free: 50.54 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.27e-05/5.455, allocations: 4 kB / 2.064 GB, free: 50.54 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.289e-05/5.455, allocations: 16 kB / 2.064 GB, free: 50.52 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.025e-06/5.455, allocations: 4 kB / 2.064 GB, free: 50.52 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/5.455, allocations: 3.938 kB / 2.064 GB, free: 50.51 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002022/5.457, allocations: 1.405 MB / 2.065 GB, free: 49.05 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001175/5.458, allocations: 469.7 kB / 2.066 GB, free: 48.57 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000547/5.459, allocations: 12 kB / 2.066 GB, free: 48.55 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001766/5.46, allocations: 163.6 kB / 2.066 GB, free: 48.39 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001003/5.46, allocations: 44.5 kB / 2.066 GB, free: 48.35 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.464e-05/5.461, allocations: 39.91 kB / 2.066 GB, free: 48.31 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.002541/5.463, allocations: 1.593 MB / 2.067 GB, free: 46.71 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.1e-07/5.463, allocations: 0 / 2.067 GB, free: 46.71 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.00383/5.467, allocations: 1.213 MB / 2.069 GB, free: 45.5 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 () * Number of clocked 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.004137/5.471, allocations: 3.304 MB / 2.072 GB, free: 42.43 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.002281/5.473, allocations: 1.358 MB / 2.073 GB, free: 41.08 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 4.759e-06/5.473, allocations: 4.125 kB / 2.073 GB, free: 41.08 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0004601/5.474, allocations: 347 kB / 2.073 GB, free: 40.73 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006508/5.48, allocations: 1.486 MB / 2.075 GB, free: 39.31 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008276/5.489, allocations: 10.88 MB / 2.086 GB, free: 28.12 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009603/5.49, allocations: 1.645 MB / 2.087 GB, free: 26.44 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.002185/5.492, allocations: 0.5037 MB / 2.088 GB, free: 25.96 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001184/5.493, allocations: 0.9601 MB / 2.089 GB, free: 25.01 MB / 0.7136 GB Notification: Performance of SimCode: time 6.81e-07/5.493, allocations: 0 / 2.089 GB, free: 25.01 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4649/5.958, allocations: 73.61 MB / 2.16 GB, free: 80.54 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000151/5.958, allocations: 219.2 kB / 2.161 GB, free: 80.3 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.724/10.68, allocations: 0 / 2.161 GB, free: 80.3 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)