Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValveTable.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) 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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValveTable,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Actuators_Valves_Examples_TwoWayValveTable",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValveTable,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Actuators_Valves_Examples_TwoWayValveTable",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7692/0.7692, allocations: 143.3 MB / 158.3 MB, free: 5.781 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001187/0.001187, allocations: 173.1 kB / 191.5 MB, free: 5.77 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.357/1.357, allocations: 223.2 MB / 447.7 MB, free: 4.781 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.000934/0.000934, allocations: 84.33 kB / 0.5187 GB, free: 1.137 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00176/0.00176, allocations: 268.2 kB / 0.6005 GB, free: 48.74 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004172/0.0004172, allocations: 20.08 kB / 0.6929 GB, free: 59.54 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1761/0.1765, allocations: 82.79 MB / 0.7738 GB, free: 13.75 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6789/0.8555, allocations: 361.2 MB / 1.127 GB, free: 8.934 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002773/0.8558, allocations: 103.8 kB / 1.127 GB, free: 8.875 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.665/1.521, allocations: 179.1 MB / 1.302 GB, free: 154.6 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.933e-06/1.521, allocations: 0 / 1.302 GB, free: 154.6 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 4.71e-05/1.521, allocations: 16 kB / 1.302 GB, free: 154.6 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.00137/1.522, allocations: 0.8728 MB / 1.302 GB, free: 153.7 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.179e-05/1.522, allocations: 8.031 kB / 1.302 GB, free: 153.7 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.319e-05/1.522, allocations: 62.53 kB / 1.302 GB, free: 153.6 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001475/1.523, allocations: 63.25 kB / 1.303 GB, free: 153.6 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006456/1.523, allocations: 465.2 kB / 1.303 GB, free: 153.1 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.071e-05/1.523, allocations: 20.56 kB / 1.303 GB, free: 153 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.944e-05/1.523, allocations: 31.98 kB / 1.303 GB, free: 153 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004035/1.524, allocations: 286.2 kB / 1.303 GB, free: 152.7 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.123e-05/1.524, allocations: 4 kB / 1.303 GB, free: 152.7 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.103e-05/1.524, allocations: 8 kB / 1.303 GB, free: 152.7 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.486e-06/1.524, allocations: 8 kB / 1.303 GB, free: 152.7 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003468/1.524, allocations: 202 kB / 1.304 GB, free: 152.5 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.001548/1.526, allocations: 1.507 MB / 1.305 GB, free: 150.9 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002563/1.526, allocations: 162.8 kB / 1.305 GB, free: 150.7 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001271/1.527, allocations: 1.284 MB / 1.306 GB, free: 149.2 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.05e-05/1.527, allocations: 42.56 kB / 1.306 GB, free: 149.2 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=15): time 1.403e-06/1.527, allocations: 4 kB / 1.306 GB, free: 149.2 MB / 0.7136 GB Notification: Performance of matching and sorting (n=15): time 0.0005378/1.528, allocations: 262.4 kB / 1.307 GB, free: 148.9 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.473e-05/1.528, allocations: 55.34 kB / 1.307 GB, free: 148.8 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004731/1.528, allocations: 0.5253 MB / 1.307 GB, free: 148.3 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.352e-05/1.528, allocations: 29.7 kB / 1.307 GB, free: 148.3 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001349/1.528, allocations: 272.1 kB / 1.308 GB, free: 148 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.993e-05/1.528, allocations: 47.36 kB / 1.308 GB, free: 148 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.058e-05/1.529, allocations: 4 kB / 1.308 GB, free: 148 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.578e-05/1.529, allocations: 358.8 kB / 1.308 GB, free: 147.6 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001533/1.529, allocations: 80.52 kB / 1.308 GB, free: 147.5 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002289/1.529, allocations: 233.8 kB / 1.308 GB, free: 147.2 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001796/1.529, allocations: 106.1 kB / 1.308 GB, free: 147.1 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/1.529, allocations: 4 kB / 1.308 GB, free: 147.1 MB / 0.7136 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004711/1.53, allocations: 316.7 kB / 1.309 GB, free: 146.8 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001768/1.53, allocations: 0.9639 MB / 1.31 GB, free: 145.8 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.005e-06/1.53, allocations: 7.984 kB / 1.31 GB, free: 145.8 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.504e-05/1.53, allocations: 4 kB / 1.31 GB, free: 145.8 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002366/1.53, allocations: 71.91 kB / 1.31 GB, free: 145.7 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.828e-06/1.53, allocations: 11.92 kB / 1.31 GB, free: 145.7 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003603/1.531, allocations: 43.67 kB / 1.31 GB, free: 145.6 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.319e-05/1.531, allocations: 19.98 kB / 1.31 GB, free: 145.6 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 6.703e-06/1.531, allocations: 4 kB / 1.31 GB, free: 145.6 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004001/1.531, allocations: 245.7 kB / 1.31 GB, free: 145.4 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.286e-06/1.531, allocations: 4 kB / 1.31 GB, free: 145.4 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.208e-06/1.531, allocations: 4.25 kB / 1.31 GB, free: 145.4 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002092/1.531, allocations: 67.89 kB / 1.31 GB, free: 145.3 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.528e-06/1.531, allocations: 4 kB / 1.31 GB, free: 145.3 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003048/1.532, allocations: 47.66 kB / 1.31 GB, free: 145.2 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.401e-05/1.532, allocations: 16 kB / 1.31 GB, free: 145.2 MB / 0.7136 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.0001656/1.532, allocations: 269 kB / 1.31 GB, free: 145 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.046e-05/1.532, allocations: 47.44 kB / 1.31 GB, free: 144.9 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004712/1.532, allocations: 273.5 kB / 1.311 GB, free: 144.6 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.815e-06/1.532, allocations: 7.953 kB / 1.311 GB, free: 144.6 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/1.532, allocations: 0 / 1.311 GB, free: 144.6 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/1.532, allocations: 3.984 kB / 1.311 GB, free: 144.6 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008591/1.533, allocations: 0.76 MB / 1.311 GB, free: 143.8 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/1.533, allocations: 0 / 1.311 GB, free: 143.8 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001184/1.533, allocations: 31.98 kB / 1.311 GB, free: 143.8 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.564e-06/1.533, allocations: 7.875 kB / 1.311 GB, free: 143.8 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.44e-05/1.533, allocations: 8 kB / 1.311 GB, free: 143.8 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.985e-06/1.533, allocations: 4 kB / 1.311 GB, free: 143.7 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/1.533, allocations: 128 / 1.311 GB, free: 143.7 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003934/1.534, allocations: 412.4 kB / 1.312 GB, free: 143.3 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001578/1.534, allocations: 160.3 kB / 1.312 GB, free: 143.1 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.642e-05/1.534, allocations: 11.94 kB / 1.312 GB, free: 143.1 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000219/1.534, allocations: 31.91 kB / 1.312 GB, free: 143.1 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.19e-05/1.534, allocations: 11.98 kB / 1.312 GB, free: 143.1 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.268e-05/1.534, allocations: 8 kB / 1.312 GB, free: 143.1 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0003824/1.535, allocations: 410.8 kB / 1.312 GB, free: 142.7 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.1e-07/1.535, allocations: 0 / 1.312 GB, free: 142.7 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.000785/1.535, allocations: 267.7 kB / 1.313 GB, free: 142.4 MB / 0.7136 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.001721/1.537, allocations: 1.724 MB / 1.314 GB, free: 140.8 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0006066/1.538, allocations: 346.2 kB / 1.315 GB, free: 140.4 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/1.538, allocations: 0.8125 kB / 1.315 GB, free: 140.4 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001604/1.538, allocations: 96.14 kB / 1.315 GB, free: 140.3 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001076/1.539, allocations: 241.9 kB / 1.315 GB, free: 140.1 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001791/1.541, allocations: 2.973 MB / 1.318 GB, free: 137 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002414/1.541, allocations: 0.8623 MB / 1.319 GB, free: 136.1 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0003663/1.542, allocations: 104.2 kB / 1.319 GB, free: 136 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001761/1.542, allocations: 171.4 kB / 1.319 GB, free: 135.8 MB / 0.7136 GB Notification: Performance of SimCode: time 7.71e-07/1.542, allocations: 0 / 1.319 GB, free: 135.8 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02851/1.57, allocations: 16.05 MB / 1.335 GB, free: 120.1 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001749/1.57, allocations: 237 kB / 1.335 GB, free: 119.9 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.48/4.05, allocations: 3.094 kB / 1.335 GB, free: 119.9 MB / 0.7136 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValveTable.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Actuators_Valves_Examples_TwoWayValveTable_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Actuators_Valves_Examples_TwoWayValveTable.fmu > BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe 2>&1)