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.001068/0.001068, allocations: 174.6 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.707/0.707, allocations: 133.4 MB / 146.7 MB, free: 10.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.441/1.441, allocations: 221.3 MB / 400.4 MB, free: 5.809 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.0009654/0.0009653, allocations: 87.22 kB / 483.3 MB, free: 5.828 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 4.442e-05/4.486e-05, allocations: 3.25 kB / 0.5601 GB, free: 87.81 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1506/0.1507, allocations: 82.31 MB / 0.6405 GB, free: 7.727 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.09/1.24, allocations: 363.8 MB / 0.9958 GB, free: 257.7 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002301/1.241, allocations: 93.05 kB / 0.9959 GB, free: 257.6 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.3362/1.577, allocations: 178.5 MB / 1.17 GB, free: 77.86 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.553e-06/1.577, allocations: 4 kB / 1.17 GB, free: 77.86 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 6.286e-05/1.577, allocations: 12 kB / 1.17 GB, free: 77.84 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.00138/1.578, allocations: 0.7825 MB / 1.171 GB, free: 77.02 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.306e-05/1.578, allocations: 8.031 kB / 1.171 GB, free: 77.01 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.322e-05/1.579, allocations: 62.53 kB / 1.171 GB, free: 76.94 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002284/1.579, allocations: 63.3 kB / 1.171 GB, free: 76.88 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009098/1.58, allocations: 453.3 kB / 1.172 GB, free: 76.39 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.483e-05/1.58, allocations: 20.56 kB / 1.172 GB, free: 76.37 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.082e-05/1.58, allocations: 36 kB / 1.172 GB, free: 76.34 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004021/1.58, allocations: 258.3 kB / 1.172 GB, free: 76.06 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.353e-05/1.58, allocations: 3.938 kB / 1.172 GB, free: 76.05 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.329e-05/1.58, allocations: 12 kB / 1.172 GB, free: 76.04 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.655e-06/1.58, allocations: 4 kB / 1.172 GB, free: 76.04 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002556/1.581, allocations: 166.1 kB / 1.172 GB, free: 75.88 MB / 0.6823 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.001859/1.582, allocations: 1.507 MB / 1.174 GB, free: 74.26 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002234/1.583, allocations: 146.8 kB / 1.174 GB, free: 74.11 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.339e-05/1.583, allocations: 68.84 kB / 1.174 GB, free: 74.04 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001391/1.584, allocations: 1.311 MB / 1.175 GB, free: 72.54 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.071e-05/1.584, allocations: 38.56 kB / 1.175 GB, free: 72.49 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=15): time 2.475e-06/1.584, allocations: 4 kB / 1.175 GB, free: 72.48 MB / 0.6823 GB Notification: Performance of matching and sorting (n=15): time 0.0003574/1.585, allocations: 169.7 kB / 1.175 GB, free: 72.31 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.77e-05/1.585, allocations: 55.41 kB / 1.175 GB, free: 72.25 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005396/1.585, allocations: 0.5085 MB / 1.176 GB, free: 71.73 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.491e-05/1.585, allocations: 33.7 kB / 1.176 GB, free: 71.69 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001406/1.585, allocations: 267.8 kB / 1.176 GB, free: 71.42 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 3.48e-05/1.585, allocations: 59.28 kB / 1.176 GB, free: 71.36 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.074e-05/1.585, allocations: 4 kB / 1.176 GB, free: 71.36 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 8.533e-05/1.585, allocations: 362.8 kB / 1.176 GB, free: 71 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.63e-05/1.586, allocations: 52.56 kB / 1.177 GB, free: 70.94 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000193/1.586, allocations: 213.3 kB / 1.177 GB, free: 70.68 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001486/1.586, allocations: 91.8 kB / 1.177 GB, free: 70.59 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.377e-06/1.586, allocations: 0 / 1.177 GB, free: 70.59 MB / 0.6823 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004177/1.586, allocations: 287.3 kB / 1.177 GB, free: 70.3 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002298/1.587, allocations: 0.9562 MB / 1.178 GB, free: 69.27 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.023e-05/1.587, allocations: 4 kB / 1.178 GB, free: 69.27 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.421e-05/1.587, allocations: 4 kB / 1.178 GB, free: 69.26 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002584/1.587, allocations: 71.83 kB / 1.178 GB, free: 69.19 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.28e-05/1.587, allocations: 4 kB / 1.178 GB, free: 69.19 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003963/1.587, allocations: 59.56 kB / 1.178 GB, free: 69.13 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.024e-05/1.587, allocations: 20 kB / 1.178 GB, free: 69.11 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.042e-05/1.587, allocations: 4 kB / 1.178 GB, free: 69.11 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003139/1.588, allocations: 199.6 kB / 1.178 GB, free: 68.91 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/1.588, allocations: 4 kB / 1.178 GB, free: 68.91 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.161e-06/1.588, allocations: 4.25 kB / 1.178 GB, free: 68.9 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002138/1.588, allocations: 71.89 kB / 1.178 GB, free: 68.83 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.8e-06/1.588, allocations: 7.938 kB / 1.178 GB, free: 68.82 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003441/1.588, allocations: 43.81 kB / 1.179 GB, free: 68.78 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.16e-05/1.588, allocations: 12 kB / 1.179 GB, free: 68.77 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 () * 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.00011/1.589, allocations: 132.8 kB / 1.179 GB, free: 68.63 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.357e-05/1.589, allocations: 51.34 kB / 1.179 GB, free: 68.58 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003937/1.589, allocations: 234.3 kB / 1.179 GB, free: 68.35 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.051e-05/1.589, allocations: 4 kB / 1.179 GB, free: 68.34 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.87e-06/1.589, allocations: 0 / 1.179 GB, free: 68.34 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/1.589, allocations: 0 / 1.179 GB, free: 68.34 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007873/1.59, allocations: 0.7287 MB / 1.18 GB, free: 67.55 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.198e-06/1.59, allocations: 0 / 1.18 GB, free: 67.55 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001214/1.59, allocations: 35.92 kB / 1.18 GB, free: 67.51 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.248e-06/1.59, allocations: 0 / 1.18 GB, free: 67.51 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.521e-05/1.59, allocations: 11.98 kB / 1.18 GB, free: 67.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/1.59, allocations: 128 / 1.18 GB, free: 67.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/1.59, allocations: 8 kB / 1.18 GB, free: 67.49 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002787/1.59, allocations: 379.8 kB / 1.18 GB, free: 67.07 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001629/1.59, allocations: 156.5 kB / 1.18 GB, free: 66.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.523e-05/1.591, allocations: 0 / 1.18 GB, free: 66.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002254/1.591, allocations: 27.88 kB / 1.18 GB, free: 66.87 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.741e-05/1.591, allocations: 19.94 kB / 1.18 GB, free: 66.85 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.409e-05/1.591, allocations: 4 kB / 1.18 GB, free: 66.85 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0004351/1.591, allocations: 413.5 kB / 1.181 GB, free: 66.45 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.1e-07/1.591, allocations: 0 / 1.181 GB, free: 66.45 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0008738/1.592, allocations: 259.7 kB / 1.181 GB, free: 66.2 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 () * 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.001783/1.594, allocations: 1.665 MB / 1.183 GB, free: 64.59 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.00047/1.594, allocations: 305.3 kB / 1.183 GB, free: 64.29 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/1.594, allocations: 8.25 kB / 1.183 GB, free: 64.29 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.000108/1.595, allocations: 79.61 kB / 1.183 GB, free: 64.21 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001182/1.596, allocations: 238.4 kB / 1.183 GB, free: 63.98 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00135/1.597, allocations: 0.7286 MB / 1.184 GB, free: 63.2 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002738/1.597, allocations: 0.8597 MB / 1.185 GB, free: 62.31 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0005389/1.598, allocations: 188.1 kB / 1.185 GB, free: 62.13 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001575/1.598, allocations: 155.4 kB / 1.185 GB, free: 61.98 MB / 0.6823 GB Notification: Performance of SimCode: time 3.11e-07/1.598, allocations: 0 / 1.185 GB, free: 61.98 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03244/1.631, allocations: 17.11 MB / 1.202 GB, free: 45.09 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001404/1.631, allocations: 197.8 kB / 1.202 GB, free: 44.86 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.403/4.033, allocations: 3.938 kB / 1.202 GB, free: 44.86 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)