Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/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 BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Actuators_Valves_Examples_TwoWayValveTable",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Actuators_Valves_Examples_TwoWayValveTable",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.6774/0.6774, allocations: 127.3 MB / 139.8 MB, free: 15.44 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001001/0.001001, allocations: 172.9 kB / 169.7 MB, free: 1.73 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.347/1.347, allocations: 205.1 MB / 404.5 MB, free: 1.594 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007778/0.0007777, allocations: 97.78 kB / 481.8 MB, free: 4.238 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 2.511e-05/2.521e-05, allocations: 4 kB / 0.5533 GB, free: 54.73 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1071/0.1071, allocations: 76.75 MB / 0.6283 GB, free: 9.918 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.896/1.003, allocations: 363.6 MB / 0.9834 GB, free: 148.3 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002402/1.004, allocations: 96.94 kB / 0.9834 GB, free: 148.2 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.5957/1.599, allocations: 170.8 MB / 1.15 GB, free: 171 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.333e-06/1.599, allocations: 0.9062 kB / 1.15 GB, free: 171 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 4.832e-05/1.599, allocations: 16.08 kB / 1.15 GB, free: 171 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.00115/1.601, allocations: 0.7737 MB / 1.151 GB, free: 170.6 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 3.961e-05/1.601, allocations: 15.44 kB / 1.151 GB, free: 170.6 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.829e-05/1.601, allocations: 58.75 kB / 1.151 GB, free: 170.6 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001656/1.601, allocations: 61.48 kB / 1.151 GB, free: 170.6 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008582/1.602, allocations: 454.6 kB / 1.152 GB, free: 170.3 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.467e-05/1.602, allocations: 21.12 kB / 1.152 GB, free: 170.3 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.756e-05/1.602, allocations: 29.22 kB / 1.152 GB, free: 170.3 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007874/1.603, allocations: 293 kB / 1.152 GB, free: 170.3 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.298e-05/1.603, allocations: 1.281 kB / 1.152 GB, free: 170.3 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.49e-05/1.603, allocations: 13.59 kB / 1.152 GB, free: 170.3 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.998e-06/1.603, allocations: 7.062 kB / 1.152 GB, free: 170.3 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005544/1.603, allocations: 202.5 kB / 1.152 GB, free: 170.3 MB / 0.6511 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.002025/1.605, allocations: 1.288 MB / 1.153 GB, free: 169.7 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005648/1.606, allocations: 177.3 kB / 1.154 GB, free: 169.6 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001041/1.606, allocations: 54.14 kB / 1.154 GB, free: 169.6 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001509/1.607, allocations: 1.296 MB / 1.155 GB, free: 168.5 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.515e-05/1.607, allocations: 31.81 kB / 1.155 GB, free: 168.5 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=13): time 1.853e-06/1.608, allocations: 1.062 kB / 1.155 GB, free: 168.5 MB / 0.6511 GB Notification: Performance of matching and sorting (n=13): time 0.0008454/1.608, allocations: 236 kB / 1.155 GB, free: 168.4 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.281e-05/1.608, allocations: 57 kB / 1.155 GB, free: 168.3 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006259/1.609, allocations: 0.5035 MB / 1.156 GB, free: 168.2 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.717e-05/1.609, allocations: 34.45 kB / 1.156 GB, free: 168.2 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001611/1.609, allocations: 273.7 kB / 1.156 GB, free: 168.1 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 3.394e-05/1.609, allocations: 48.64 kB / 1.156 GB, free: 168.1 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.318e-05/1.609, allocations: 5.531 kB / 1.156 GB, free: 168.1 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 7.851e-05/1.609, allocations: 357.3 kB / 1.156 GB, free: 167.7 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001193/1.609, allocations: 60.38 kB / 1.156 GB, free: 167.7 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001969/1.61, allocations: 206.8 kB / 1.157 GB, free: 167.6 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000152/1.61, allocations: 83.03 kB / 1.157 GB, free: 167.6 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.406e-06/1.61, allocations: 5.297 kB / 1.157 GB, free: 167.6 MB / 0.6511 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0004352/1.61, allocations: 291.2 kB / 1.157 GB, free: 167.5 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001205/1.61, allocations: 0.7828 MB / 1.158 GB, free: 166.7 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.554e-06/1.61, allocations: 2.875 kB / 1.158 GB, free: 166.7 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.739e-05/1.61, allocations: 7.297 kB / 1.158 GB, free: 166.7 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003199/1.611, allocations: 73.78 kB / 1.158 GB, free: 166.7 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.081e-05/1.611, allocations: 6.781 kB / 1.158 GB, free: 166.7 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004155/1.611, allocations: 57.28 kB / 1.158 GB, free: 166.7 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.655e-05/1.611, allocations: 14.88 kB / 1.158 GB, free: 166.7 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 8.987e-06/1.611, allocations: 6.594 kB / 1.158 GB, free: 166.7 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003208/1.612, allocations: 192.1 kB / 1.158 GB, free: 166.7 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-06/1.612, allocations: 5.781 kB / 1.158 GB, free: 166.7 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.891e-06/1.612, allocations: 4.5 kB / 1.158 GB, free: 166.7 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002245/1.612, allocations: 64.91 kB / 1.158 GB, free: 166.7 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.032e-06/1.612, allocations: 3.312 kB / 1.158 GB, free: 166.7 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003459/1.612, allocations: 42.08 kB / 1.158 GB, free: 166.7 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.958e-05/1.612, allocations: 18.64 kB / 1.158 GB, free: 166.7 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (32): * Single equations (assignments): 32 * 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 7.787e-05/1.612, allocations: 128.1 kB / 1.158 GB, free: 166.6 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.379e-05/1.612, allocations: 46.44 kB / 1.158 GB, free: 166.6 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004/1.613, allocations: 206.5 kB / 1.159 GB, free: 166.5 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/1.613, allocations: 4.781 kB / 1.159 GB, free: 166.5 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/1.613, allocations: 1.406 kB / 1.159 GB, free: 166.5 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.297e-06/1.613, allocations: 0 / 1.159 GB, free: 166.5 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004357/1.613, allocations: 394.3 kB / 1.159 GB, free: 166.3 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/1.613, allocations: 0.6094 kB / 1.159 GB, free: 166.3 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002121/1.614, allocations: 35.66 kB / 1.159 GB, free: 166.3 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.288e-06/1.614, allocations: 3.75 kB / 1.159 GB, free: 166.3 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.557e-05/1.614, allocations: 4.484 kB / 1.159 GB, free: 166.3 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/1.614, allocations: 2.031 kB / 1.159 GB, free: 166.3 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/1.614, allocations: 0 / 1.159 GB, free: 166.3 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003499/1.614, allocations: 226.3 kB / 1.159 GB, free: 166.2 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001426/1.614, allocations: 152 kB / 1.159 GB, free: 166.1 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.313e-05/1.614, allocations: 5.344 kB / 1.159 GB, free: 166.1 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002611/1.614, allocations: 27.64 kB / 1.159 GB, free: 166.1 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.187e-05/1.615, allocations: 7.25 kB / 1.159 GB, free: 166.1 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.353e-05/1.615, allocations: 8.438 kB / 1.159 GB, free: 166.1 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0005033/1.615, allocations: 431.1 kB / 1.16 GB, free: 166 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.51e-07/1.615, allocations: 0 / 1.16 GB, free: 166 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0008931/1.616, allocations: 259.5 kB / 1.16 GB, free: 166 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (senVolFlo.d) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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 Backend phase and start with SimCode phase: time 0.001587/1.618, allocations: 1.253 MB / 1.161 GB, free: 165.4 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0005115/1.618, allocations: 282.8 kB / 1.162 GB, free: 165.4 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/1.618, allocations: 2.625 kB / 1.162 GB, free: 165.4 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 7.765e-05/1.618, allocations: 51.02 kB / 1.162 GB, free: 165.4 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001193/1.619, allocations: 240.8 kB / 1.162 GB, free: 165.4 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004123/1.624, allocations: 0.992 MB / 1.163 GB, free: 165.1 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002847/1.624, allocations: 0.8517 MB / 1.164 GB, free: 164.4 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0006404/1.624, allocations: 177 kB / 1.164 GB, free: 164.4 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001895/1.625, allocations: 157.2 kB / 1.164 GB, free: 164.4 MB / 0.6511 GB Notification: Performance of SimCode: time 7.82e-07/1.625, allocations: 0 / 1.164 GB, free: 164.4 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04539/1.67, allocations: 17.41 MB / 1.181 GB, free: 164 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001395/1.67, allocations: 202.2 kB / 1.181 GB, free: 163.7 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.507/4.177, allocations: 0 / 1.181 GB, free: 163.7 MB / 0.6511 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Actuators_Valves_Examples_TwoWayValveTable_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Actuators_Valves_Examples_TwoWayValveTable.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe 2>&1)