Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.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.TwoWayValvesTable,fileNamePrefix="Buildings_8_Buildings_Fluid_Actuators_Valves_Examples_TwoWayValvesTable",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable,fileNamePrefix="Buildings_8_Buildings_Fluid_Actuators_Valves_Examples_TwoWayValvesTable",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.967/1.967, allocations: 292.6 MB / 307.5 MB, free: 5.23 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.002054/0.002054, allocations: 177.1 kB / 377.1 MB, free: 1.523 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.018/2.018, allocations: 205.4 MB / 0.6366 GB, free: 9.559 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.0009359/0.0009356, allocations: 86.02 kB / 0.7509 GB, free: 62.87 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003412/0.0003412, allocations: 8 kB / 0.8749 GB, free: 11.23 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2813/0.2816, allocations: 116.3 MB / 0.9884 GB, free: 6.781 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.601/1.882, allocations: 399.7 MB / 1.379 GB, free: 246.4 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003176/1.883, allocations: 97.31 kB / 1.379 GB, free: 246.4 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 0.3806/2.263, allocations: 175.3 MB / 1.55 GB, free: 168.4 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.994e-06/2.263, allocations: 0 / 1.55 GB, free: 168.4 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 7.068e-05/2.263, allocations: 19.98 kB / 1.55 GB, free: 168.4 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: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.001813/2.265, allocations: 0.8151 MB / 1.551 GB, free: 167.5 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.942e-05/2.265, allocations: 8.031 kB / 1.551 GB, free: 167.5 MB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.923e-05/2.265, allocations: 62.53 kB / 1.551 GB, free: 167.4 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001713/2.266, allocations: 59.38 kB / 1.551 GB, free: 167.4 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008829/2.266, allocations: 426.7 kB / 1.551 GB, free: 166.9 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.985e-05/2.267, allocations: 20.44 kB / 1.551 GB, free: 166.9 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.257e-05/2.267, allocations: 29.72 kB / 1.551 GB, free: 166.9 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000425/2.267, allocations: 215.2 kB / 1.552 GB, free: 166.6 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.534e-05/2.267, allocations: 4 kB / 1.552 GB, free: 166.6 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.321e-05/2.267, allocations: 8 kB / 1.552 GB, free: 166.6 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.366e-06/2.267, allocations: 4 kB / 1.552 GB, free: 166.6 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003537/2.267, allocations: 173.6 kB / 1.552 GB, free: 166.4 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.001612/2.269, allocations: 0.9497 MB / 1.553 GB, free: 165.4 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000246/2.269, allocations: 142.5 kB / 1.553 GB, free: 165.3 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002448/2.27, allocations: 332.7 kB / 1.553 GB, free: 164.9 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.16e-05/2.27, allocations: 38.55 kB / 1.553 GB, free: 164.8 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=14): time 1.703e-06/2.27, allocations: 0 / 1.553 GB, free: 164.8 MB / 0.9323 GB Notification: Performance of matching and sorting (n=14): time 0.0006173/2.27, allocations: 252.9 kB / 1.553 GB, free: 164.6 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.16e-05/2.27, allocations: 55.41 kB / 1.554 GB, free: 164.5 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000446/2.271, allocations: 409.2 kB / 1.554 GB, free: 164.1 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 3.439e-05/2.271, allocations: 37.64 kB / 1.554 GB, free: 164.1 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001289/2.271, allocations: 236.5 kB / 1.554 GB, free: 163.8 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 3.382e-05/2.271, allocations: 51.27 kB / 1.554 GB, free: 163.8 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.018e-05/2.271, allocations: 4 kB / 1.554 GB, free: 163.8 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 8.878e-05/2.271, allocations: 358.7 kB / 1.555 GB, free: 163.4 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001498/2.271, allocations: 71.95 kB / 1.555 GB, free: 163.3 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002172/2.271, allocations: 170.1 kB / 1.555 GB, free: 163.1 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001785/2.272, allocations: 91.91 kB / 1.555 GB, free: 163 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/2.272, allocations: 0 / 1.555 GB, free: 163 MB / 0.9323 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004674/2.272, allocations: 259.2 kB / 1.555 GB, free: 162.8 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 7.45e-05/2.272, allocations: 267 kB / 1.555 GB, free: 162.5 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.162e-06/2.272, allocations: 0 / 1.555 GB, free: 162.5 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.895e-05/2.272, allocations: 7.953 kB / 1.555 GB, free: 162.5 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002258/2.273, allocations: 51.91 kB / 1.555 GB, free: 162.4 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.844e-06/2.273, allocations: 4 kB / 1.555 GB, free: 162.4 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003807/2.273, allocations: 43.72 kB / 1.555 GB, free: 162.4 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.746e-05/2.273, allocations: 15.98 kB / 1.556 GB, free: 162.4 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.065e-05/2.273, allocations: 8 kB / 1.556 GB, free: 162.4 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003558/2.273, allocations: 181.8 kB / 1.556 GB, free: 162.2 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.354e-06/2.273, allocations: 0 / 1.556 GB, free: 162.2 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.959e-06/2.273, allocations: 4 kB / 1.556 GB, free: 162.2 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001934/2.274, allocations: 55.91 kB / 1.556 GB, free: 162.1 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.377e-06/2.274, allocations: 0 / 1.556 GB, free: 162.1 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003583/2.274, allocations: 55.64 kB / 1.556 GB, free: 162.1 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.305e-05/2.274, allocations: 8 kB / 1.556 GB, free: 162.1 MB / 0.9323 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 () * Number of clocked 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 0.0001874/2.274, allocations: 252.9 kB / 1.556 GB, free: 161.8 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.749e-05/2.274, allocations: 39.53 kB / 1.556 GB, free: 161.8 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000525/2.275, allocations: 257.1 kB / 1.556 GB, free: 161.5 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.046e-05/2.275, allocations: 7.984 kB / 1.556 GB, free: 161.5 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/2.275, allocations: 4 kB / 1.556 GB, free: 161.5 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.668e-06/2.275, allocations: 0 / 1.556 GB, free: 161.5 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008676/2.276, allocations: 0.7161 MB / 1.557 GB, free: 160.7 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.108e-06/2.276, allocations: 4 kB / 1.557 GB, free: 160.7 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001205/2.276, allocations: 31.92 kB / 1.557 GB, free: 160.7 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.19e-06/2.276, allocations: 4 kB / 1.557 GB, free: 160.7 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.352e-05/2.276, allocations: 4 kB / 1.557 GB, free: 160.7 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.828e-06/2.276, allocations: 4 kB / 1.557 GB, free: 160.7 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/2.276, allocations: 0 / 1.557 GB, free: 160.7 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003994/2.276, allocations: 401.2 kB / 1.557 GB, free: 160.2 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001501/2.276, allocations: 148.4 kB / 1.558 GB, free: 160.1 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.922e-05/2.277, allocations: 8 kB / 1.558 GB, free: 160.1 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000237/2.277, allocations: 27.88 kB / 1.558 GB, free: 160 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.195e-05/2.277, allocations: 15.98 kB / 1.558 GB, free: 160 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.297e-05/2.277, allocations: 4 kB / 1.558 GB, free: 160 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0003013/2.277, allocations: 330.9 kB / 1.558 GB, free: 159.7 MB / 0.9323 GB Notification: Performance of sort global known variables: time 4.1e-07/2.277, allocations: 0 / 1.558 GB, free: 159.7 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.0008032/2.278, allocations: 223.7 kB / 1.558 GB, free: 159.5 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 (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.001801/2.28, allocations: 1.686 MB / 1.56 GB, free: 157.9 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.0006279/2.28, allocations: 283.6 kB / 1.56 GB, free: 157.6 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/2.28, allocations: 0 / 1.56 GB, free: 157.6 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0001545/2.281, allocations: 95.88 kB / 1.56 GB, free: 157.5 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001066/2.282, allocations: 222.2 kB / 1.56 GB, free: 157.3 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001676/2.283, allocations: 1.495 MB / 1.562 GB, free: 155.7 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002266/2.284, allocations: 0.8388 MB / 1.563 GB, free: 154.8 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.0002899/2.284, allocations: 87.23 kB / 1.563 GB, free: 154.8 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001511/2.284, allocations: 139.4 kB / 1.563 GB, free: 154.6 MB / 0.9323 GB Notification: Performance of SimCode: time 5.71e-07/2.284, allocations: 4 kB / 1.563 GB, free: 154.6 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02618/2.31, allocations: 13.7 MB / 1.576 GB, free: 141.1 MB / 0.9323 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001596/2.31, allocations: 231.7 kB / 1.577 GB, free: 140.9 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.435/4.746, allocations: 0 / 1.577 GB, free: 140.9 MB / 0.9323 GB (rm -f Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; mkfifo Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe >> ../files/Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Actuators_Valves_Examples_TwoWayValvesTable_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Actuators_Valves_Examples_TwoWayValvesTable.fmu > Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe 2>&1)