Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable,fileNamePrefix="Buildings_8_Buildings_Fluid_Actuators_Valves_Examples_TwoWayValveTable",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable,fileNamePrefix="Buildings_8_Buildings_Fluid_Actuators_Valves_Examples_TwoWayValveTable",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.874/1.874, allocations: 292.6 MB / 307.5 MB, free: 5.184 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00159/0.00159, allocations: 177.1 kB / 377.1 MB, free: 1.531 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.079/2.079, allocations: 205.4 MB / 0.6366 GB, free: 8.605 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001017/0.001017, allocations: 83.91 kB / 0.7509 GB, free: 63.08 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003533/0.0003535, allocations: 11.94 kB / 0.8749 GB, free: 11.09 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3329/0.3333, allocations: 116.3 MB / 0.9884 GB, free: 6.637 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.687/2.02, allocations: 404.2 MB / 1.383 GB, free: 272.8 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004395/2.021, allocations: 104.5 kB / 1.383 GB, free: 272.8 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 0.3854/2.406, allocations: 175.4 MB / 1.555 GB, free: 182.2 MB / 0.9323 GB Notification: Performance of FrontEnd: time 3.346e-06/2.406, allocations: 0 / 1.555 GB, free: 182.2 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 5.646e-05/2.406, allocations: 15.98 kB / 1.555 GB, free: 182.2 MB / 0.9323 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.001701/2.408, allocations: 0.8768 MB / 1.555 GB, free: 181.2 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 5.034e-05/2.408, allocations: 8.031 kB / 1.555 GB, free: 181.2 MB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.508e-05/2.408, allocations: 62.53 kB / 1.556 GB, free: 181.2 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002074/2.408, allocations: 59.34 kB / 1.556 GB, free: 181.1 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007649/2.409, allocations: 464.6 kB / 1.556 GB, free: 180.6 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.892e-05/2.409, allocations: 20.56 kB / 1.556 GB, free: 180.6 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.964e-05/2.409, allocations: 32 kB / 1.556 GB, free: 180.6 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00046/2.41, allocations: 282.3 kB / 1.556 GB, free: 180.3 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.357e-05/2.41, allocations: 3.938 kB / 1.556 GB, free: 180.3 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.44e-05/2.41, allocations: 12 kB / 1.556 GB, free: 180.3 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.037e-05/2.41, allocations: 7.984 kB / 1.556 GB, free: 180.2 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003618/2.41, allocations: 198.1 kB / 1.557 GB, free: 180.1 MB / 0.9323 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.00175/2.412, allocations: 1.499 MB / 1.558 GB, free: 178.4 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002654/2.412, allocations: 162.8 kB / 1.558 GB, free: 178.3 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001284/2.414, allocations: 1.296 MB / 1.559 GB, free: 176.8 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.979e-05/2.414, allocations: 38.52 kB / 1.56 GB, free: 176.7 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=15): time 1.644e-06/2.414, allocations: 0 / 1.56 GB, free: 176.7 MB / 0.9323 GB Notification: Performance of matching and sorting (n=15): time 0.0005616/2.414, allocations: 267.1 kB / 1.56 GB, free: 176.5 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3e-05/2.414, allocations: 55.59 kB / 1.56 GB, free: 176.4 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005049/2.415, allocations: 0.5137 MB / 1.56 GB, free: 175.9 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 2.445e-05/2.415, allocations: 29.7 kB / 1.56 GB, free: 175.9 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001614/2.415, allocations: 276 kB / 1.561 GB, free: 175.6 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 3.448e-05/2.415, allocations: 55.28 kB / 1.561 GB, free: 175.5 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.003e-05/2.415, allocations: 4 kB / 1.561 GB, free: 175.5 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001069/2.415, allocations: 358.8 kB / 1.561 GB, free: 175.2 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001564/2.415, allocations: 72.52 kB / 1.561 GB, free: 175.1 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002566/2.415, allocations: 241.2 kB / 1.561 GB, free: 174.8 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001928/2.416, allocations: 103.9 kB / 1.561 GB, free: 174.7 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/2.416, allocations: 3.938 kB / 1.561 GB, free: 174.7 MB / 0.9323 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004798/2.416, allocations: 318.3 kB / 1.562 GB, free: 174.4 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002377/2.416, allocations: 0.96 MB / 1.563 GB, free: 173.3 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/2.416, allocations: 4 kB / 1.563 GB, free: 173.3 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.047e-05/2.416, allocations: 4 kB / 1.563 GB, free: 173.3 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002422/2.417, allocations: 67.84 kB / 1.563 GB, free: 173.3 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.071e-05/2.417, allocations: 12 kB / 1.563 GB, free: 173.3 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003351/2.417, allocations: 55.56 kB / 1.563 GB, free: 173.2 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.398e-05/2.417, allocations: 15.98 kB / 1.563 GB, free: 173.2 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 6.703e-06/2.417, allocations: 4 kB / 1.563 GB, free: 173.2 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004038/2.418, allocations: 250.2 kB / 1.563 GB, free: 172.9 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.917e-06/2.418, allocations: 4 kB / 1.563 GB, free: 172.9 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.448e-06/2.418, allocations: 4 kB / 1.563 GB, free: 172.9 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002037/2.418, allocations: 68.16 kB / 1.563 GB, free: 172.9 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.04e-06/2.418, allocations: 7.984 kB / 1.563 GB, free: 172.9 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002903/2.418, allocations: 39.83 kB / 1.563 GB, free: 172.8 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.53e-05/2.418, allocations: 19.98 kB / 1.563 GB, free: 172.8 MB / 0.9323 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.0001982/2.418, allocations: 260.9 kB / 1.563 GB, free: 172.5 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.072e-05/2.418, allocations: 55.34 kB / 1.563 GB, free: 172.5 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004947/2.419, allocations: 261.5 kB / 1.564 GB, free: 172.2 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.454e-06/2.419, allocations: 8 kB / 1.564 GB, free: 172.2 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/2.419, allocations: 0 / 1.564 GB, free: 172.2 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/2.419, allocations: 0 / 1.564 GB, free: 172.2 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008867/2.42, allocations: 0.7552 MB / 1.564 GB, free: 171.4 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.847e-06/2.42, allocations: 0 / 1.564 GB, free: 171.4 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000123/2.42, allocations: 43.91 kB / 1.565 GB, free: 171.3 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/2.42, allocations: 0 / 1.565 GB, free: 171.3 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.468e-05/2.42, allocations: 4 kB / 1.565 GB, free: 171.3 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.925e-06/2.42, allocations: 4 kB / 1.565 GB, free: 171.3 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/2.42, allocations: 3.938 kB / 1.565 GB, free: 171.3 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004109/2.42, allocations: 409.1 kB / 1.565 GB, free: 170.9 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001633/2.421, allocations: 164.4 kB / 1.565 GB, free: 170.7 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.251e-05/2.421, allocations: 0 / 1.565 GB, free: 170.7 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002193/2.421, allocations: 27.89 kB / 1.565 GB, free: 170.7 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.404e-05/2.421, allocations: 19.88 kB / 1.565 GB, free: 170.6 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.339e-05/2.421, allocations: 8 kB / 1.565 GB, free: 170.6 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0003717/2.421, allocations: 414.8 kB / 1.566 GB, free: 170.2 MB / 0.9323 GB Notification: Performance of sort global known variables: time 1.4e-07/2.421, allocations: 0 / 1.566 GB, free: 170.2 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.0008745/2.422, allocations: 263.7 kB / 1.566 GB, free: 170 MB / 0.9323 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.001866/2.424, allocations: 1.722 MB / 1.567 GB, free: 168.3 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.0006575/2.425, allocations: 358.2 kB / 1.568 GB, free: 168 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/2.425, allocations: 0 / 1.568 GB, free: 168 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.000161/2.425, allocations: 87.89 kB / 1.568 GB, free: 167.9 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001087/2.426, allocations: 254.4 kB / 1.568 GB, free: 167.6 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001915/2.428, allocations: 2.955 MB / 1.571 GB, free: 164.6 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002617/2.428, allocations: 0.8545 MB / 1.572 GB, free: 163.7 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.0003712/2.429, allocations: 112.6 kB / 1.572 GB, free: 163.6 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001795/2.429, allocations: 171.4 kB / 1.572 GB, free: 163.4 MB / 0.9323 GB Notification: Performance of SimCode: time 5.11e-07/2.429, allocations: 0 / 1.572 GB, free: 163.4 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03092/2.46, allocations: 16.03 MB / 1.588 GB, free: 147.6 MB / 0.9323 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000197/2.46, allocations: 224.9 kB / 1.588 GB, free: 147.3 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.607/5.067, allocations: 4.062 kB / 1.588 GB, free: 147.3 MB / 0.9323 GB (rm -f Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; mkfifo Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe >> ../files/Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Actuators_Valves_Examples_TwoWayValveTable_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Actuators_Valves_Examples_TwoWayValveTable.fmu > Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe 2>&1)