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.719/1.719, allocations: 289.7 MB / 302.2 MB, free: 2.18 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.001737/0.001737, allocations: 183.2 kB / 371.6 MB, free: 3.359 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.651/1.651, allocations: 205.2 MB / 0.6309 GB, free: 11.77 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.0009708/0.0009707, allocations: 93.2 kB / 0.745 GB, free: 54.66 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 5.166e-05/5.185e-05, allocations: 4 kB / 0.8663 GB, free: 14.96 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3063/0.3064, allocations: 116.3 MB / 0.9799 GB, free: 10.49 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.155/1.461, allocations: 399.6 MB / 1.37 GB, free: 13.28 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003226/1.462, allocations: 97.34 kB / 1.37 GB, free: 13.23 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.464/3.926, allocations: 409.2 MB / 1.77 GB, free: 161.1 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.294e-06/3.926, allocations: 0 / 1.77 GB, free: 161.1 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001645/3.926, allocations: 26.58 kB / 1.77 GB, free: 161.1 MB / 0.948 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.003254/3.93, allocations: 1.048 MB / 1.771 GB, free: 160.7 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 6.248e-05/3.93, allocations: 9.062 kB / 1.771 GB, free: 160.7 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003063/3.93, allocations: 83.89 kB / 1.771 GB, free: 160.7 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004178/3.93, allocations: 100.6 kB / 1.771 GB, free: 160.6 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001664/3.932, allocations: 0.5669 MB / 1.772 GB, free: 160.4 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.782e-05/3.932, allocations: 42.59 kB / 1.772 GB, free: 160.4 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001386/3.932, allocations: 58.59 kB / 1.772 GB, free: 160.4 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009084/3.933, allocations: 377.2 kB / 1.772 GB, free: 160.3 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.886e-05/3.933, allocations: 0 / 1.772 GB, free: 160.3 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.541e-05/3.933, allocations: 18.19 kB / 1.772 GB, free: 160.3 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.591e-05/3.933, allocations: 11.75 kB / 1.772 GB, free: 160.3 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005992/3.934, allocations: 260.9 kB / 1.772 GB, free: 160.3 MB / 0.948 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.003998/3.938, allocations: 1.857 MB / 1.774 GB, free: 159.5 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003465/3.938, allocations: 149.5 kB / 1.774 GB, free: 159.5 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001269/3.938, allocations: 68.53 kB / 1.774 GB, free: 159.4 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003399/3.939, allocations: 347.4 kB / 1.775 GB, free: 159.1 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.72e-05/3.939, allocations: 37.06 kB / 1.775 GB, free: 159 MB / 0.948 GB Notification: Performance of pre-optimization done (n=19): time 3.196e-06/3.939, allocations: 0 / 1.775 GB, free: 159 MB / 0.948 GB Notification: Performance of matching and sorting (n=19): time 0.0006678/3.94, allocations: 212.6 kB / 1.775 GB, free: 159 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.956e-05/3.94, allocations: 54.47 kB / 1.775 GB, free: 158.9 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008936/3.94, allocations: 0.5792 MB / 1.776 GB, free: 158.8 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 6.679e-05/3.941, allocations: 39.64 kB / 1.776 GB, free: 158.7 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002869/3.941, allocations: 372.8 kB / 1.776 GB, free: 158.6 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 7.058e-05/3.941, allocations: 66.42 kB / 1.776 GB, free: 158.6 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.262e-05/3.941, allocations: 8.906 kB / 1.776 GB, free: 158.6 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001754/3.941, allocations: 380.2 kB / 1.776 GB, free: 158.3 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001961/3.941, allocations: 81.98 kB / 1.776 GB, free: 158.3 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002716/3.942, allocations: 196.7 kB / 1.777 GB, free: 158.1 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002313/3.942, allocations: 116.7 kB / 1.777 GB, free: 158.1 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.869e-06/3.942, allocations: 0 / 1.777 GB, free: 158.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0006506/3.943, allocations: 343.4 kB / 1.777 GB, free: 158.1 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001156/3.943, allocations: 276.2 kB / 1.777 GB, free: 157.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.215e-06/3.943, allocations: 0 / 1.777 GB, free: 157.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.286e-05/3.943, allocations: 2.969 kB / 1.777 GB, free: 157.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009381/3.944, allocations: 139.7 kB / 1.777 GB, free: 157.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001128/3.945, allocations: 2.368 MB / 1.78 GB, free: 155.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008589/3.946, allocations: 92.2 kB / 1.78 GB, free: 155.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.355e-05/3.946, allocations: 19.02 kB / 1.78 GB, free: 155.4 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.188e-05/3.946, allocations: 7.875 kB / 1.78 GB, free: 155.4 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004486/3.946, allocations: 258.5 kB / 1.78 GB, free: 155.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.757e-06/3.946, allocations: 0 / 1.78 GB, free: 155.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.143e-06/3.946, allocations: 2.656 kB / 1.78 GB, free: 155.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004027/3.947, allocations: 103.6 kB / 1.78 GB, free: 155.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.985e-06/3.947, allocations: 4.5 kB / 1.78 GB, free: 155.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007241/3.947, allocations: 83.19 kB / 1.78 GB, free: 155.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.617e-05/3.947, allocations: 19.36 kB / 1.78 GB, free: 155.4 MB / 0.948 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 () * 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.0001449/3.948, allocations: 126.2 kB / 1.78 GB, free: 155.3 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001432/3.948, allocations: 73.38 kB / 1.781 GB, free: 155.3 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006306/3.948, allocations: 285.1 kB / 1.781 GB, free: 155.2 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.722e-05/3.948, allocations: 0 / 1.781 GB, free: 155.2 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.664e-06/3.948, allocations: 6 kB / 1.781 GB, free: 155.2 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.111e-06/3.948, allocations: 0 / 1.781 GB, free: 155.2 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001505/3.95, allocations: 0.8547 MB / 1.782 GB, free: 154.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.66e-06/3.95, allocations: 2.938 kB / 1.782 GB, free: 154.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003486/3.95, allocations: 72.06 kB / 1.782 GB, free: 154.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.137e-06/3.95, allocations: 2.406 kB / 1.782 GB, free: 154.9 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.351e-05/3.95, allocations: 13.16 kB / 1.782 GB, free: 154.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009426/3.951, allocations: 2.35 MB / 1.784 GB, free: 152.5 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.528e-06/3.951, allocations: 5.469 kB / 1.784 GB, free: 152.5 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004535/3.952, allocations: 420.8 kB / 1.784 GB, free: 152.3 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003623/3.952, allocations: 175.2 kB / 1.785 GB, free: 152.1 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001221/3.952, allocations: 3.5 kB / 1.785 GB, free: 152.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005226/3.953, allocations: 68.95 kB / 1.785 GB, free: 152.1 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.137e-05/3.953, allocations: 9.547 kB / 1.785 GB, free: 152.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.179e-05/3.953, allocations: 16.17 kB / 1.785 GB, free: 152.1 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0005654/3.954, allocations: 452.2 kB / 1.785 GB, free: 152.1 MB / 0.948 GB Notification: Performance of sort global known variables: time 2.3e-07/3.954, allocations: 3.281 kB / 1.785 GB, free: 152.1 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001561/3.955, allocations: 383.7 kB / 1.786 GB, free: 152 MB / 0.948 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 (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.001806/3.957, allocations: 1.59 MB / 1.787 GB, free: 151 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001423/3.958, allocations: 435 kB / 1.787 GB, free: 150.9 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/3.958, allocations: 0 / 1.787 GB, free: 150.9 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003213/3.959, allocations: 115.9 kB / 1.788 GB, free: 150.9 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002177/3.961, allocations: 379.2 kB / 1.788 GB, free: 150.9 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002477/3.963, allocations: 0.904 MB / 1.789 GB, free: 150.6 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004504/3.964, allocations: 0.9464 MB / 1.79 GB, free: 149.9 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0008562/3.965, allocations: 155 kB / 1.79 GB, free: 149.9 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002963/3.965, allocations: 245.1 kB / 1.79 GB, free: 149.9 MB / 0.948 GB Notification: Performance of SimCode: time 1.052e-06/3.965, allocations: 3.391 kB / 1.79 GB, free: 149.9 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0515/4.017, allocations: 23.81 MB / 1.813 GB, free: 149.5 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002093/4.017, allocations: 243.1 kB / 1.814 GB, free: 149.2 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.301/7.318, allocations: 2.688 kB / 1.814 GB, free: 149.2 MB / 0.948 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)