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.7425/0.7425, allocations: 128.7 MB / 143.7 MB, free: 2.324 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001198/0.001199, allocations: 174.5 kB / 173.7 MB, free: 6.133 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.826/1.826, allocations: 205.4 MB / 409 MB, free: 10.54 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.001039/0.001039, allocations: 93.09 kB / 486.5 MB, free: 13.05 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004081/0.0004083, allocations: 16.67 kB / 0.5604 GB, free: 97.46 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2092/0.2096, allocations: 76.77 MB / 0.6354 GB, free: 30.5 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.22/1.43, allocations: 358.8 MB / 0.9858 GB, free: 237.4 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002831/1.43, allocations: 103 kB / 0.9859 GB, free: 237.4 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.3197/1.75, allocations: 173.3 MB / 1.155 GB, free: 94.95 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.064e-06/1.75, allocations: 0 / 1.155 GB, free: 94.95 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 7.328e-05/1.75, allocations: 19.94 kB / 1.155 GB, free: 94.93 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.00195/1.752, allocations: 0.8142 MB / 1.156 GB, free: 94.07 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.471e-05/1.752, allocations: 8.031 kB / 1.156 GB, free: 94.06 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000112/1.753, allocations: 54.55 kB / 1.156 GB, free: 94 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001705/1.753, allocations: 51.44 kB / 1.156 GB, free: 93.95 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000871/1.754, allocations: 425.2 kB / 1.156 GB, free: 93.49 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.782e-05/1.754, allocations: 24.39 kB / 1.156 GB, free: 93.47 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.017e-05/1.754, allocations: 28 kB / 1.156 GB, free: 93.44 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001073/1.755, allocations: 311.1 kB / 1.157 GB, free: 93.13 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.238e-05/1.755, allocations: 0 / 1.157 GB, free: 93.13 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.507e-05/1.755, allocations: 12 kB / 1.157 GB, free: 93.12 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.055e-06/1.755, allocations: 4 kB / 1.157 GB, free: 93.12 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009647/1.756, allocations: 269.5 kB / 1.157 GB, free: 92.85 MB / 0.6511 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.001633/1.757, allocations: 0.926 MB / 1.158 GB, free: 91.85 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008505/1.758, allocations: 202.3 kB / 1.158 GB, free: 91.64 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002413/1.759, allocations: 340.5 kB / 1.158 GB, free: 91.23 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.242e-05/1.759, allocations: 42.52 kB / 1.159 GB, free: 91.18 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=9): time 1.583e-06/1.759, allocations: 0 / 1.159 GB, free: 91.18 MB / 0.6511 GB Notification: Performance of matching and sorting (n=9): time 0.001712/1.76, allocations: 401 kB / 1.159 GB, free: 90.79 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.22e-05/1.76, allocations: 55.41 kB / 1.159 GB, free: 90.72 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004378/1.761, allocations: 413 kB / 1.159 GB, free: 90.31 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 4.573e-05/1.761, allocations: 37.69 kB / 1.159 GB, free: 90.27 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001315/1.761, allocations: 232.1 kB / 1.16 GB, free: 90.03 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 2.74e-05/1.761, allocations: 31.55 kB / 1.16 GB, free: 90 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.399e-05/1.761, allocations: 8 kB / 1.16 GB, free: 89.99 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 8.558e-05/1.761, allocations: 346.8 kB / 1.16 GB, free: 89.64 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002775/1.761, allocations: 100.2 kB / 1.16 GB, free: 89.54 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003382/1.762, allocations: 203.8 kB / 1.16 GB, free: 89.3 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003024/1.762, allocations: 107.8 kB / 1.16 GB, free: 89.2 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/1.762, allocations: 4 kB / 1.16 GB, free: 89.2 MB / 0.6511 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0007194/1.763, allocations: 309 kB / 1.161 GB, free: 88.89 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 7.773e-05/1.763, allocations: 280.8 kB / 1.161 GB, free: 88.6 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.324e-06/1.763, allocations: 384 / 1.161 GB, free: 88.6 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.697e-05/1.763, allocations: 0 / 1.161 GB, free: 88.6 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003099/1.763, allocations: 63.94 kB / 1.161 GB, free: 88.54 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.658e-06/1.763, allocations: 0 / 1.161 GB, free: 88.54 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004941/1.764, allocations: 67.64 kB / 1.161 GB, free: 88.47 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.941e-05/1.764, allocations: 12 kB / 1.161 GB, free: 88.46 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.056e-05/1.764, allocations: 4 kB / 1.161 GB, free: 88.45 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003278/1.764, allocations: 163.8 kB / 1.161 GB, free: 88.29 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.207e-06/1.764, allocations: 7.984 kB / 1.161 GB, free: 88.29 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.097e-06/1.764, allocations: 0 / 1.161 GB, free: 88.29 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000166/1.764, allocations: 35.98 kB / 1.161 GB, free: 88.25 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.667e-06/1.764, allocations: 4 kB / 1.161 GB, free: 88.25 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003324/1.765, allocations: 55.7 kB / 1.161 GB, free: 88.19 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.012e-05/1.765, allocations: 4 kB / 1.161 GB, free: 88.19 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 () * Number of clocked 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 0.0001971/1.765, allocations: 237 kB / 1.162 GB, free: 87.95 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.515e-05/1.765, allocations: 43.48 kB / 1.162 GB, free: 87.9 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006846/1.766, allocations: 274.7 kB / 1.162 GB, free: 87.62 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.518e-06/1.766, allocations: 0 / 1.162 GB, free: 87.62 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.823e-06/1.766, allocations: 8 kB / 1.162 GB, free: 87.61 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.008e-06/1.766, allocations: 3.938 kB / 1.162 GB, free: 87.61 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003386/1.766, allocations: 353.3 kB / 1.162 GB, free: 87.21 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/1.766, allocations: 0 / 1.162 GB, free: 87.21 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002097/1.766, allocations: 39.97 kB / 1.162 GB, free: 87.17 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.837e-06/1.766, allocations: 0 / 1.162 GB, free: 87.17 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.656e-05/1.766, allocations: 7.953 kB / 1.162 GB, free: 87.16 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.906e-06/1.766, allocations: 0 / 1.162 GB, free: 87.16 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/1.766, allocations: 7.922 kB / 1.162 GB, free: 87.16 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005646/1.767, allocations: 236.6 kB / 1.162 GB, free: 86.91 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001369/1.767, allocations: 136.5 kB / 1.163 GB, free: 86.75 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.876e-05/1.767, allocations: 0 / 1.163 GB, free: 86.75 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003306/1.768, allocations: 43.91 kB / 1.163 GB, free: 86.71 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.281e-05/1.768, allocations: 11.98 kB / 1.163 GB, free: 86.7 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.321e-05/1.768, allocations: 7.938 kB / 1.163 GB, free: 86.69 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0003698/1.768, allocations: 354.8 kB / 1.163 GB, free: 86.34 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.21e-07/1.768, allocations: 0 / 1.163 GB, free: 86.34 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0007981/1.769, allocations: 215.8 kB / 1.163 GB, free: 86.13 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 () * Number of clocked 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.002147/1.771, allocations: 1.258 MB / 1.164 GB, free: 84.99 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.000821/1.772, allocations: 302.5 kB / 1.165 GB, free: 84.7 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/1.772, allocations: 0 / 1.165 GB, free: 84.7 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0002389/1.772, allocations: 80 kB / 1.165 GB, free: 84.62 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009877/1.773, allocations: 224.1 kB / 1.165 GB, free: 84.41 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007259/1.78, allocations: 1.97 MB / 1.167 GB, free: 82.37 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000288/1.781, allocations: 0.8232 MB / 1.168 GB, free: 81.52 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.000404/1.781, allocations: 79.31 kB / 1.168 GB, free: 81.45 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002122/1.781, allocations: 143.4 kB / 1.168 GB, free: 81.3 MB / 0.6511 GB Notification: Performance of SimCode: time 5.51e-07/1.781, allocations: 4 kB / 1.168 GB, free: 81.3 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03743/1.819, allocations: 14.02 MB / 1.182 GB, free: 67.52 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001792/1.819, allocations: 236.7 kB / 1.182 GB, free: 67.28 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.508/4.327, allocations: 4 kB / 1.182 GB, free: 67.27 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)