Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.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.TwoWayValvesTable,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Actuators_Valves_Examples_TwoWayValvesTable",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValvesTable,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Actuators_Valves_Examples_TwoWayValvesTable",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.7341/0.7341, allocations: 141.7 MB / 154.3 MB, free: 15.47 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001031/0.001031, allocations: 188.4 kB / 187.3 MB, free: 11.87 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.398/1.398, allocations: 221.3 MB / 441.4 MB, free: 4.652 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.0008796/0.0008798, allocations: 99.36 kB / 0.5124 GB, free: 24.2 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001871/0.001871, allocations: 274.5 kB / 0.5939 GB, free: 7.953 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 5.276e-05/5.287e-05, allocations: 8 kB / 0.6835 GB, free: 12.13 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4457/0.4457, allocations: 82.76 MB / 0.7644 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7753/1.221, allocations: 356.7 MB / 1.113 GB, free: 1.062 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002545/1.221, allocations: 92.25 kB / 1.113 GB, free: 1.012 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.75/1.971, allocations: 178.5 MB / 1.287 GB, free: 178.5 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.605e-06/1.971, allocations: 3.984 kB / 1.287 GB, free: 178.5 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.284e-05/1.971, allocations: 12 kB / 1.287 GB, free: 178.5 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: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.001053/1.973, allocations: 0.7473 MB / 1.288 GB, free: 177.7 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.405e-05/1.973, allocations: 8.031 kB / 1.288 GB, free: 177.7 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.386e-05/1.973, allocations: 58.53 kB / 1.288 GB, free: 177.7 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.357e-05/1.973, allocations: 55.34 kB / 1.288 GB, free: 177.6 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006088/1.973, allocations: 429.5 kB / 1.288 GB, free: 177.1 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.219e-05/1.973, allocations: 24.44 kB / 1.288 GB, free: 177.1 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.002e-05/1.973, allocations: 28 kB / 1.288 GB, free: 177.1 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003113/1.974, allocations: 187.3 kB / 1.289 GB, free: 176.9 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.137e-05/1.974, allocations: 0 / 1.289 GB, free: 176.9 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.108e-05/1.974, allocations: 8 kB / 1.289 GB, free: 176.9 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.011e-06/1.974, allocations: 4 kB / 1.289 GB, free: 176.9 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001962/1.974, allocations: 137.7 kB / 1.289 GB, free: 176.8 MB / 0.698 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.001322/1.975, allocations: 0.9497 MB / 1.29 GB, free: 175.7 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00018/1.976, allocations: 122.5 kB / 1.29 GB, free: 175.6 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.797e-05/1.976, allocations: 57.09 kB / 1.29 GB, free: 175.5 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002245/1.976, allocations: 344.5 kB / 1.29 GB, free: 175.1 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.345e-05/1.976, allocations: 34.56 kB / 1.29 GB, free: 175.1 MB / 0.698 GB Notification: Performance of pre-optimization done (n=14): time 1.292e-06/1.976, allocations: 0 / 1.29 GB, free: 175.1 MB / 0.698 GB Notification: Performance of matching and sorting (n=14): time 0.000322/1.976, allocations: 165.1 kB / 1.29 GB, free: 174.9 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.892e-05/1.976, allocations: 55.34 kB / 1.29 GB, free: 174.9 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003709/1.977, allocations: 415.8 kB / 1.291 GB, free: 174.4 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.702e-05/1.977, allocations: 37.64 kB / 1.291 GB, free: 174.4 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001175/1.977, allocations: 224.4 kB / 1.291 GB, free: 174.2 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.865e-05/1.977, allocations: 51.3 kB / 1.291 GB, free: 174.1 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.778e-06/1.977, allocations: 4 kB / 1.291 GB, free: 174.1 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.198e-05/1.977, allocations: 350.8 kB / 1.291 GB, free: 173.8 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.364e-05/1.977, allocations: 48 kB / 1.291 GB, free: 173.7 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001582/1.977, allocations: 159.1 kB / 1.292 GB, free: 173.5 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001066/1.977, allocations: 69.16 kB / 1.292 GB, free: 173.5 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/1.977, allocations: 0 / 1.292 GB, free: 173.5 MB / 0.698 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002936/1.978, allocations: 233.9 kB / 1.292 GB, free: 173.2 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 5.938e-05/1.978, allocations: 264.1 kB / 1.292 GB, free: 172.9 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.715e-06/1.978, allocations: 0 / 1.292 GB, free: 172.9 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.994e-05/1.978, allocations: 4 kB / 1.292 GB, free: 172.9 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002211/1.978, allocations: 59.84 kB / 1.292 GB, free: 172.9 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.148e-05/1.978, allocations: 7.953 kB / 1.292 GB, free: 172.9 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003288/1.978, allocations: 43.72 kB / 1.292 GB, free: 172.8 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.18e-05/1.978, allocations: 11.98 kB / 1.292 GB, free: 172.8 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 7.734e-06/1.978, allocations: 4 kB / 1.292 GB, free: 172.8 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002492/1.979, allocations: 153.5 kB / 1.292 GB, free: 172.7 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.524e-06/1.979, allocations: 4 kB / 1.292 GB, free: 172.7 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.216e-06/1.979, allocations: 4 kB / 1.292 GB, free: 172.7 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001859/1.979, allocations: 51.91 kB / 1.292 GB, free: 172.6 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.936e-06/1.979, allocations: 3.984 kB / 1.292 GB, free: 172.6 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002907/1.979, allocations: 51.8 kB / 1.293 GB, free: 172.6 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.952e-05/1.979, allocations: 8 kB / 1.293 GB, free: 172.5 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (24): * Single equations (assignments): 24 * 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.687e-05/1.979, allocations: 120.9 kB / 1.293 GB, free: 172.4 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.383e-05/1.979, allocations: 43.44 kB / 1.293 GB, free: 172.4 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003625/1.98, allocations: 229.3 kB / 1.293 GB, free: 172.1 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.053e-06/1.98, allocations: 4 kB / 1.293 GB, free: 172.1 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/1.98, allocations: 0 / 1.293 GB, free: 172.1 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/1.98, allocations: 0 / 1.293 GB, free: 172.1 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006739/1.98, allocations: 0.6887 MB / 1.294 GB, free: 171.4 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.406e-06/1.98, allocations: 3.938 kB / 1.294 GB, free: 171.4 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001199/1.981, allocations: 32.11 kB / 1.294 GB, free: 171.3 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.637e-06/1.981, allocations: 4 kB / 1.294 GB, free: 171.3 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.314e-05/1.981, allocations: 7.984 kB / 1.294 GB, free: 171.3 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.883e-06/1.981, allocations: 0 / 1.294 GB, free: 171.3 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/1.981, allocations: 0 / 1.294 GB, free: 171.3 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002657/1.981, allocations: 369.2 kB / 1.294 GB, free: 170.9 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001162/1.981, allocations: 148.4 kB / 1.294 GB, free: 170.8 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.525e-05/1.981, allocations: 8 kB / 1.294 GB, free: 170.8 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002309/1.981, allocations: 27.97 kB / 1.294 GB, free: 170.7 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.674e-05/1.981, allocations: 11.98 kB / 1.294 GB, free: 170.7 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.242e-05/1.981, allocations: 8 kB / 1.294 GB, free: 170.7 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0002716/1.982, allocations: 325.6 kB / 1.294 GB, free: 170.4 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.8e-07/1.982, allocations: 0 / 1.294 GB, free: 170.4 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0007024/1.982, allocations: 227.7 kB / 1.295 GB, free: 170.2 MB / 0.698 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 (16): * Single equations (assignments): 14 * 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.001452/1.984, allocations: 1.622 MB / 1.296 GB, free: 168.6 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0003858/1.984, allocations: 242.5 kB / 1.297 GB, free: 168.4 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.564e-06/1.984, allocations: 0 / 1.297 GB, free: 168.4 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001016/1.984, allocations: 83.78 kB / 1.297 GB, free: 168.3 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001039/1.985, allocations: 215.6 kB / 1.297 GB, free: 168.1 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001073/1.986, allocations: 0.634 MB / 1.297 GB, free: 167.4 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002396/1.987, allocations: 0.8395 MB / 1.298 GB, free: 166.5 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0003879/1.987, allocations: 131.5 kB / 1.298 GB, free: 166.4 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001378/1.987, allocations: 131.4 kB / 1.298 GB, free: 166.3 MB / 0.698 GB Notification: Performance of SimCode: time 5.21e-07/1.987, allocations: 0 / 1.298 GB, free: 166.3 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02715/2.014, allocations: 14.71 MB / 1.313 GB, free: 151.8 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001752/2.015, allocations: 206.1 kB / 1.313 GB, free: 151.6 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.507/4.522, allocations: 0 / 1.313 GB, free: 151.6 MB / 0.698 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Actuators_Valves_Examples_TwoWayValvesTable_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Actuators_Valves_Examples_TwoWayValvesTable.fmu > BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe 2>&1)