Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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_dev_IDEAS_Fluid_Actuators_Valves_Examples_ThreeWayValves",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Actuators.Valves.Examples.ThreeWayValves,fileNamePrefix="IDEAS_dev_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.01193/0.01193, allocations: 171.8 kB / 15.11 MB, free: 5.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.8152/0.8152, 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.692/1.692, allocations: 223.1 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.0009479/0.0009478, allocations: 101.6 kB / 489.9 MB, free: 10.91 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004472/0.0004475, allocations: 8 kB / 0.5692 GB, free: 14.07 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5246/0.525, allocations: 82.3 MB / 0.6495 GB, free: 36.14 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9462/1.471, allocations: 393.1 MB / 1.033 GB, free: 13.32 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004706/1.472, allocations: 107.4 kB / 1.033 GB, free: 13.26 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 3.58/5.052, allocations: 0.9941 GB / 2.028 GB, free: 67.42 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.675e-06/5.052, allocations: 3.938 kB / 2.028 GB, free: 67.41 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.000311/5.053, allocations: 84.88 kB / 2.028 GB, free: 67.38 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.007295/5.06, allocations: 3.065 MB / 2.031 GB, free: 65.16 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.559e-05/5.06, allocations: 18.73 kB / 2.031 GB, free: 65.16 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005646/5.061, allocations: 212.6 kB / 2.031 GB, free: 64.98 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001151/5.062, allocations: 330.7 kB / 2.031 GB, free: 64.82 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005762/5.067, allocations: 2.497 MB / 2.034 GB, free: 62.34 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001209/5.068, allocations: 127 kB / 2.034 GB, free: 62.21 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005158/5.068, allocations: 178.7 kB / 2.034 GB, free: 62.04 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003234/5.071, allocations: 1.553 MB / 2.035 GB, free: 60.43 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.776e-05/5.071, allocations: 3.938 kB / 2.035 GB, free: 60.43 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001943/5.072, allocations: 68 kB / 2.036 GB, free: 60.36 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.598e-05/5.072, allocations: 47.92 kB / 2.036 GB, free: 60.31 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001981/5.074, allocations: 1.112 MB / 2.037 GB, free: 59.2 MB / 0.698 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.01182/5.086, allocations: 7.988 MB / 2.044 GB, free: 50.72 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007392/5.086, allocations: 462.5 kB / 2.045 GB, free: 50.26 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000501/5.087, allocations: 0.7524 MB / 2.046 GB, free: 49.34 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.96e-05/5.087, allocations: 43.12 kB / 2.046 GB, free: 49.29 MB / 0.698 GB Notification: Performance of pre-optimization done (n=60): time 2.525e-06/5.087, allocations: 0 / 2.046 GB, free: 49.29 MB / 0.698 GB Notification: Performance of matching and sorting (n=60): time 0.002225/5.089, allocations: 1.011 MB / 2.047 GB, free: 48.28 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.023e-05/5.089, allocations: 63.97 kB / 2.047 GB, free: 48.2 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003816/5.093, allocations: 2.085 MB / 2.049 GB, free: 46.1 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002648/5.093, allocations: 49.7 kB / 2.049 GB, free: 46.05 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001071/5.094, allocations: 1.155 MB / 2.05 GB, free: 44.87 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002119/5.095, allocations: 208.9 kB / 2.05 GB, free: 44.66 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.707e-05/5.095, allocations: 24 kB / 2.05 GB, free: 44.64 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.437e-05/5.095, allocations: 349.9 kB / 2.05 GB, free: 44.29 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006432/5.095, allocations: 342.5 kB / 2.051 GB, free: 43.96 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000925/5.096, allocations: 0.8125 MB / 2.052 GB, free: 42.95 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007836/5.097, allocations: 465.4 kB / 2.052 GB, free: 42.5 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.227e-06/5.097, allocations: 4 kB / 2.052 GB, free: 42.5 MB / 0.698 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.002617/5.1, allocations: 1.256 MB / 2.053 GB, free: 41.23 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007054/5.101, allocations: 3.219 MB / 2.056 GB, free: 37.75 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.08e-05/5.101, allocations: 8 kB / 2.056 GB, free: 37.74 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.542e-05/5.101, allocations: 19.94 kB / 2.056 GB, free: 37.72 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001033/5.102, allocations: 259.6 kB / 2.057 GB, free: 37.46 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.729e-05/5.102, allocations: 21.52 kB / 2.057 GB, free: 37.45 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00289/5.105, allocations: 274 kB / 2.057 GB, free: 37.18 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001596/5.105, allocations: 51.98 kB / 2.057 GB, free: 37.12 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.557e-05/5.105, allocations: 4 kB / 2.057 GB, free: 37.12 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001798/5.107, allocations: 1.011 MB / 2.058 GB, free: 36.11 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.888e-05/5.107, allocations: 8 kB / 2.058 GB, free: 36.11 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.743e-05/5.107, allocations: 16 kB / 2.058 GB, free: 36.09 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009371/5.108, allocations: 247.6 kB / 2.058 GB, free: 35.85 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.06e-05/5.108, allocations: 23.92 kB / 2.058 GB, free: 35.82 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002401/5.11, allocations: 246.5 kB / 2.059 GB, free: 35.58 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001305/5.11, allocations: 51.98 kB / 2.059 GB, free: 35.53 MB / 0.698 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.001429/5.112, allocations: 0.5752 MB / 2.059 GB, free: 34.95 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000751/5.112, allocations: 245 kB / 2.059 GB, free: 34.7 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002121/5.114, allocations: 0.9291 MB / 2.06 GB, free: 33.76 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.376e-05/5.115, allocations: 8 kB / 2.06 GB, free: 33.75 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/5.115, allocations: 0 / 2.06 GB, free: 33.75 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009149/5.115, allocations: 0.7221 MB / 2.061 GB, free: 33 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006389/5.122, allocations: 2.686 MB / 2.064 GB, free: 30.24 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.684e-06/5.122, allocations: 0 / 2.064 GB, free: 30.24 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006124/5.123, allocations: 151.9 kB / 2.064 GB, free: 30.09 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.333e-05/5.123, allocations: 7.938 kB / 2.064 GB, free: 30.08 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.278e-05/5.123, allocations: 12 kB / 2.064 GB, free: 30.07 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.761e-06/5.123, allocations: 4 kB / 2.064 GB, free: 30.07 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/5.123, allocations: 7.984 kB / 2.064 GB, free: 30.06 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002204/5.125, allocations: 1.405 MB / 2.065 GB, free: 28.59 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001553/5.126, allocations: 465.7 kB / 2.066 GB, free: 28.12 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007726/5.127, allocations: 12 kB / 2.066 GB, free: 28.11 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001972/5.129, allocations: 167.6 kB / 2.066 GB, free: 27.94 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001052/5.129, allocations: 44.44 kB / 2.066 GB, free: 27.9 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.578e-05/5.129, allocations: 39.97 kB / 2.066 GB, free: 27.86 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.00312/5.133, allocations: 1.585 MB / 2.067 GB, free: 26.27 MB / 0.698 GB Notification: Performance of sort global known variables: time 7.62e-07/5.133, allocations: 5.5 kB / 2.067 GB, free: 26.27 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.005195/5.138, allocations: 1.213 MB / 2.069 GB, free: 25.05 MB / 0.698 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.005187/5.143, allocations: 3.307 MB / 2.072 GB, free: 21.96 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002576/5.146, allocations: 1.363 MB / 2.073 GB, free: 20.61 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 6.512e-06/5.146, allocations: 0 / 2.073 GB, free: 20.61 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0005176/5.146, allocations: 343 kB / 2.073 GB, free: 20.27 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008114/5.154, allocations: 1.497 MB / 2.075 GB, free: 18.83 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01313/5.168, allocations: 10.88 MB / 2.086 GB, free: 7.625 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001744/5.169, allocations: 1.649 MB / 2.087 GB, free: 5.945 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.003454/5.173, allocations: 0.4927 MB / 2.088 GB, free: 5.473 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001669/5.174, allocations: 0.9601 MB / 2.089 GB, free: 4.512 MB / 0.698 GB Notification: Performance of SimCode: time 2.715e-06/5.175, allocations: 0 / 2.089 GB, free: 4.512 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5063/5.681, allocations: 73.62 MB / 2.161 GB, free: 84.04 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000169/5.681, allocations: 216.2 kB / 2.161 GB, free: 83.8 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.596/10.28, allocations: 2.531 kB / 2.161 GB, free: 83.8 MB / 0.7136 GB (rm -f IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.ThreeWayValves.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Actuators_Valves_Examples_ThreeWayValves_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Actuators_Valves_Examples_ThreeWayValves.fmu > IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe 2>&1)