Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves.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.TwoWayValves,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_Actuators_Valves_Examples_TwoWayValves",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.279/2.279, allocations: 248.7 MB / 256.2 MB, free: 7.098 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.00142/0.00142, allocations: 175.6 kB / 315.4 MB, free: 4.004 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.121/2.121, allocations: 205.3 MB / 0.5662 GB, free: 0.5195 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.001118/0.001118, allocations: 86.67 kB / 0.6704 GB, free: 5.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.715e-05/2.727e-05, allocations: 4 kB / 0.7803 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2153/0.2153, allocations: 106.3 MB / 0.8841 GB, free: 12.96 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.91/2.126, allocations: 393.4 MB / 1.268 GB, free: 258.2 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004/2.126, allocations: 94.77 kB / 1.268 GB, free: 258.2 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 1.896/4.022, allocations: 349.1 MB / 1.609 GB, free: 213.3 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.275e-06/4.022, allocations: 1.625 kB / 1.609 GB, free: 213.3 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0001695/4.022, allocations: 33.34 kB / 1.609 GB, free: 213.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: 124 * Number of variables: 124 Notification: Performance of Generate backend data structure: time 0.003973/4.026, allocations: 1.158 MB / 1.61 GB, free: 213 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 6.349e-05/4.027, allocations: 13.11 kB / 1.61 GB, free: 213 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008171/4.027, allocations: 124.5 kB / 1.611 GB, free: 212.9 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002657/4.03, allocations: 0.6639 MB / 1.611 GB, free: 212.6 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.918e-05/4.03, allocations: 15.12 kB / 1.611 GB, free: 212.6 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003322/4.031, allocations: 55 kB / 1.611 GB, free: 212.6 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001114/4.032, allocations: 329.1 kB / 1.612 GB, free: 212.6 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001205/4.033, allocations: 459.8 kB / 1.612 GB, free: 212.5 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.497e-05/4.033, allocations: 5.562 kB / 1.612 GB, free: 212.5 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.702e-05/4.033, allocations: 3.953 kB / 1.612 GB, free: 212.5 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.102e-05/4.033, allocations: 13.31 kB / 1.612 GB, free: 212.5 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.007255/4.04, allocations: 2.376 MB / 1.614 GB, free: 211.4 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007295/4.041, allocations: 254.2 kB / 1.615 GB, free: 211.4 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003013/4.041, allocations: 111.8 kB / 1.615 GB, free: 211.4 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003653/4.042, allocations: 345.5 kB / 1.615 GB, free: 211 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.156e-05/4.042, allocations: 40.75 kB / 1.615 GB, free: 211 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=29): time 4.388e-06/4.042, allocations: 2.969 kB / 1.615 GB, free: 211 MB / 0.8698 GB Notification: Performance of matching and sorting (n=29): time 0.002384/4.044, allocations: 409 kB / 1.615 GB, free: 210.9 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.978e-05/4.044, allocations: 55.47 kB / 1.616 GB, free: 210.8 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001141/4.046, allocations: 0.5455 MB / 1.616 GB, free: 210.7 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0003354/4.046, allocations: 30.7 kB / 1.616 GB, free: 210.7 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004666/4.046, allocations: 431.5 kB / 1.616 GB, free: 210.5 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001112/4.046, allocations: 96.72 kB / 1.617 GB, free: 210.5 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.241e-05/4.047, allocations: 1.344 kB / 1.617 GB, free: 210.5 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001352/4.047, allocations: 377 kB / 1.617 GB, free: 210.1 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003771/4.047, allocations: 126.1 kB / 1.617 GB, free: 210.1 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001126/4.048, allocations: 0.7456 MB / 1.618 GB, free: 209.6 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00156/4.05, allocations: 293.6 kB / 1.618 GB, free: 209.6 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.955e-06/4.05, allocations: 1.156 kB / 1.618 GB, free: 209.6 MB / 0.8698 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.002722/4.053, allocations: 0.5672 MB / 1.619 GB, free: 209.5 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002247/4.053, allocations: 0.794 MB / 1.619 GB, free: 208.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.235e-05/4.053, allocations: 1.344 kB / 1.619 GB, free: 208.6 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.349e-05/4.053, allocations: 4.875 kB / 1.619 GB, free: 208.6 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002157/4.055, allocations: 174.7 kB / 1.62 GB, free: 208.6 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001484/4.057, allocations: 2.384 MB / 1.622 GB, free: 206.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003564/4.06, allocations: 373.2 kB / 1.622 GB, free: 206.3 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002233/4.06, allocations: 29.83 kB / 1.622 GB, free: 206.3 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.795e-05/4.061, allocations: 3.594 kB / 1.622 GB, free: 206.3 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001917/4.062, allocations: 421.4 kB / 1.623 GB, free: 206.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.004e-05/4.062, allocations: 1.844 kB / 1.623 GB, free: 206.3 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.513e-05/4.063, allocations: 4.969 kB / 1.623 GB, free: 206.3 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001129/4.064, allocations: 138.6 kB / 1.623 GB, free: 206.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.077e-05/4.064, allocations: 7.188 kB / 1.623 GB, free: 206.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003402/4.067, allocations: 351.3 kB / 1.623 GB, free: 206.3 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002195/4.067, allocations: 27.62 kB / 1.623 GB, free: 206.3 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 (60): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003913/4.068, allocations: 128.2 kB / 1.623 GB, free: 206.2 MB / 0.8698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001961/4.07, allocations: 381.2 kB / 1.624 GB, free: 206.1 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001856/4.07, allocations: 74.06 kB / 1.624 GB, free: 206 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002344/4.072, allocations: 493.4 kB / 1.624 GB, free: 206 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-05/4.072, allocations: 6.484 kB / 1.624 GB, free: 206 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.959e-06/4.072, allocations: 5.484 kB / 1.624 GB, free: 206 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.458e-06/4.072, allocations: 3.891 kB / 1.624 GB, free: 206 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003728/4.076, allocations: 1.083 MB / 1.625 GB, free: 205.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.275e-05/4.076, allocations: 1.312 kB / 1.625 GB, free: 205.7 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000884/4.077, allocations: 103.4 kB / 1.625 GB, free: 205.7 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.39e-05/4.077, allocations: 3.75 kB / 1.625 GB, free: 205.7 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.35e-05/4.077, allocations: 7.312 kB / 1.625 GB, free: 205.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001037/4.078, allocations: 2.356 MB / 1.628 GB, free: 203.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.546e-06/4.078, allocations: 1.312 kB / 1.628 GB, free: 203.3 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002103/4.081, allocations: 0.601 MB / 1.628 GB, free: 203.1 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005116/4.081, allocations: 197.1 kB / 1.628 GB, free: 202.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000132/4.081, allocations: 1.5 kB / 1.628 GB, free: 202.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009051/4.082, allocations: 55.75 kB / 1.629 GB, free: 202.9 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001078/4.082, allocations: 29.25 kB / 1.629 GB, free: 202.9 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.107e-05/4.082, allocations: 16.09 kB / 1.629 GB, free: 202.9 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0007715/4.083, allocations: 413 kB / 1.629 GB, free: 202.8 MB / 0.8698 GB Notification: Performance of sort global known variables: time 4.21e-07/4.083, allocations: 1 kB / 1.629 GB, free: 202.8 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.002762/4.086, allocations: 487.8 kB / 1.629 GB, free: 202.8 MB / 0.8698 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 (35): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00355/4.089, allocations: 1.777 MB / 1.631 GB, free: 201.7 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.003169/4.093, allocations: 0.6125 MB / 1.632 GB, free: 201.7 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 7.905e-06/4.093, allocations: 0 / 1.632 GB, free: 201.7 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0007539/4.094, allocations: 172.6 kB / 1.632 GB, free: 201.7 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003588/4.097, allocations: 332.7 kB / 1.632 GB, free: 201.7 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004149/4.101, allocations: 1.069 MB / 1.633 GB, free: 201.3 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005877/4.102, allocations: 0.9874 MB / 1.634 GB, free: 200.6 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.001775/4.104, allocations: 195.3 kB / 1.634 GB, free: 200.5 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006178/4.104, allocations: 294.1 kB / 1.635 GB, free: 200.5 MB / 0.8698 GB Notification: Performance of SimCode: time 1.653e-06/4.104, allocations: 0 / 1.635 GB, free: 200.5 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09411/4.199, allocations: 24.55 MB / 1.659 GB, free: 200.1 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000284/4.199, allocations: 180.9 kB / 1.659 GB, free: 199.9 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.998/8.197, allocations: 0 / 1.659 GB, free: 199.9 MB / 0.8698 GB