Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable.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.TwoWayValveTable,fileNamePrefix="IDEAS_IDEAS_Fluid_Actuators_Valves_Examples_TwoWayValveTable",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable,fileNamePrefix="IDEAS_IDEAS_Fluid_Actuators_Valves_Examples_TwoWayValveTable",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.01078/0.01078, allocations: 174.5 kB / 15.12 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7801/0.7801, allocations: 135.2 MB / 151 MB, free: 13.85 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.581/1.581, allocations: 223.1 MB / 406.8 MB, free: 3.238 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.001156/0.001156, allocations: 95.67 kB / 489.9 MB, free: 10.91 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004131/0.0004128, allocations: 8 kB / 0.5692 GB, free: 14.06 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5276/0.5281, allocations: 82.31 MB / 0.6495 GB, free: 36.01 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8889/1.417, allocations: 363.9 MB / 1.005 GB, free: 9.016 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002655/1.417, allocations: 100.4 kB / 1.005 GB, free: 8.961 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.8079/2.225, allocations: 179.1 MB / 1.18 GB, free: 146.2 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.974e-06/2.225, allocations: 0 / 1.18 GB, free: 146.2 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 6.327e-05/2.225, allocations: 12 kB / 1.18 GB, free: 146.1 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001724/2.227, allocations: 0.8838 MB / 1.181 GB, free: 145.2 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.147e-05/2.227, allocations: 11.97 kB / 1.181 GB, free: 145.2 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.921e-05/2.227, allocations: 62.53 kB / 1.181 GB, free: 145.1 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001992/2.227, allocations: 63.3 kB / 1.181 GB, free: 145.1 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008566/2.228, allocations: 445.3 kB / 1.181 GB, free: 144.6 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.404e-05/2.228, allocations: 32.44 kB / 1.181 GB, free: 144.6 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.441e-05/2.228, allocations: 32 kB / 1.181 GB, free: 144.5 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004454/2.229, allocations: 286.2 kB / 1.182 GB, free: 144.2 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.164e-05/2.229, allocations: 0 / 1.182 GB, free: 144.2 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.391e-05/2.229, allocations: 12 kB / 1.182 GB, free: 144.2 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.504e-06/2.229, allocations: 4 kB / 1.182 GB, free: 144.2 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003764/2.229, allocations: 206 kB / 1.182 GB, free: 144 MB / 0.6823 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.001915/2.231, allocations: 1.504 MB / 1.183 GB, free: 142.4 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002911/2.232, allocations: 166.8 kB / 1.183 GB, free: 142.2 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001589/2.233, allocations: 1.296 MB / 1.185 GB, free: 140.7 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.966e-05/2.233, allocations: 34.52 kB / 1.185 GB, free: 140.7 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=15): time 1.844e-06/2.233, allocations: 0 / 1.185 GB, free: 140.7 MB / 0.6823 GB Notification: Performance of matching and sorting (n=15): time 0.0006296/2.234, allocations: 265.8 kB / 1.185 GB, free: 140.4 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.802e-05/2.234, allocations: 55.41 kB / 1.185 GB, free: 140.4 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005488/2.234, allocations: 0.5137 MB / 1.186 GB, free: 139.8 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.709e-05/2.234, allocations: 37.64 kB / 1.186 GB, free: 139.8 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.000154/2.235, allocations: 264.2 kB / 1.186 GB, free: 139.5 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 3.48e-05/2.235, allocations: 59.19 kB / 1.186 GB, free: 139.5 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.136e-05/2.235, allocations: 8 kB / 1.186 GB, free: 139.5 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 9.512e-05/2.235, allocations: 354.8 kB / 1.186 GB, free: 139.1 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000169/2.235, allocations: 76.5 kB / 1.186 GB, free: 139 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002446/2.235, allocations: 237.3 kB / 1.187 GB, free: 138.7 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001985/2.235, allocations: 103.9 kB / 1.187 GB, free: 138.6 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/2.235, allocations: 0 / 1.187 GB, free: 138.6 MB / 0.6823 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005733/2.236, allocations: 314.9 kB / 1.187 GB, free: 138.3 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002337/2.236, allocations: 0.9711 MB / 1.188 GB, free: 137.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.061e-05/2.236, allocations: 4 kB / 1.188 GB, free: 137.3 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.34e-05/2.236, allocations: 4 kB / 1.188 GB, free: 137.3 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002638/2.237, allocations: 63.89 kB / 1.188 GB, free: 137.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.355e-05/2.237, allocations: 15.94 kB / 1.188 GB, free: 137.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004025/2.237, allocations: 55.66 kB / 1.188 GB, free: 137.1 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.508e-05/2.237, allocations: 12 kB / 1.188 GB, free: 137.1 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.07e-05/2.237, allocations: 4 kB / 1.188 GB, free: 137.1 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004207/2.237, allocations: 243.7 kB / 1.188 GB, free: 136.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-06/2.237, allocations: 4 kB / 1.188 GB, free: 136.9 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.49e-06/2.238, allocations: 4.047 kB / 1.188 GB, free: 136.9 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000213/2.238, allocations: 76.14 kB / 1.188 GB, free: 136.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.009e-06/2.238, allocations: 4 kB / 1.188 GB, free: 136.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003458/2.238, allocations: 51.59 kB / 1.188 GB, free: 136.8 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.685e-05/2.238, allocations: 16 kB / 1.188 GB, free: 136.7 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (33): * Single equations (assignments): 33 * 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.0002293/2.238, allocations: 265 kB / 1.189 GB, free: 136.5 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.826e-05/2.238, allocations: 43.44 kB / 1.189 GB, free: 136.4 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005273/2.239, allocations: 271.2 kB / 1.189 GB, free: 136.2 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.018e-05/2.239, allocations: 11.98 kB / 1.189 GB, free: 136.1 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/2.239, allocations: 0 / 1.189 GB, free: 136.1 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.469e-06/2.239, allocations: 0 / 1.189 GB, free: 136.1 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001099/2.24, allocations: 0.7689 MB / 1.19 GB, free: 135.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.725e-06/2.24, allocations: 0 / 1.19 GB, free: 135.3 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001243/2.24, allocations: 27.98 kB / 1.19 GB, free: 135.3 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.623e-06/2.24, allocations: 4 kB / 1.19 GB, free: 135.3 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.757e-05/2.24, allocations: 4 kB / 1.19 GB, free: 135.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.338e-06/2.24, allocations: 3.938 kB / 1.19 GB, free: 135.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.527e-06/2.24, allocations: 7.984 kB / 1.19 GB, free: 135.3 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004727/2.241, allocations: 401.2 kB / 1.19 GB, free: 134.8 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002024/2.241, allocations: 156.4 kB / 1.19 GB, free: 134.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.421e-05/2.241, allocations: 8 kB / 1.19 GB, free: 134.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002377/2.241, allocations: 27.91 kB / 1.19 GB, free: 134.6 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.741e-05/2.241, allocations: 23.88 kB / 1.19 GB, free: 134.6 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.408e-05/2.241, allocations: 4 kB / 1.19 GB, free: 134.6 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.000419/2.242, allocations: 418.7 kB / 1.191 GB, free: 134.2 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.41e-07/2.242, allocations: 0 / 1.191 GB, free: 134.2 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0009431/2.243, allocations: 259.7 kB / 1.191 GB, free: 133.9 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 simulation (17): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.002158/2.245, allocations: 1.729 MB / 1.193 GB, free: 132.3 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0007118/2.246, allocations: 348.1 kB / 1.193 GB, free: 131.9 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.337e-06/2.246, allocations: 4 kB / 1.193 GB, free: 131.9 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001676/2.246, allocations: 87.89 kB / 1.193 GB, free: 131.9 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001153/2.247, allocations: 247.3 kB / 1.193 GB, free: 131.6 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002282/2.249, allocations: 2.977 MB / 1.196 GB, free: 128.5 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003001/2.25, allocations: 0.8584 MB / 1.197 GB, free: 127.6 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0004306/2.25, allocations: 108.7 kB / 1.197 GB, free: 127.5 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002055/2.25, allocations: 163.4 kB / 1.197 GB, free: 127.4 MB / 0.6823 GB Notification: Performance of SimCode: time 3.8e-07/2.25, allocations: 0 / 1.197 GB, free: 127.4 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03227/2.283, allocations: 16.02 MB / 1.213 GB, free: 111.6 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001474/2.283, allocations: 218.7 kB / 1.213 GB, free: 111.4 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.308/4.591, allocations: 0 / 1.213 GB, free: 111.4 MB / 0.6823 GB (rm -f IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; mkfifo IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe >> ../files/IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Actuators_Valves_Examples_TwoWayValveTable_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Actuators_Valves_Examples_TwoWayValveTable.fmu > IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe 2>&1)