Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization,fileNamePrefix="Buildings_maint_8_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_8_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 8.0.1-maint.8.0.x/package.mo): time 1.765/1.765, allocations: 285.6 MB / 293.1 MB, free: 10.23 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.001082/0.001082, allocations: 184.9 kB / 361.4 MB, free: 6.855 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.758/1.758, allocations: 205.3 MB / 0.62 GB, free: 11.66 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.0009305/0.0009306, allocations: 91.48 kB / 0.733 GB, free: 44.18 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.654e-05/2.658e-05, allocations: 4 kB / 0.8518 GB, free: 2.656 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8163/0.8164, allocations: 115.3 MB / 0.9645 GB, free: 78.62 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.267/2.084, allocations: 397.9 MB / 1.353 GB, free: 168.5 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002912/2.084, allocations: 94 kB / 1.353 GB, free: 168.4 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 1.548/3.633, allocations: 406.5 MB / 1.75 GB, free: 209 MB / 0.9323 GB Notification: Performance of FrontEnd: time 2.164e-06/3.633, allocations: 0 / 1.75 GB, free: 209 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0001252/3.633, allocations: 18.66 kB / 1.75 GB, free: 209 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.002646/3.636, allocations: 1.054 MB / 1.751 GB, free: 208.1 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 5.192e-05/3.636, allocations: 12.09 kB / 1.751 GB, free: 208.1 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004386/3.636, allocations: 92.97 kB / 1.751 GB, free: 208.1 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001416/3.637, allocations: 0.5707 MB / 1.752 GB, free: 207.7 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.974e-05/3.638, allocations: 15.78 kB / 1.752 GB, free: 207.7 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001084/3.638, allocations: 35.38 kB / 1.752 GB, free: 207.7 MB / 0.9323 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005687/3.638, allocations: 243.5 kB / 1.752 GB, free: 207.6 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006122/3.639, allocations: 310.8 kB / 1.752 GB, free: 207.4 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.64e-05/3.639, allocations: 0 / 1.752 GB, free: 207.4 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.279e-05/3.639, allocations: 0 / 1.752 GB, free: 207.4 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.686e-05/3.639, allocations: 14.56 kB / 1.752 GB, free: 207.4 MB / 0.9323 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.002851/3.642, allocations: 1.742 MB / 1.754 GB, free: 206 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002368/3.642, allocations: 151.8 kB / 1.754 GB, free: 205.9 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.216e-05/3.642, allocations: 62.41 kB / 1.754 GB, free: 205.9 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002612/3.642, allocations: 343.6 kB / 1.755 GB, free: 205.5 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.927e-05/3.642, allocations: 34.52 kB / 1.755 GB, free: 205.4 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=19): time 1.753e-06/3.642, allocations: 2.969 kB / 1.755 GB, free: 205.4 MB / 0.9323 GB Notification: Performance of matching and sorting (n=19): time 0.0005248/3.643, allocations: 218.6 kB / 1.755 GB, free: 205.3 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.566e-05/3.643, allocations: 55.31 kB / 1.755 GB, free: 205.3 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004814/3.644, allocations: 484 kB / 1.755 GB, free: 205 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 3.099e-05/3.644, allocations: 28.92 kB / 1.755 GB, free: 204.9 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.000198/3.644, allocations: 363.5 kB / 1.756 GB, free: 204.6 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 4.031e-05/3.644, allocations: 68.91 kB / 1.756 GB, free: 204.6 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.573e-05/3.644, allocations: 2.938 kB / 1.756 GB, free: 204.6 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001093/3.644, allocations: 369.5 kB / 1.756 GB, free: 204.2 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000131/3.644, allocations: 78.88 kB / 1.756 GB, free: 204.2 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002144/3.644, allocations: 193.9 kB / 1.756 GB, free: 204 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002358/3.645, allocations: 116.8 kB / 1.757 GB, free: 203.9 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/3.645, allocations: 2.938 kB / 1.757 GB, free: 203.9 MB / 0.9323 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0005306/3.645, allocations: 339.6 kB / 1.757 GB, free: 203.8 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001127/3.645, allocations: 277.8 kB / 1.757 GB, free: 203.5 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.815e-06/3.645, allocations: 0 / 1.757 GB, free: 203.5 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.043e-05/3.645, allocations: 7.844 kB / 1.757 GB, free: 203.5 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009019/3.646, allocations: 138.7 kB / 1.757 GB, free: 203.5 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001006/3.647, allocations: 2.389 MB / 1.76 GB, free: 201.1 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00062/3.648, allocations: 68.88 kB / 1.76 GB, free: 201 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.607e-05/3.648, allocations: 22.33 kB / 1.76 GB, free: 201 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.204e-05/3.648, allocations: 5.094 kB / 1.76 GB, free: 201 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003985/3.648, allocations: 225.1 kB / 1.76 GB, free: 200.9 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.327e-06/3.648, allocations: 3.938 kB / 1.76 GB, free: 200.9 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.887e-06/3.648, allocations: 0 / 1.76 GB, free: 200.9 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003883/3.649, allocations: 100.3 kB / 1.76 GB, free: 200.9 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.609e-06/3.649, allocations: 7.922 kB / 1.76 GB, free: 200.9 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004182/3.649, allocations: 65.12 kB / 1.76 GB, free: 200.9 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.845e-05/3.649, allocations: 15.8 kB / 1.76 GB, free: 200.9 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 () * 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.0001057/3.649, allocations: 118.2 kB / 1.76 GB, free: 200.7 MB / 0.9323 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003161/3.65, allocations: 204.9 kB / 1.76 GB, free: 200.6 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.262e-05/3.65, allocations: 62.7 kB / 1.761 GB, free: 200.6 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000513/3.65, allocations: 263.2 kB / 1.761 GB, free: 200.4 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.007e-05/3.65, allocations: 3.906 kB / 1.761 GB, free: 200.4 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.334e-06/3.65, allocations: 0 / 1.761 GB, free: 200.4 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.802e-06/3.65, allocations: 3.984 kB / 1.761 GB, free: 200.4 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0011/3.651, allocations: 0.776 MB / 1.762 GB, free: 199.8 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.938e-06/3.651, allocations: 0 / 1.762 GB, free: 199.8 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003069/3.652, allocations: 76.88 kB / 1.762 GB, free: 199.8 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.169e-06/3.652, allocations: 3.5 kB / 1.762 GB, free: 199.8 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.743e-05/3.652, allocations: 11.67 kB / 1.762 GB, free: 199.8 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007174/3.652, allocations: 2.357 MB / 1.764 GB, free: 197.4 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.377e-06/3.652, allocations: 0 / 1.764 GB, free: 197.4 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003975/3.653, allocations: 400.2 kB / 1.764 GB, free: 197.1 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001586/3.653, allocations: 171.1 kB / 1.764 GB, free: 196.9 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.559e-05/3.653, allocations: 0 / 1.764 GB, free: 196.9 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003673/3.654, allocations: 51.44 kB / 1.765 GB, free: 196.9 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.513e-05/3.654, allocations: 21.78 kB / 1.765 GB, free: 196.9 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.514e-05/3.654, allocations: 7.531 kB / 1.765 GB, free: 196.9 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.000344/3.654, allocations: 361.2 kB / 1.765 GB, free: 196.7 MB / 0.9323 GB Notification: Performance of sort global known variables: time 1.7e-07/3.654, allocations: 0 / 1.765 GB, free: 196.7 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.001094/3.655, allocations: 382.8 kB / 1.765 GB, free: 196.6 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 () * 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.0014/3.656, allocations: 1.588 MB / 1.767 GB, free: 195.4 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.001116/3.658, allocations: 423 kB / 1.767 GB, free: 195.2 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/3.658, allocations: 0 / 1.767 GB, free: 195.2 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0002663/3.658, allocations: 107.4 kB / 1.767 GB, free: 195.2 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001532/3.659, allocations: 297 kB / 1.768 GB, free: 195.1 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001657/3.661, allocations: 0.8643 MB / 1.768 GB, free: 194.5 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003978/3.662, allocations: 0.9445 MB / 1.769 GB, free: 193.7 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.0005402/3.662, allocations: 129.8 kB / 1.769 GB, free: 193.7 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002527/3.662, allocations: 238.2 kB / 1.77 GB, free: 193.5 MB / 0.9323 GB Notification: Performance of SimCode: time 2.8e-07/3.662, allocations: 0 / 1.77 GB, free: 193.5 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03876/3.701, allocations: 18.06 MB / 1.787 GB, free: 182.2 MB / 0.9323 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002025/3.701, allocations: 208.7 kB / 1.788 GB, free: 181.9 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.851/6.552, allocations: 0 / 1.788 GB, free: 181.9 MB / 0.9323 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Actuators_Valves_Validation_TwoWayValveParameterization_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Actuators_Valves_Validation_TwoWayValveParameterization.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe 2>&1)