Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.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 Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Actuators_Valves_Examples_TwoWayValvesTable",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable,fileNamePrefix="Buildings_8_0_0_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.0.0/package.mo): time 2.573/2.573, allocations: 284.9 MB / 292.4 MB, free: 10.52 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.001451/0.001451, allocations: 184.8 kB / 360.6 MB, free: 7.301 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.077/2.077, allocations: 205.3 MB / 0.6191 GB, free: 12.23 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.001083/0.001083, allocations: 93.56 kB / 0.7321 GB, free: 44.74 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.605e-05/2.614e-05, allocations: 4 kB / 0.8509 GB, free: 3.344 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8325/0.8326, allocations: 115.3 MB / 0.9634 GB, free: 78.51 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.277/2.11, allocations: 397.8 MB / 1.352 GB, free: 169.7 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003012/2.11, allocations: 91.08 kB / 1.352 GB, free: 169.7 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.5691/2.679, allocations: 173.5 MB / 1.521 GB, free: 10.09 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.804e-06/2.679, allocations: 0 / 1.521 GB, free: 10.09 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 6.63e-05/2.68, allocations: 23.92 kB / 1.521 GB, free: 10.07 MB / 0.8542 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.001497/2.681, allocations: 0.7413 MB / 1.522 GB, free: 9.277 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 5.126e-05/2.681, allocations: 11.97 kB / 1.522 GB, free: 9.266 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001553/2.681, allocations: 59.3 kB / 1.522 GB, free: 9.207 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009893/2.682, allocations: 423.7 kB / 1.523 GB, free: 8.75 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.013e-05/2.682, allocations: 4 kB / 1.523 GB, free: 8.746 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.775e-05/2.682, allocations: 20 kB / 1.523 GB, free: 8.727 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000392/2.683, allocations: 132.8 kB / 1.523 GB, free: 8.598 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003975/2.683, allocations: 158.4 kB / 1.523 GB, free: 8.438 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.544e-05/2.683, allocations: 0 / 1.523 GB, free: 8.438 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.886e-05/2.683, allocations: 11.94 kB / 1.523 GB, free: 8.426 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.869e-06/2.683, allocations: 4 kB / 1.523 GB, free: 8.422 MB / 0.8542 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.002362/2.686, allocations: 0.887 MB / 1.524 GB, free: 7.469 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003/2.686, allocations: 110.6 kB / 1.524 GB, free: 7.352 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001297/2.686, allocations: 52.84 kB / 1.524 GB, free: 7.297 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003318/2.686, allocations: 336.4 kB / 1.524 GB, free: 6.895 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.41e-05/2.686, allocations: 38.56 kB / 1.524 GB, free: 6.848 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=14): time 3.186e-06/2.686, allocations: 4 kB / 1.524 GB, free: 6.844 MB / 0.8542 GB Notification: Performance of matching and sorting (n=14): time 0.0006627/2.687, allocations: 161.3 kB / 1.524 GB, free: 6.68 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.754e-05/2.687, allocations: 59.34 kB / 1.525 GB, free: 6.609 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005909/2.688, allocations: 357.2 kB / 1.525 GB, free: 6.254 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 4.481e-05/2.688, allocations: 25.7 kB / 1.525 GB, free: 6.223 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001832/2.688, allocations: 232.6 kB / 1.525 GB, free: 5.992 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 4.45e-05/2.688, allocations: 43.3 kB / 1.525 GB, free: 5.949 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.475e-05/2.688, allocations: 0 / 1.525 GB, free: 5.949 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 9.77e-05/2.688, allocations: 346.8 kB / 1.526 GB, free: 5.602 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001412/2.688, allocations: 55.98 kB / 1.526 GB, free: 5.547 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002372/2.689, allocations: 154.1 kB / 1.526 GB, free: 5.359 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003464/2.689, allocations: 80.62 kB / 1.526 GB, free: 5.281 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/2.689, allocations: 0 / 1.526 GB, free: 5.281 MB / 0.8542 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006556/2.69, allocations: 218.1 kB / 1.526 GB, free: 5.062 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 8.167e-05/2.69, allocations: 271 kB / 1.526 GB, free: 4.777 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.757e-06/2.69, allocations: 4 kB / 1.526 GB, free: 4.773 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.372e-05/2.69, allocations: 7.891 kB / 1.526 GB, free: 4.766 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004432/2.69, allocations: 51.91 kB / 1.526 GB, free: 4.715 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.722e-06/2.69, allocations: 0 / 1.526 GB, free: 4.715 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006603/2.691, allocations: 43.8 kB / 1.526 GB, free: 4.672 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.768e-05/2.691, allocations: 12 kB / 1.526 GB, free: 4.66 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.126e-05/2.691, allocations: 4.625 kB / 1.526 GB, free: 4.656 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005186/2.692, allocations: 138.1 kB / 1.526 GB, free: 4.523 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/2.692, allocations: 4 kB / 1.527 GB, free: 4.52 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.001e-06/2.692, allocations: 0 / 1.527 GB, free: 4.52 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000374/2.692, allocations: 43.97 kB / 1.527 GB, free: 4.477 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.55e-06/2.692, allocations: 7.938 kB / 1.527 GB, free: 4.469 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006121/2.693, allocations: 47.73 kB / 1.527 GB, free: 4.422 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.817e-05/2.693, allocations: 12 kB / 1.527 GB, free: 4.41 MB / 0.8542 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 (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.0001112/2.693, allocations: 108.7 kB / 1.527 GB, free: 4.297 MB / 0.8542 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004716/2.693, allocations: 161.1 kB / 1.527 GB, free: 4.133 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.519e-05/2.693, allocations: 47.52 kB / 1.527 GB, free: 4.086 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006746/2.694, allocations: 209.8 kB / 1.527 GB, free: 3.875 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.026e-05/2.694, allocations: 3.984 kB / 1.527 GB, free: 3.871 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/2.694, allocations: 0 / 1.527 GB, free: 3.871 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.069e-06/2.694, allocations: 0 / 1.527 GB, free: 3.871 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001222/2.695, allocations: 0.6247 MB / 1.528 GB, free: 3.191 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.873e-06/2.695, allocations: 4 kB / 1.528 GB, free: 3.188 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002862/2.696, allocations: 27.98 kB / 1.528 GB, free: 3.16 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.228e-06/2.696, allocations: 4 kB / 1.528 GB, free: 3.156 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.878e-05/2.696, allocations: 3.984 kB / 1.528 GB, free: 3.152 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.853e-06/2.696, allocations: 11.94 kB / 1.528 GB, free: 3.141 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.04e-06/2.696, allocations: 3.953 kB / 1.528 GB, free: 3.137 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000554/2.696, allocations: 357.3 kB / 1.528 GB, free: 2.734 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002113/2.697, allocations: 136.5 kB / 1.528 GB, free: 2.582 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.87e-05/2.697, allocations: 4 kB / 1.528 GB, free: 2.578 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004172/2.697, allocations: 23.88 kB / 1.528 GB, free: 2.555 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.934e-05/2.697, allocations: 23.92 kB / 1.528 GB, free: 2.531 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.27e-05/2.697, allocations: 4 kB / 1.528 GB, free: 2.527 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0004129/2.698, allocations: 282.9 kB / 1.529 GB, free: 2.254 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5.01e-07/2.698, allocations: 0 / 1.529 GB, free: 2.254 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.001098/2.699, allocations: 227.5 kB / 1.529 GB, free: 2.031 MB / 0.8542 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 () * 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.00223/2.701, allocations: 1.576 MB / 1.53 GB, free: 0.5 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0007369/2.702, allocations: 226.2 kB / 1.531 GB, free: 284 kB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/2.702, allocations: 4 kB / 1.531 GB, free: 280 kB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001679/2.702, allocations: 71.86 kB / 1.531 GB, free: 208 kB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001862/2.704, allocations: 193.6 kB / 1.531 GB, free: 20 kB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002166/2.706, allocations: 0.6067 MB / 1.531 GB, free: 15.36 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005246/2.707, allocations: 0.8351 MB / 1.532 GB, free: 14.49 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.000787/2.707, allocations: 123 kB / 1.532 GB, free: 14.38 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003048/2.708, allocations: 131.4 kB / 1.532 GB, free: 14.25 MB / 0.8698 GB Notification: Performance of SimCode: time 1.292e-06/2.708, allocations: 0 / 1.532 GB, free: 14.25 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07812/2.786, allocations: 12.07 MB / 1.544 GB, free: 2.293 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003323/2.786, allocations: 183.7 kB / 1.544 GB, free: 2.098 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.131/5.917, allocations: 0 / 1.544 GB, free: 2.098 MB / 0.8698 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Actuators_Valves_Examples_TwoWayValvesTable_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Actuators_Valves_Examples_TwoWayValvesTable.fmu > Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe 2>&1)