Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.conf.json 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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable,fileNamePrefix="Buildings_7_0_0_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 7.0.1/package.mo): time 2.25/2.25, allocations: 248.7 MB / 256.2 MB, free: 7.047 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00152/0.00152, allocations: 182.2 kB / 315.4 MB, free: 3.988 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.157/2.157, allocations: 205.3 MB / 0.5662 GB, free: 0.5312 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001049/0.001049, allocations: 103.5 kB / 0.6704 GB, free: 5.742 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.715e-05/2.728e-05, allocations: 4 kB / 0.7803 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2152/0.2153, allocations: 106.2 MB / 0.8841 GB, free: 12.99 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.95/2.166, allocations: 395.7 MB / 1.27 GB, free: 258.1 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003907/2.166, allocations: 94.38 kB / 1.271 GB, free: 258.1 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.5868/2.753, allocations: 169.2 MB / 1.436 GB, free: 162.3 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.974e-06/2.753, allocations: 4 kB / 1.436 GB, free: 162.3 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 6.903e-05/2.753, allocations: 12 kB / 1.436 GB, free: 162.3 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.001796/2.755, allocations: 0.7787 MB / 1.437 GB, free: 161.4 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.209e-05/2.755, allocations: 12.03 kB / 1.437 GB, free: 161.4 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003263/2.755, allocations: 71.14 kB / 1.437 GB, free: 161.4 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001297/2.757, allocations: 455.6 kB / 1.437 GB, free: 160.9 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.488e-05/2.757, allocations: 8 kB / 1.437 GB, free: 160.9 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.486e-05/2.757, allocations: 20 kB / 1.437 GB, free: 160.8 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004656/2.757, allocations: 153.1 kB / 1.437 GB, free: 160.7 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004933/2.758, allocations: 227.4 kB / 1.438 GB, free: 160.5 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.592e-05/2.758, allocations: 0 / 1.438 GB, free: 160.5 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.116e-05/2.758, allocations: 7.953 kB / 1.438 GB, free: 160.4 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.51e-05/2.758, allocations: 8 kB / 1.438 GB, free: 160.4 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.002943/2.761, allocations: 1.25 MB / 1.439 GB, free: 159.1 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003755/2.761, allocations: 159.2 kB / 1.439 GB, free: 158.9 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001591/2.761, allocations: 73.22 kB / 1.439 GB, free: 158.9 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002268/2.764, allocations: 1.324 MB / 1.44 GB, free: 157.4 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.861e-05/2.764, allocations: 42.52 kB / 1.44 GB, free: 157.3 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=18): time 3.307e-06/2.764, allocations: 0 / 1.44 GB, free: 157.3 MB / 0.8698 GB Notification: Performance of matching and sorting (n=18): time 0.0008528/2.765, allocations: 206.8 kB / 1.44 GB, free: 157.1 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.421e-05/2.765, allocations: 51.41 kB / 1.441 GB, free: 157 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007556/2.766, allocations: 461.2 kB / 1.441 GB, free: 156.6 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 4.435e-05/2.766, allocations: 29.69 kB / 1.441 GB, free: 156.5 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002026/2.766, allocations: 260.3 kB / 1.441 GB, free: 156.3 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 5.791e-05/2.766, allocations: 63.11 kB / 1.441 GB, free: 156.2 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.551e-05/2.766, allocations: 0 / 1.441 GB, free: 156.2 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 9.983e-05/2.766, allocations: 358.8 kB / 1.442 GB, free: 155.9 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001576/2.766, allocations: 55.94 kB / 1.442 GB, free: 155.8 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002773/2.766, allocations: 202.5 kB / 1.442 GB, free: 155.6 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005369/2.767, allocations: 119.9 kB / 1.442 GB, free: 155.4 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.07e-06/2.767, allocations: 4 kB / 1.442 GB, free: 155.4 MB / 0.8698 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0009348/2.768, allocations: 284.8 kB / 1.442 GB, free: 155.2 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001814/2.768, allocations: 0.7901 MB / 1.443 GB, free: 154.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.219e-05/2.768, allocations: 11.92 kB / 1.443 GB, free: 154.3 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.38e-05/2.768, allocations: 4 kB / 1.443 GB, free: 154.3 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000503/2.769, allocations: 63.91 kB / 1.443 GB, free: 154.2 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.027e-06/2.769, allocations: 4 kB / 1.443 GB, free: 154.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007199/2.77, allocations: 47.66 kB / 1.443 GB, free: 154.2 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.209e-05/2.77, allocations: 16 kB / 1.443 GB, free: 154.2 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.286e-05/2.77, allocations: 0 / 1.443 GB, free: 154.2 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000807/2.77, allocations: 219.6 kB / 1.443 GB, free: 153.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/2.771, allocations: 3.953 kB / 1.443 GB, free: 153.9 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.096e-05/2.771, allocations: 8.188 kB / 1.443 GB, free: 153.9 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004437/2.771, allocations: 63.91 kB / 1.443 GB, free: 153.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.525e-06/2.771, allocations: 11.97 kB / 1.444 GB, free: 153.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006658/2.772, allocations: 31.83 kB / 1.444 GB, free: 153.8 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.816e-05/2.772, allocations: 19.98 kB / 1.444 GB, free: 153.8 MB / 0.8698 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 (35): * Single equations (assignments): 35 * 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.0001327/2.772, allocations: 115.7 kB / 1.444 GB, free: 153.7 MB / 0.8698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0007575/2.773, allocations: 201.6 kB / 1.444 GB, free: 153.5 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.074e-05/2.773, allocations: 51.39 kB / 1.444 GB, free: 153.4 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009133/2.774, allocations: 261.2 kB / 1.444 GB, free: 153.2 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.14e-05/2.774, allocations: 7.984 kB / 1.444 GB, free: 153.2 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/2.774, allocations: 0 / 1.444 GB, free: 153.2 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.194e-06/2.774, allocations: 4 kB / 1.444 GB, free: 153.2 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001681/2.775, allocations: 0.719 MB / 1.445 GB, free: 152.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.123e-05/2.776, allocations: 7.984 kB / 1.445 GB, free: 152.4 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003403/2.776, allocations: 39.98 kB / 1.445 GB, free: 152.3 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.042e-05/2.776, allocations: 0 / 1.445 GB, free: 152.3 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.35e-05/2.776, allocations: 8.125 kB / 1.445 GB, free: 152.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.081e-06/2.776, allocations: 4 kB / 1.445 GB, free: 152.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.921e-06/2.776, allocations: 3.938 kB / 1.445 GB, free: 152.3 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001097/2.777, allocations: 481 kB / 1.445 GB, free: 151.8 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002999/2.777, allocations: 160.6 kB / 1.446 GB, free: 151.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.363e-05/2.778, allocations: 4 kB / 1.446 GB, free: 151.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004088/2.778, allocations: 24.02 kB / 1.446 GB, free: 151.6 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.699e-05/2.778, allocations: 19.88 kB / 1.446 GB, free: 151.6 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.709e-05/2.778, allocations: 12 kB / 1.446 GB, free: 151.6 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0005889/2.779, allocations: 354.9 kB / 1.446 GB, free: 151.2 MB / 0.8698 GB Notification: Performance of sort global known variables: time 5.01e-07/2.779, allocations: 0 / 1.446 GB, free: 151.2 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001425/2.78, allocations: 271.4 kB / 1.446 GB, free: 151 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (20): * Single equations (assignments): 18 * 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.002904/2.783, allocations: 1.733 MB / 1.448 GB, free: 149.3 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0009461/2.784, allocations: 303.1 kB / 1.448 GB, free: 149 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 4.519e-06/2.784, allocations: 0 / 1.448 GB, free: 149 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.000235/2.784, allocations: 91.84 kB / 1.448 GB, free: 148.9 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002161/2.787, allocations: 227.2 kB / 1.448 GB, free: 148.7 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002469/2.789, allocations: 0.7745 MB / 1.449 GB, free: 147.8 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003652/2.789, allocations: 0.8551 MB / 1.45 GB, free: 146.9 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0009991/2.79, allocations: 188 kB / 1.45 GB, free: 146.8 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002689/2.791, allocations: 155.4 kB / 1.45 GB, free: 146.6 MB / 0.8698 GB Notification: Performance of SimCode: time 1.744e-06/2.791, allocations: 0 / 1.45 GB, free: 146.6 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06172/2.852, allocations: 14.34 MB / 1.464 GB, free: 132.4 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002377/2.853, allocations: 186.3 kB / 1.465 GB, free: 132.2 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.28/6.133, allocations: 0 / 1.465 GB, free: 132.2 MB / 0.8698 GB