Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.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.TwoWayValvePressureIndependent,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_Actuators_Valves_Examples_TwoWayValvePressureIndependent",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.241/2.241, allocations: 248.5 MB / 261.1 MB, free: 5.973 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.001525/0.001525, allocations: 182.5 kB / 320.4 MB, free: 15.35 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.962/1.962, allocations: 205.2 MB / 0.571 GB, free: 11.77 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001179/0.001179, allocations: 109.4 kB / 0.6754 GB, free: 0.8516 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 5.412e-05/5.433e-05, allocations: 8 kB / 0.7869 GB, free: 97.8 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2018/0.2019, allocations: 106.2 MB / 0.8907 GB, free: 7.461 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.883/2.085, allocations: 388.9 MB / 1.27 GB, free: 257.2 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004799/2.086, allocations: 93.52 kB / 1.271 GB, free: 257.2 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.8628/2.949, allocations: 229.6 MB / 1.495 GB, free: 101.1 MB / 0.8698 GB Notification: Performance of FrontEnd: time 3.567e-06/2.949, allocations: 0 / 1.495 GB, free: 101.1 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 7.651e-05/2.949, allocations: 23.92 kB / 1.495 GB, free: 101 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: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.002696/2.952, allocations: 0.9734 MB / 1.496 GB, free: 100 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 7.082e-05/2.952, allocations: 8.031 kB / 1.496 GB, free: 100 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001828/2.952, allocations: 86.52 kB / 1.496 GB, free: 99.92 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000262/2.952, allocations: 86.91 kB / 1.496 GB, free: 99.83 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001505/2.954, allocations: 0.5074 MB / 1.496 GB, free: 99.29 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.81e-05/2.954, allocations: 41 kB / 1.496 GB, free: 99.25 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000112/2.954, allocations: 52 kB / 1.496 GB, free: 99.2 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001216/2.955, allocations: 0.5666 MB / 1.497 GB, free: 98.56 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.584e-05/2.955, allocations: 7.938 kB / 1.497 GB, free: 98.55 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.774e-05/2.955, allocations: 20 kB / 1.497 GB, free: 98.54 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.784e-05/2.955, allocations: 12 kB / 1.497 GB, free: 98.52 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001041/2.956, allocations: 402.7 kB / 1.497 GB, free: 98.13 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.005442/2.962, allocations: 3.204 MB / 1.501 GB, free: 94.73 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007636/2.963, allocations: 285.3 kB / 1.501 GB, free: 94.44 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004423/2.963, allocations: 187.8 kB / 1.501 GB, free: 94.26 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003799/2.964, allocations: 344.4 kB / 1.501 GB, free: 93.85 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.407e-05/2.964, allocations: 42.56 kB / 1.501 GB, free: 93.8 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=38): time 2.846e-06/2.964, allocations: 0 / 1.501 GB, free: 93.8 MB / 0.8698 GB Notification: Performance of matching and sorting (n=38): time 0.001393/2.965, allocations: 425.7 kB / 1.502 GB, free: 93.37 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.448e-05/2.965, allocations: 59.41 kB / 1.502 GB, free: 93.3 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008732/2.966, allocations: 0.4956 MB / 1.502 GB, free: 92.8 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.000135/2.966, allocations: 33.7 kB / 1.502 GB, free: 92.76 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002501/2.966, allocations: 332.4 kB / 1.503 GB, free: 92.43 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001262/2.967, allocations: 130.1 kB / 1.503 GB, free: 92.3 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.223e-05/2.967, allocations: 12 kB / 1.503 GB, free: 92.29 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001123/2.967, allocations: 374.8 kB / 1.503 GB, free: 91.91 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004619/2.967, allocations: 161.5 kB / 1.503 GB, free: 91.76 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005859/2.968, allocations: 349.5 kB / 1.504 GB, free: 91.34 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000536/2.968, allocations: 201.5 kB / 1.504 GB, free: 91.14 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.633e-06/2.968, allocations: 4 kB / 1.504 GB, free: 91.14 MB / 0.8698 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001677/2.97, allocations: 0.6092 MB / 1.504 GB, free: 90.52 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003731/2.97, allocations: 1.748 MB / 1.506 GB, free: 88.63 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.421e-05/2.97, allocations: 4 kB / 1.506 GB, free: 88.63 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009186/2.971, allocations: 144.7 kB / 1.506 GB, free: 88.48 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001381/2.973, allocations: 163.8 kB / 1.506 GB, free: 88.32 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007954/2.974, allocations: 0.6108 MB / 1.507 GB, free: 87.69 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00135/2.975, allocations: 107.4 kB / 1.507 GB, free: 87.58 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001201/2.975, allocations: 39.95 kB / 1.507 GB, free: 87.54 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.596e-05/2.975, allocations: 4 kB / 1.507 GB, free: 87.54 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001387/2.977, allocations: 0.5135 MB / 1.508 GB, free: 87.03 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.01e-05/2.977, allocations: 4 kB / 1.508 GB, free: 87.02 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.653e-05/2.977, allocations: 8 kB / 1.508 GB, free: 87.02 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001194/2.978, allocations: 164.3 kB / 1.508 GB, free: 86.86 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.649e-05/2.978, allocations: 11.92 kB / 1.508 GB, free: 86.84 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001225/2.979, allocations: 99.47 kB / 1.508 GB, free: 86.75 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001112/2.979, allocations: 31.98 kB / 1.508 GB, free: 86.71 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (70): * Single equations (assignments): 69 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0002333/2.98, allocations: 136.8 kB / 1.508 GB, free: 86.57 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002079/2.98, allocations: 71.11 kB / 1.508 GB, free: 86.5 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001756/2.982, allocations: 0.5381 MB / 1.509 GB, free: 85.95 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.85e-05/2.982, allocations: 11.98 kB / 1.509 GB, free: 85.94 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.003e-05/2.982, allocations: 4 kB / 1.509 GB, free: 85.94 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.078e-05/2.982, allocations: 0 / 1.509 GB, free: 85.94 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003392/2.985, allocations: 1.27 MB / 1.51 GB, free: 84.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.387e-05/2.985, allocations: 8 kB / 1.51 GB, free: 84.59 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007076/2.986, allocations: 91.88 kB / 1.51 GB, free: 84.5 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006493/2.987, allocations: 120.9 kB / 1.51 GB, free: 84.38 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.216e-05/2.987, allocations: 15.98 kB / 1.51 GB, free: 84.36 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007302/2.987, allocations: 0.6226 MB / 1.511 GB, free: 83.71 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.609e-06/2.987, allocations: 4.031 kB / 1.511 GB, free: 83.71 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001585/2.989, allocations: 0.6394 MB / 1.511 GB, free: 83.02 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004803/2.99, allocations: 204 kB / 1.512 GB, free: 82.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001287/2.99, allocations: 4 kB / 1.512 GB, free: 82.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009014/2.991, allocations: 67.89 kB / 1.512 GB, free: 82.73 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001166/2.991, allocations: 31.95 kB / 1.512 GB, free: 82.7 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.344e-05/2.991, allocations: 16 kB / 1.512 GB, free: 82.69 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0006788/2.991, allocations: 387.2 kB / 1.512 GB, free: 82.31 MB / 0.8698 GB Notification: Performance of sort global known variables: time 4.41e-07/2.992, allocations: 0 / 1.512 GB, free: 82.31 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001947/2.993, allocations: 419.4 kB / 1.513 GB, free: 81.9 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (41): * Single equations (assignments): 38 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.002842/2.996, allocations: 1.714 MB / 1.514 GB, free: 80.14 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.002413/2.999, allocations: 0.76 MB / 1.515 GB, free: 79.39 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 7.685e-06/2.999, allocations: 0 / 1.515 GB, free: 79.39 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0009449/3, allocations: 245.1 kB / 1.515 GB, free: 79.15 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00261/3.002, allocations: 281.4 kB / 1.515 GB, free: 78.88 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002924/3.005, allocations: 0.9301 MB / 1.516 GB, free: 77.89 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000396/3.006, allocations: 0.9208 MB / 1.517 GB, free: 76.94 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.001247/3.007, allocations: 172.9 kB / 1.517 GB, free: 76.77 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00044/3.008, allocations: 235.3 kB / 1.518 GB, free: 76.54 MB / 0.8698 GB Notification: Performance of SimCode: time 1.603e-06/3.008, allocations: 0 / 1.518 GB, free: 76.54 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06974/3.077, allocations: 20.46 MB / 1.538 GB, free: 56.37 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002824/3.078, allocations: 239 kB / 1.538 GB, free: 56.04 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.546/6.624, allocations: 3.375 kB / 1.538 GB, free: 56.04 MB / 0.8698 GB