Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Actuators_Valves_Validation_TwoWayValveParameterization",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization,fileNamePrefix="Buildings_maint_7_0_x_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 7.0.3-maint.7.0.x/package.mo): time 1.437/1.437, allocations: 249.5 MB / 257 MB, free: 6.953 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.001087/0.001087, allocations: 180 kB / 316.3 MB, free: 3.293 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.63/1.63, allocations: 205.3 MB / 0.5671 GB, free: 15.84 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.0007954/0.0007953, allocations: 93.73 kB / 0.6714 GB, free: 4.957 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.161e-05/2.155e-05, allocations: 4 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2155/0.2156, allocations: 106.3 MB / 0.8853 GB, free: 12.19 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.56/1.776, allocations: 391.3 MB / 1.267 GB, free: 322.5 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003418/1.776, allocations: 92.8 kB / 1.268 GB, free: 322.5 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 1.305/3.081, allocations: 394.8 MB / 1.653 GB, free: 202.3 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.754e-06/3.081, allocations: 0 / 1.653 GB, free: 202.3 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 7.25e-05/3.081, allocations: 28.12 kB / 1.653 GB, free: 202.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: 117 * Number of variables: 117 Notification: Performance of Generate backend data structure: time 0.002184/3.083, allocations: 1.044 MB / 1.654 GB, free: 201.9 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.679e-05/3.083, allocations: 11.19 kB / 1.654 GB, free: 201.9 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002072/3.084, allocations: 100.3 kB / 1.654 GB, free: 201.9 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001079/3.085, allocations: 0.5663 MB / 1.655 GB, free: 201.6 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.393e-05/3.085, allocations: 14.62 kB / 1.655 GB, free: 201.6 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.088e-05/3.085, allocations: 35.12 kB / 1.655 GB, free: 201.6 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005014/3.085, allocations: 233.7 kB / 1.655 GB, free: 201.6 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005988/3.086, allocations: 318.7 kB / 1.655 GB, free: 201.6 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.617e-05/3.086, allocations: 3.25 kB / 1.655 GB, free: 201.6 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.461e-05/3.086, allocations: 0 / 1.655 GB, free: 201.6 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.317e-05/3.086, allocations: 11.84 kB / 1.655 GB, free: 201.6 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.002909/3.089, allocations: 1.733 MB / 1.657 GB, free: 200.8 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002806/3.089, allocations: 148.5 kB / 1.657 GB, free: 200.7 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001053/3.089, allocations: 66.89 kB / 1.657 GB, free: 200.7 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002904/3.09, allocations: 348.4 kB / 1.658 GB, free: 200.4 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.538e-05/3.09, allocations: 33.75 kB / 1.658 GB, free: 200.3 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=19): time 1.763e-06/3.09, allocations: 3.75 kB / 1.658 GB, free: 200.3 MB / 0.8698 GB Notification: Performance of matching and sorting (n=19): time 0.0005897/3.09, allocations: 214.5 kB / 1.658 GB, free: 200.3 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.503e-05/3.09, allocations: 51.41 kB / 1.658 GB, free: 200.2 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005671/3.091, allocations: 489 kB / 1.658 GB, free: 200.1 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 3.512e-05/3.091, allocations: 28.64 kB / 1.658 GB, free: 200 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002462/3.091, allocations: 372.1 kB / 1.659 GB, free: 199.9 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 4.76e-05/3.091, allocations: 57.75 kB / 1.659 GB, free: 199.9 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.746e-05/3.091, allocations: 0 / 1.659 GB, free: 199.9 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001142/3.091, allocations: 371.2 kB / 1.659 GB, free: 199.6 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001503/3.092, allocations: 77.91 kB / 1.659 GB, free: 199.5 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002294/3.092, allocations: 187.2 kB / 1.659 GB, free: 199.4 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002909/3.092, allocations: 116.8 kB / 1.66 GB, free: 199.4 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.005e-06/3.092, allocations: 3.875 kB / 1.66 GB, free: 199.4 MB / 0.8698 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0006011/3.093, allocations: 327.1 kB / 1.66 GB, free: 199.4 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001002/3.093, allocations: 280.4 kB / 1.66 GB, free: 199.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.143e-06/3.093, allocations: 0 / 1.66 GB, free: 199.1 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.166e-05/3.093, allocations: 7.234 kB / 1.66 GB, free: 199.1 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001062/3.094, allocations: 135.7 kB / 1.66 GB, free: 199.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001092/3.095, allocations: 2.397 MB / 1.663 GB, free: 196.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007665/3.096, allocations: 72.94 kB / 1.663 GB, free: 196.7 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.925e-05/3.096, allocations: 18.42 kB / 1.663 GB, free: 196.7 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.242e-05/3.096, allocations: 6.969 kB / 1.663 GB, free: 196.7 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000489/3.096, allocations: 225 kB / 1.663 GB, free: 196.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.866e-06/3.096, allocations: 0 / 1.663 GB, free: 196.7 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.092e-06/3.096, allocations: 3.438 kB / 1.663 GB, free: 196.7 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004709/3.097, allocations: 103.2 kB / 1.663 GB, free: 196.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.715e-06/3.097, allocations: 0 / 1.663 GB, free: 196.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005639/3.098, allocations: 63.58 kB / 1.663 GB, free: 196.7 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.558e-05/3.098, allocations: 17.11 kB / 1.663 GB, free: 196.7 MB / 0.8698 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.0001243/3.098, allocations: 122.8 kB / 1.663 GB, free: 196.6 MB / 0.8698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000386/3.098, allocations: 202 kB / 1.663 GB, free: 196.5 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.893e-05/3.098, allocations: 62.66 kB / 1.663 GB, free: 196.5 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006304/3.099, allocations: 260.4 kB / 1.664 GB, free: 196.5 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.743e-06/3.099, allocations: 3.625 kB / 1.664 GB, free: 196.5 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/3.099, allocations: 0 / 1.664 GB, free: 196.5 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.009e-06/3.099, allocations: 0 / 1.664 GB, free: 196.5 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001103/3.1, allocations: 0.7708 MB / 1.664 GB, free: 196.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.219e-06/3.1, allocations: 0 / 1.664 GB, free: 196.2 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003138/3.1, allocations: 73.22 kB / 1.665 GB, free: 196.2 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.165e-06/3.1, allocations: 9.953 kB / 1.665 GB, free: 196.2 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.649e-05/3.1, allocations: 3.812 kB / 1.665 GB, free: 196.2 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000697/3.101, allocations: 2.358 MB / 1.667 GB, free: 193.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.157e-06/3.101, allocations: 6.281 kB / 1.667 GB, free: 193.8 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004071/3.102, allocations: 399.9 kB / 1.667 GB, free: 193.6 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002117/3.102, allocations: 169.4 kB / 1.667 GB, free: 193.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.38e-05/3.102, allocations: 6.25 kB / 1.667 GB, free: 193.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003869/3.102, allocations: 49.75 kB / 1.667 GB, free: 193.4 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.986e-05/3.102, allocations: 18.16 kB / 1.667 GB, free: 193.4 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.972e-05/3.102, allocations: 9.656 kB / 1.667 GB, free: 193.4 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0003741/3.103, allocations: 364.4 kB / 1.668 GB, free: 193.3 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.3e-07/3.103, allocations: 0 / 1.668 GB, free: 193.3 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001228/3.104, allocations: 380.5 kB / 1.668 GB, free: 193.3 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 (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.001474/3.105, allocations: 1.578 MB / 1.67 GB, free: 192.2 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001317/3.107, allocations: 418.8 kB / 1.67 GB, free: 192.2 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/3.107, allocations: 0 / 1.67 GB, free: 192.2 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002601/3.107, allocations: 119.4 kB / 1.67 GB, free: 192.2 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001577/3.109, allocations: 292.2 kB / 1.671 GB, free: 192.2 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001817/3.11, allocations: 0.8559 MB / 1.671 GB, free: 191.8 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003506/3.111, allocations: 0.9498 MB / 1.672 GB, free: 191.1 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0005619/3.111, allocations: 136.8 kB / 1.672 GB, free: 191.1 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002334/3.112, allocations: 242.1 kB / 1.673 GB, free: 191.1 MB / 0.8698 GB Notification: Performance of SimCode: time 1.072e-06/3.112, allocations: 0 / 1.673 GB, free: 191.1 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04408/3.156, allocations: 18.04 MB / 1.69 GB, free: 190.9 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001805/3.156, allocations: 207.9 kB / 1.69 GB, free: 190.6 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.835/5.991, allocations: 0 / 1.69 GB, free: 190.6 MB / 0.8698 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Actuators_Valves_Validation_TwoWayValveParameterization_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Actuators_Valves_Validation_TwoWayValveParameterization.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe 2>&1)