Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.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.TwoWayValvesTable,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Actuators_Valves_Examples_TwoWayValvesTable",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Actuators_Valves_Examples_TwoWayValvesTable",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.7107/0.7107, allocations: 127.3 MB / 139.8 MB, free: 15.47 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.001032/0.001032, allocations: 184.7 kB / 169.7 MB, free: 1.75 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.561/1.561, allocations: 205.1 MB / 404.5 MB, free: 1.605 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.0007787/0.0007787, allocations: 82.58 kB / 481.8 MB, free: 4.258 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.314e-05/3.333e-05, allocations: 0 / 0.5533 GB, free: 54.76 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1499/0.15, allocations: 76.76 MB / 0.6283 GB, free: 9.938 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.106/1.256, allocations: 358.7 MB / 0.9786 GB, free: 153.1 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002821/1.257, allocations: 94.81 kB / 0.9787 GB, free: 153.1 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.3222/1.579, allocations: 172.8 MB / 1.147 GB, free: 1.531 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.844e-06/1.579, allocations: 0 / 1.147 GB, free: 1.531 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 6.266e-05/1.579, allocations: 19.98 kB / 1.147 GB, free: 1.512 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.001294/1.58, allocations: 0.7246 MB / 1.148 GB, free: 0.7422 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.421e-05/1.58, allocations: 12.03 kB / 1.148 GB, free: 0.7305 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.924e-05/1.58, allocations: 54.53 kB / 1.148 GB, free: 0.668 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001432/1.581, allocations: 59.34 kB / 1.148 GB, free: 0.6094 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008294/1.581, allocations: 413.4 kB / 1.149 GB, free: 172 kB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.414e-05/1.581, allocations: 28.33 kB / 1.149 GB, free: 144 kB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.953e-05/1.582, allocations: 32 kB / 1.149 GB, free: 112 kB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3515/1.933, allocations: 253.9 kB / 1.149 GB, free: 176.8 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.888e-05/1.933, allocations: 0 / 1.149 GB, free: 176.8 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.238e-05/1.933, allocations: 9.312 kB / 1.149 GB, free: 176.8 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.1e-05/1.933, allocations: 6.844 kB / 1.149 GB, free: 176.8 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008455/1.934, allocations: 200.5 kB / 1.149 GB, free: 176.8 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.002008/1.936, allocations: 0.9246 MB / 1.15 GB, free: 176.4 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007419/1.937, allocations: 160.3 kB / 1.15 GB, free: 176.4 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.697e-05/1.937, allocations: 31.81 kB / 1.15 GB, free: 176.4 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000245/1.937, allocations: 340.8 kB / 1.151 GB, free: 176 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.003e-05/1.937, allocations: 37.83 kB / 1.151 GB, free: 176 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=9): time 1.573e-06/1.937, allocations: 0 / 1.151 GB, free: 176 MB / 0.6511 GB Notification: Performance of matching and sorting (n=9): time 0.00135/1.938, allocations: 283.2 kB / 1.151 GB, free: 175.9 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.557e-05/1.939, allocations: 53.45 kB / 1.151 GB, free: 175.9 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000529/1.939, allocations: 405.8 kB / 1.151 GB, free: 175.8 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.946e-05/1.939, allocations: 29.3 kB / 1.151 GB, free: 175.7 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.000156/1.939, allocations: 238.4 kB / 1.152 GB, free: 175.6 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 3.021e-05/1.939, allocations: 31.17 kB / 1.152 GB, free: 175.6 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.285e-05/1.939, allocations: 3.188 kB / 1.152 GB, free: 175.6 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 9.297e-05/1.939, allocations: 354.2 kB / 1.152 GB, free: 175.3 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001143/1.94, allocations: 49.89 kB / 1.152 GB, free: 175.3 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001896/1.94, allocations: 161.5 kB / 1.152 GB, free: 175.2 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001469/1.94, allocations: 70.77 kB / 1.152 GB, free: 175.2 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/1.94, allocations: 3.953 kB / 1.152 GB, free: 175.2 MB / 0.6511 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003829/1.94, allocations: 221.7 kB / 1.152 GB, free: 175.1 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 7.433e-05/1.94, allocations: 271.5 kB / 1.153 GB, free: 174.9 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.164e-06/1.94, allocations: 1.25 kB / 1.153 GB, free: 174.9 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.79e-05/1.94, allocations: 4.688 kB / 1.153 GB, free: 174.9 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003412/1.941, allocations: 67.67 kB / 1.153 GB, free: 174.9 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.437e-06/1.941, allocations: 2.047 kB / 1.153 GB, free: 174.9 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004737/1.941, allocations: 63.33 kB / 1.153 GB, free: 174.9 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.401e-05/1.941, allocations: 9.531 kB / 1.153 GB, free: 174.9 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 9.188e-06/1.941, allocations: 7.719 kB / 1.153 GB, free: 174.9 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002578/1.942, allocations: 128.2 kB / 1.153 GB, free: 174.9 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.764e-06/1.942, allocations: 3.844 kB / 1.153 GB, free: 174.9 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.599e-06/1.942, allocations: 3.094 kB / 1.153 GB, free: 174.9 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002023/1.942, allocations: 43.64 kB / 1.153 GB, free: 174.9 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/1.942, allocations: 2.422 kB / 1.153 GB, free: 174.9 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003051/1.942, allocations: 48.2 kB / 1.153 GB, free: 174.8 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.444e-05/1.942, allocations: 8.266 kB / 1.153 GB, free: 174.8 MB / 0.6511 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 (21): * Single equations (assignments): 21 * 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 8.321e-05/1.942, allocations: 118.4 kB / 1.153 GB, free: 174.7 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.951e-05/1.942, allocations: 46.41 kB / 1.153 GB, free: 174.7 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003899/1.943, allocations: 180.4 kB / 1.153 GB, free: 174.7 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/1.943, allocations: 5.031 kB / 1.153 GB, free: 174.7 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/1.943, allocations: 0.7969 kB / 1.153 GB, free: 174.7 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/1.943, allocations: 0.875 kB / 1.153 GB, free: 174.7 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004523/1.943, allocations: 355.8 kB / 1.154 GB, free: 174.5 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/1.943, allocations: 0.6094 kB / 1.154 GB, free: 174.5 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002305/1.944, allocations: 41.45 kB / 1.154 GB, free: 174.5 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.148e-06/1.944, allocations: 0.8438 kB / 1.154 GB, free: 174.5 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.524e-05/1.944, allocations: 4.047 kB / 1.154 GB, free: 174.5 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.986e-06/1.944, allocations: 2.188 kB / 1.154 GB, free: 174.5 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/1.944, allocations: 0 / 1.154 GB, free: 174.5 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002592/1.944, allocations: 163.7 kB / 1.154 GB, free: 174.4 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001185/1.944, allocations: 135.4 kB / 1.154 GB, free: 174.3 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.452e-05/1.944, allocations: 1.375 kB / 1.154 GB, free: 174.3 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003326/1.944, allocations: 44.97 kB / 1.154 GB, free: 174.3 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.378e-05/1.944, allocations: 5.875 kB / 1.154 GB, free: 174.3 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.597e-05/1.944, allocations: 7.359 kB / 1.154 GB, free: 174.3 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0004393/1.945, allocations: 349.5 kB / 1.154 GB, free: 174.2 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.6e-07/1.945, allocations: 0 / 1.154 GB, free: 174.2 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.00084/1.946, allocations: 216.1 kB / 1.155 GB, free: 174.2 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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.001535/1.947, allocations: 1.141 MB / 1.156 GB, free: 173.5 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0004789/1.948, allocations: 210.5 kB / 1.156 GB, free: 173.5 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/1.948, allocations: 1.125 kB / 1.156 GB, free: 173.5 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 7.473e-05/1.948, allocations: 35.2 kB / 1.156 GB, free: 173.5 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001125/1.949, allocations: 213.2 kB / 1.156 GB, free: 173.5 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006642/1.956, allocations: 1.115 MB / 1.157 GB, free: 173.3 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003132/1.956, allocations: 0.8258 MB / 1.158 GB, free: 172.6 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0005531/1.957, allocations: 113.8 kB / 1.158 GB, free: 172.6 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001832/1.957, allocations: 132.8 kB / 1.158 GB, free: 172.6 MB / 0.6511 GB Notification: Performance of SimCode: time 1.183e-06/1.957, allocations: 0 / 1.158 GB, free: 172.6 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03859/1.995, allocations: 15.08 MB / 1.173 GB, free: 172.3 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002529/1.996, allocations: 209 kB / 1.173 GB, free: 172.1 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.404/4.4, allocations: 0 / 1.173 GB, free: 172.1 MB / 0.6511 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Actuators_Valves_Examples_TwoWayValvesTable_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Actuators_Valves_Examples_TwoWayValvesTable.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe 2>&1)