Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.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.Validation.TwoWayValveParameterization,fileNamePrefix="Buildings_8_Buildings_Fluid_Actuators_Valves_Validation_TwoWayValveParameterization",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization,fileNamePrefix="Buildings_8_Buildings_Fluid_Actuators_Valves_Validation_TwoWayValveParameterization",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.898/1.898, allocations: 292.6 MB / 307.5 MB, free: 5.199 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.001761/0.001761, allocations: 185 kB / 377.1 MB, free: 1.516 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.962/1.962, allocations: 205.4 MB / 0.6366 GB, free: 8.535 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.0008958/0.0008959, allocations: 94 kB / 0.7509 GB, free: 63.19 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003855/0.0003856, allocations: 19.98 kB / 0.8749 GB, free: 11.07 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2629/0.2633, allocations: 116.3 MB / 0.9884 GB, free: 6.621 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.569/1.832, allocations: 399.7 MB / 1.379 GB, free: 273.6 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002749/1.832, allocations: 101.5 kB / 1.379 GB, free: 273.6 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 1.253/3.086, allocations: 410.4 MB / 1.78 GB, free: 176.6 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.403e-06/3.086, allocations: 2.969 kB / 1.78 GB, free: 176.6 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 5.898e-05/3.086, allocations: 27.33 kB / 1.78 GB, free: 176.6 MB / 0.9323 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 117 * Number of variables: 117 Notification: Performance of Generate backend data structure: time 0.002002/3.088, allocations: 1.182 MB / 1.781 GB, free: 176.1 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.928e-05/3.088, allocations: 10.5 kB / 1.781 GB, free: 176.1 MB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.794e-05/3.088, allocations: 89 kB / 1.781 GB, free: 176.1 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002033/3.088, allocations: 94.66 kB / 1.781 GB, free: 176 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001061/3.089, allocations: 0.5827 MB / 1.782 GB, free: 175.8 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.853e-05/3.089, allocations: 44.47 kB / 1.782 GB, free: 175.8 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.419e-05/3.089, allocations: 55.47 kB / 1.782 GB, free: 175.8 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007539/3.09, allocations: 402.7 kB / 1.782 GB, free: 175.7 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.599e-05/3.09, allocations: 6.797 kB / 1.782 GB, free: 175.7 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.507e-05/3.09, allocations: 20.41 kB / 1.782 GB, free: 175.7 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.518e-06/3.09, allocations: 10.34 kB / 1.782 GB, free: 175.7 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005267/3.091, allocations: 303.8 kB / 1.782 GB, free: 175.7 MB / 0.9323 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.002616/3.093, allocations: 1.858 MB / 1.784 GB, free: 174.9 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002988/3.094, allocations: 169.1 kB / 1.784 GB, free: 174.8 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002281/3.094, allocations: 344.1 kB / 1.785 GB, free: 174.5 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.151e-05/3.094, allocations: 42.39 kB / 1.785 GB, free: 174.4 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=19): time 2.745e-06/3.094, allocations: 0 / 1.785 GB, free: 174.4 MB / 0.9323 GB Notification: Performance of matching and sorting (n=19): time 0.0006505/3.095, allocations: 314 kB / 1.785 GB, free: 174.4 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.957e-05/3.095, allocations: 55.62 kB / 1.785 GB, free: 174.3 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005858/3.095, allocations: 0.5789 MB / 1.786 GB, free: 174.2 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 4.148e-05/3.095, allocations: 38.92 kB / 1.786 GB, free: 174.1 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002253/3.096, allocations: 374.3 kB / 1.786 GB, free: 174 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 4.23e-05/3.096, allocations: 57.94 kB / 1.786 GB, free: 174 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.698e-05/3.096, allocations: 10.19 kB / 1.786 GB, free: 174 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 9.663e-05/3.096, allocations: 375.5 kB / 1.786 GB, free: 173.7 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002469/3.096, allocations: 104.1 kB / 1.787 GB, free: 173.7 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002705/3.096, allocations: 223.9 kB / 1.787 GB, free: 173.5 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002479/3.096, allocations: 133.9 kB / 1.787 GB, free: 173.5 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/3.096, allocations: 3.188 kB / 1.787 GB, free: 173.5 MB / 0.9323 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0006278/3.097, allocations: 391 kB / 1.787 GB, free: 173.5 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 8.714e-05/3.097, allocations: 278 kB / 1.788 GB, free: 173.2 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.304e-06/3.097, allocations: 2.469 kB / 1.788 GB, free: 173.2 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.823e-05/3.097, allocations: 3.062 kB / 1.788 GB, free: 173.2 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008571/3.098, allocations: 132 kB / 1.788 GB, free: 173.2 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008646/3.099, allocations: 2.374 MB / 1.79 GB, free: 170.8 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006988/3.1, allocations: 86.55 kB / 1.79 GB, free: 170.8 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.361e-05/3.1, allocations: 20.28 kB / 1.79 GB, free: 170.8 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 9.468e-06/3.1, allocations: 6.719 kB / 1.79 GB, free: 170.8 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005006/3.1, allocations: 286.2 kB / 1.79 GB, free: 170.8 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.549e-06/3.1, allocations: 2.906 kB / 1.79 GB, free: 170.8 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.948e-06/3.1, allocations: 6.281 kB / 1.79 GB, free: 170.8 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004057/3.101, allocations: 100.3 kB / 1.79 GB, free: 170.8 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.547e-06/3.101, allocations: 2.406 kB / 1.79 GB, free: 170.8 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005033/3.101, allocations: 85.2 kB / 1.791 GB, free: 170.8 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.923e-05/3.101, allocations: 18.16 kB / 1.791 GB, free: 170.8 MB / 0.9323 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 41 * 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.0002932/3.102, allocations: 267.1 kB / 1.791 GB, free: 170.6 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.137e-05/3.102, allocations: 66.34 kB / 1.791 GB, free: 170.6 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000597/3.102, allocations: 324.4 kB / 1.791 GB, free: 170.5 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.307e-06/3.102, allocations: 3.875 kB / 1.791 GB, free: 170.5 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/3.102, allocations: 0 / 1.791 GB, free: 170.5 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.613e-06/3.102, allocations: 3.375 kB / 1.791 GB, free: 170.5 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00111/3.103, allocations: 0.898 MB / 1.792 GB, free: 170.2 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.368e-06/3.103, allocations: 2.969 kB / 1.792 GB, free: 170.2 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003245/3.104, allocations: 85.97 kB / 1.792 GB, free: 170.2 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.957e-06/3.104, allocations: 0 / 1.792 GB, free: 170.2 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.789e-05/3.104, allocations: 7.594 kB / 1.792 GB, free: 170.2 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005994/3.104, allocations: 2.351 MB / 1.794 GB, free: 167.9 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.355e-06/3.104, allocations: 3.953 kB / 1.794 GB, free: 167.9 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004495/3.105, allocations: 461.7 kB / 1.795 GB, free: 167.6 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001771/3.105, allocations: 168.8 kB / 1.795 GB, free: 167.5 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.782e-05/3.105, allocations: 6.469 kB / 1.795 GB, free: 167.5 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003986/3.106, allocations: 60.64 kB / 1.795 GB, free: 167.5 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.515e-05/3.106, allocations: 24.39 kB / 1.795 GB, free: 167.5 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.573e-05/3.106, allocations: 9.906 kB / 1.795 GB, free: 167.5 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0004261/3.106, allocations: 464.9 kB / 1.796 GB, free: 167.4 MB / 0.9323 GB Notification: Performance of sort global known variables: time 1.5e-07/3.106, allocations: 0 / 1.796 GB, free: 167.4 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.001109/3.107, allocations: 385.3 kB / 1.796 GB, free: 167.3 MB / 0.9323 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * 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): 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.001414/3.109, allocations: 1.615 MB / 1.798 GB, free: 166.2 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.00126/3.11, allocations: 469.9 kB / 1.798 GB, free: 166.2 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/3.11, allocations: 5.156 kB / 1.798 GB, free: 166.2 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0003184/3.11, allocations: 138 kB / 1.798 GB, free: 166.2 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001677/3.112, allocations: 371.3 kB / 1.798 GB, free: 166.2 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002327/3.114, allocations: 2.027 MB / 1.8 GB, free: 165 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000326/3.115, allocations: 0.9436 MB / 1.801 GB, free: 164.3 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.0005008/3.115, allocations: 117.8 kB / 1.801 GB, free: 164.3 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002652/3.115, allocations: 251.2 kB / 1.802 GB, free: 164.3 MB / 0.9323 GB Notification: Performance of SimCode: time 1.102e-06/3.115, allocations: 0 / 1.802 GB, free: 164.3 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04218/3.158, allocations: 22.01 MB / 1.823 GB, free: 163.8 MB / 0.9323 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000209/3.158, allocations: 271.2 kB / 1.823 GB, free: 163.5 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.785/5.943, allocations: 0 / 1.823 GB, free: 163.5 MB / 0.9323 GB (rm -f Buildings_8_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe ; mkfifo Buildings_8_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe >> ../files/Buildings_8_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Actuators_Valves_Validation_TwoWayValveParameterization_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Actuators_Valves_Validation_TwoWayValveParameterization.fmu > Buildings_8_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe 2>&1)