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.001296/0.001296, allocations: 171.9 kB / 7.647 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.739/0.739, allocations: 133.6 MB / 141.6 MB, free: 2.828 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.699/1.699, allocations: 221.5 MB / 395.4 MB, free: 10.75 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.0009179/0.0009179, allocations: 93.83 kB / 478.2 MB, free: 1.301 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.063e-05/3.065e-05, allocations: 4 kB / 0.5536 GB, free: 8.941 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4431/0.4431, allocations: 82.31 MB / 0.6339 GB, free: 40.88 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8341/1.277, allocations: 363.2 MB / 0.9886 GB, free: 5.367 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002829/1.278, allocations: 99.31 kB / 0.9887 GB, free: 5.316 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.735/2.013, allocations: 177.5 MB / 1.162 GB, free: 180.4 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.874e-06/2.013, allocations: 0 / 1.162 GB, free: 180.4 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 4.258e-05/2.013, allocations: 19.36 kB / 1.162 GB, free: 180.4 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.001053/2.014, allocations: 0.7885 MB / 1.163 GB, free: 179.6 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.114e-05/2.014, allocations: 8.031 kB / 1.163 GB, free: 179.6 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001574/2.014, allocations: 67.23 kB / 1.163 GB, free: 179.5 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005969/2.015, allocations: 453.4 kB / 1.163 GB, free: 179 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.468e-05/2.015, allocations: 8 kB / 1.163 GB, free: 179 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.961e-05/2.015, allocations: 24 kB / 1.163 GB, free: 179 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002368/2.015, allocations: 141.1 kB / 1.163 GB, free: 178.9 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002972/2.015, allocations: 233.1 kB / 1.164 GB, free: 178.6 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.261e-05/2.015, allocations: 0 / 1.164 GB, free: 178.6 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.053e-05/2.015, allocations: 0 / 1.164 GB, free: 178.6 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.154e-06/2.015, allocations: 8 kB / 1.164 GB, free: 178.6 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.001507/2.017, allocations: 1.443 MB / 1.165 GB, free: 177.1 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001772/2.017, allocations: 130.7 kB / 1.165 GB, free: 176.9 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.217e-05/2.017, allocations: 74.2 kB / 1.165 GB, free: 176.9 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001182/2.018, allocations: 1.286 MB / 1.167 GB, free: 175.4 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.962e-05/2.018, allocations: 38.55 kB / 1.167 GB, free: 175.3 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=15): time 2.054e-06/2.018, allocations: 0 / 1.167 GB, free: 175.3 MB / 0.6823 GB Notification: Performance of matching and sorting (n=15): time 0.000423/2.019, allocations: 189 kB / 1.167 GB, free: 175.2 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.07e-05/2.019, allocations: 51.41 kB / 1.167 GB, free: 175.1 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004197/2.019, allocations: 473.2 kB / 1.167 GB, free: 174.6 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.208e-05/2.019, allocations: 25.7 kB / 1.167 GB, free: 174.6 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001343/2.019, allocations: 268.3 kB / 1.168 GB, free: 174.3 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.567e-05/2.019, allocations: 51.25 kB / 1.168 GB, free: 174.3 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.156e-05/2.019, allocations: 4 kB / 1.168 GB, free: 174.3 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 7.027e-05/2.02, allocations: 350.8 kB / 1.168 GB, free: 173.9 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.037e-05/2.02, allocations: 56.55 kB / 1.168 GB, free: 173.9 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001536/2.02, allocations: 201.1 kB / 1.168 GB, free: 173.6 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002182/2.02, allocations: 97.55 kB / 1.168 GB, free: 173.5 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/2.02, allocations: 4 kB / 1.168 GB, free: 173.5 MB / 0.6823 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004346/2.02, allocations: 262.8 kB / 1.169 GB, free: 173.2 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001736/2.021, allocations: 0.9778 MB / 1.17 GB, free: 172.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/2.021, allocations: 0 / 1.17 GB, free: 172.2 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.541e-05/2.021, allocations: 4 kB / 1.17 GB, free: 172.2 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002421/2.021, allocations: 63.91 kB / 1.17 GB, free: 172.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.222e-06/2.021, allocations: 4 kB / 1.17 GB, free: 172.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003089/2.021, allocations: 51.75 kB / 1.17 GB, free: 172.1 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.112e-05/2.021, allocations: 15.98 kB / 1.17 GB, free: 172.1 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 6.061e-06/2.021, allocations: 4 kB / 1.17 GB, free: 172.1 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003365/2.022, allocations: 183.7 kB / 1.17 GB, free: 171.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.985e-06/2.022, allocations: 4 kB / 1.17 GB, free: 171.9 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.308e-06/2.022, allocations: 7.938 kB / 1.17 GB, free: 171.9 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002102/2.022, allocations: 68.16 kB / 1.17 GB, free: 171.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.907e-06/2.022, allocations: 11.92 kB / 1.17 GB, free: 171.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002735/2.022, allocations: 31.73 kB / 1.17 GB, free: 171.8 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.289e-05/2.022, allocations: 19.98 kB / 1.17 GB, free: 171.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 () * 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 6.997e-05/2.022, allocations: 112.9 kB / 1.17 GB, free: 171.6 MB / 0.6823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002922/2.023, allocations: 178.7 kB / 1.17 GB, free: 171.4 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.259e-05/2.023, allocations: 43.44 kB / 1.17 GB, free: 171.4 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004173/2.023, allocations: 235.2 kB / 1.171 GB, free: 171.2 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.969e-06/2.023, allocations: 4 kB / 1.171 GB, free: 171.2 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/2.023, allocations: 0 / 1.171 GB, free: 171.2 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.63e-06/2.023, allocations: 3.984 kB / 1.171 GB, free: 171.2 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007408/2.024, allocations: 0.6829 MB / 1.171 GB, free: 170.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.877e-06/2.024, allocations: 4 kB / 1.171 GB, free: 170.4 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001237/2.024, allocations: 27.98 kB / 1.171 GB, free: 170.4 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.729e-06/2.024, allocations: 4 kB / 1.171 GB, free: 170.4 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.319e-05/2.024, allocations: 4.172 kB / 1.171 GB, free: 170.4 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/2.024, allocations: 4 kB / 1.171 GB, free: 170.4 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/2.024, allocations: 4.125 kB / 1.171 GB, free: 170.4 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003507/2.024, allocations: 377 kB / 1.172 GB, free: 169.9 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001206/2.025, allocations: 152.5 kB / 1.172 GB, free: 169.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.309e-05/2.025, allocations: 7.984 kB / 1.172 GB, free: 169.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002097/2.025, allocations: 19.92 kB / 1.172 GB, free: 169.8 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.726e-05/2.025, allocations: 11.98 kB / 1.172 GB, free: 169.7 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.193e-05/2.025, allocations: 11.95 kB / 1.172 GB, free: 169.7 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0002869/2.025, allocations: 362.9 kB / 1.172 GB, free: 169.4 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.51e-07/2.025, allocations: 0 / 1.172 GB, free: 169.4 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0008433/2.026, allocations: 255.6 kB / 1.172 GB, free: 169.1 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.001528/2.028, allocations: 1.647 MB / 1.174 GB, free: 167.5 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0003867/2.028, allocations: 286.3 kB / 1.174 GB, free: 167.3 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/2.028, allocations: 1 kB / 1.174 GB, free: 167.3 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 9.354e-05/2.028, allocations: 71.91 kB / 1.174 GB, free: 167.2 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001087/2.029, allocations: 223.6 kB / 1.175 GB, free: 167 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001117/2.03, allocations: 0.6926 MB / 1.175 GB, free: 166.2 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002302/2.031, allocations: 0.8592 MB / 1.176 GB, free: 165.3 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0004474/2.031, allocations: 176 kB / 1.176 GB, free: 165.2 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001393/2.031, allocations: 151.4 kB / 1.176 GB, free: 165 MB / 0.6823 GB Notification: Performance of SimCode: time 3.11e-07/2.031, allocations: 7.938 kB / 1.176 GB, free: 165 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03367/2.065, allocations: 14.08 MB / 1.19 GB, free: 151.1 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000143/2.065, allocations: 163.8 kB / 1.19 GB, free: 150.9 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.358/4.423, allocations: 0 / 1.19 GB, free: 150.9 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)