Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.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.TwoWayValveTable,fileNamePrefix="Buildings_8_Buildings_Fluid_Actuators_Valves_Examples_TwoWayValveTable",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable,fileNamePrefix="Buildings_8_Buildings_Fluid_Actuators_Valves_Examples_TwoWayValveTable",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.8/1.8, allocations: 289.9 MB / 297.4 MB, free: 6.398 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.001655/0.001655, allocations: 180.9 kB / 366.7 MB, free: 1.656 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.841/1.841, allocations: 205.3 MB / 0.626 GB, free: 7.172 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.0009725/0.0009722, allocations: 92.2 kB / 0.74 GB, free: 39.55 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.608e-05/2.609e-05, allocations: 4 kB / 0.8598 GB, free: 12.96 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8446/0.8446, allocations: 116.3 MB / 0.9733 GB, free: 76.28 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.193/2.037, allocations: 403.5 MB / 1.367 GB, free: 152.6 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003025/2.038, allocations: 98.25 kB / 1.367 GB, free: 152.5 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.3392/2.377, allocations: 173.9 MB / 1.537 GB, free: 8.105 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.703e-06/2.377, allocations: 3.938 kB / 1.537 GB, free: 8.102 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 5.408e-05/2.377, allocations: 19.98 kB / 1.537 GB, free: 8.082 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001392/2.378, allocations: 0.7747 MB / 1.538 GB, free: 7.262 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.236e-05/2.379, allocations: 12.03 kB / 1.538 GB, free: 7.25 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001971/2.379, allocations: 63.28 kB / 1.538 GB, free: 7.188 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007994/2.38, allocations: 455.6 kB / 1.539 GB, free: 6.703 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.658e-05/2.38, allocations: 12 kB / 1.539 GB, free: 6.691 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.401e-05/2.38, allocations: 16 kB / 1.539 GB, free: 6.676 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003186/2.38, allocations: 141.1 kB / 1.539 GB, free: 6.539 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003901/2.38, allocations: 229.1 kB / 1.539 GB, free: 6.293 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.187e-05/2.38, allocations: 0 / 1.539 GB, free: 6.293 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.481e-05/2.38, allocations: 4 kB / 1.539 GB, free: 6.289 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.021e-05/2.38, allocations: 4 kB / 1.539 GB, free: 6.285 MB / 0.8698 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.002168/2.383, allocations: 1.448 MB / 1.54 GB, free: 4.738 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002553/2.383, allocations: 138.8 kB / 1.541 GB, free: 4.594 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000105/2.383, allocations: 60.84 kB / 1.541 GB, free: 4.531 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001847/2.385, allocations: 1.292 MB / 1.542 GB, free: 3.047 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.811e-05/2.385, allocations: 38.56 kB / 1.542 GB, free: 3 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=15): time 2.885e-06/2.385, allocations: 0 / 1.542 GB, free: 3 MB / 0.8698 GB Notification: Performance of matching and sorting (n=15): time 0.0006295/2.386, allocations: 179.1 kB / 1.542 GB, free: 2.82 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.298e-05/2.386, allocations: 59.34 kB / 1.542 GB, free: 2.75 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006678/2.386, allocations: 457.3 kB / 1.543 GB, free: 2.293 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 3.798e-05/2.386, allocations: 29.7 kB / 1.543 GB, free: 2.258 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002537/2.387, allocations: 276.1 kB / 1.543 GB, free: 1.984 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 4.832e-05/2.387, allocations: 55.3 kB / 1.543 GB, free: 1.93 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.125e-05/2.387, allocations: 0 / 1.543 GB, free: 1.93 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.000213/2.387, allocations: 350.8 kB / 1.543 GB, free: 1.578 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001045/2.387, allocations: 52.55 kB / 1.543 GB, free: 1.523 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002661/2.387, allocations: 201.1 kB / 1.543 GB, free: 1.27 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003238/2.388, allocations: 106.1 kB / 1.544 GB, free: 1.168 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/2.388, allocations: 0 / 1.544 GB, free: 1.168 MB / 0.8698 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005736/2.388, allocations: 264.8 kB / 1.544 GB, free: 0.9023 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005945/2.389, allocations: 0.9718 MB / 1.545 GB, free: 15.86 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.238e-05/2.389, allocations: 4 kB / 1.545 GB, free: 15.85 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.39e-05/2.389, allocations: 4.094 kB / 1.545 GB, free: 15.85 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003193/2.389, allocations: 67.89 kB / 1.545 GB, free: 15.78 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.422e-05/2.389, allocations: 15.86 kB / 1.545 GB, free: 15.77 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003965/2.39, allocations: 39.73 kB / 1.545 GB, free: 15.73 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.714e-05/2.39, allocations: 19.98 kB / 1.545 GB, free: 15.71 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.066e-05/2.39, allocations: 4 kB / 1.545 GB, free: 15.7 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004512/2.39, allocations: 186.1 kB / 1.545 GB, free: 15.52 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.336e-06/2.39, allocations: 0 / 1.545 GB, free: 15.52 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.683e-06/2.39, allocations: 4 kB / 1.545 GB, free: 15.52 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002475/2.39, allocations: 76.14 kB / 1.545 GB, free: 15.45 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.27e-06/2.39, allocations: 4 kB / 1.545 GB, free: 15.44 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003052/2.391, allocations: 39.75 kB / 1.545 GB, free: 15.4 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.517e-05/2.391, allocations: 12 kB / 1.545 GB, free: 15.39 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 33 * 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.0001536/2.391, allocations: 120.8 kB / 1.545 GB, free: 15.27 MB / 0.8855 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003906/2.391, allocations: 177 kB / 1.545 GB, free: 15.09 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.246e-05/2.391, allocations: 43.44 kB / 1.546 GB, free: 15.04 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006278/2.392, allocations: 225.5 kB / 1.546 GB, free: 14.82 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.668e-06/2.392, allocations: 7.938 kB / 1.546 GB, free: 14.81 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.631e-06/2.392, allocations: 0 / 1.546 GB, free: 14.81 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.628e-06/2.392, allocations: 0 / 1.546 GB, free: 14.81 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001203/2.393, allocations: 0.6814 MB / 1.546 GB, free: 14.07 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.77e-06/2.393, allocations: 0 / 1.546 GB, free: 14.07 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001468/2.393, allocations: 31.92 kB / 1.546 GB, free: 14.04 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.366e-06/2.393, allocations: 4 kB / 1.546 GB, free: 14.04 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.217e-05/2.394, allocations: 11.98 kB / 1.546 GB, free: 14.02 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/2.394, allocations: 0 / 1.546 GB, free: 14.02 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.901e-06/2.394, allocations: 8.125 kB / 1.546 GB, free: 14.02 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005226/2.394, allocations: 367.5 kB / 1.547 GB, free: 13.61 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002009/2.394, allocations: 152.4 kB / 1.547 GB, free: 13.44 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.78e-05/2.394, allocations: 11.98 kB / 1.547 GB, free: 13.43 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002224/2.395, allocations: 19.92 kB / 1.547 GB, free: 13.41 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.266e-05/2.395, allocations: 15.98 kB / 1.547 GB, free: 13.39 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.893e-05/2.395, allocations: 11.95 kB / 1.547 GB, free: 13.38 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0004646/2.395, allocations: 358.9 kB / 1.547 GB, free: 13.03 MB / 0.8855 GB Notification: Performance of sort global known variables: time 2.6e-07/2.395, allocations: 0 / 1.547 GB, free: 13.03 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.001051/2.396, allocations: 263.4 kB / 1.548 GB, free: 12.77 MB / 0.8855 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 (17): * Single equations (assignments): 15 * 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.002388/2.399, allocations: 1.627 MB / 1.549 GB, free: 11.17 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0006592/2.399, allocations: 282.3 kB / 1.549 GB, free: 10.89 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 3.476e-06/2.399, allocations: 1 kB / 1.549 GB, free: 10.89 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0001218/2.399, allocations: 75.91 kB / 1.55 GB, free: 10.82 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001313/2.401, allocations: 216.4 kB / 1.55 GB, free: 10.61 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001735/2.403, allocations: 0.7002 MB / 1.55 GB, free: 9.855 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005077/2.403, allocations: 0.8631 MB / 1.551 GB, free: 8.965 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0006028/2.404, allocations: 176.3 kB / 1.551 GB, free: 8.793 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002235/2.404, allocations: 155.3 kB / 1.552 GB, free: 8.641 MB / 0.8855 GB Notification: Performance of SimCode: time 1.342e-06/2.404, allocations: 4 kB / 1.552 GB, free: 8.637 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04305/2.447, allocations: 14.13 MB / 1.565 GB, free: 10.62 MB / 0.9011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002414/2.447, allocations: 175.7 kB / 1.566 GB, free: 10.43 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.641/5.088, allocations: 0 / 1.566 GB, free: 10.43 MB / 0.9011 GB (rm -f Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; mkfifo Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe >> ../files/Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Actuators_Valves_Examples_TwoWayValveTable_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Actuators_Valves_Examples_TwoWayValveTable.fmu > Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe 2>&1)