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.438/1.438, allocations: 249.3 MB / 261.8 MB, free: 5.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.001069/0.001069, allocations: 178.5 kB / 321.3 MB, free: 14.65 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.705/1.705, allocations: 205.2 MB / 0.572 GB, free: 10.6 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.001018/0.001019, allocations: 86.47 kB / 0.6764 GB, free: 15.57 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 5.393e-05/5.443e-05, allocations: 7.984 kB / 0.788 GB, free: 96.99 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2635/0.2635, allocations: 106.3 MB / 0.8919 GB, free: 6.551 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.669/1.932, allocations: 391 MB / 1.274 GB, free: 256.7 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004041/1.933, allocations: 93.23 kB / 1.274 GB, free: 256.7 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 1.409/3.342, allocations: 397.5 MB / 1.662 GB, free: 199.9 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.503e-06/3.342, allocations: 0 / 1.662 GB, free: 199.9 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 6.791e-05/3.342, allocations: 25.75 kB / 1.662 GB, free: 199.9 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.00198/3.344, allocations: 1.043 MB / 1.663 GB, free: 199.4 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.426e-05/3.344, allocations: 10.88 kB / 1.663 GB, free: 199.4 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001136/3.344, allocations: 85.89 kB / 1.663 GB, free: 199.3 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001778/3.344, allocations: 100.5 kB / 1.663 GB, free: 199.3 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009911/3.345, allocations: 0.5703 MB / 1.664 GB, free: 199.1 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.476e-05/3.345, allocations: 40.69 kB / 1.664 GB, free: 199 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.191e-05/3.345, allocations: 60.88 kB / 1.664 GB, free: 199 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006228/3.346, allocations: 371.5 kB / 1.664 GB, free: 199 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.35e-05/3.346, allocations: 0 / 1.664 GB, free: 199 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.042e-05/3.346, allocations: 21.59 kB / 1.664 GB, free: 199 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.014e-05/3.346, allocations: 11.72 kB / 1.664 GB, free: 199 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004019/3.346, allocations: 261.1 kB / 1.665 GB, free: 199 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.002562/3.349, allocations: 1.856 MB / 1.666 GB, free: 198.1 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002466/3.349, allocations: 148.7 kB / 1.666 GB, free: 198.1 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001047/3.349, allocations: 67.03 kB / 1.667 GB, free: 198.1 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00027/3.35, allocations: 348 kB / 1.667 GB, free: 197.7 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.172e-05/3.35, allocations: 33.66 kB / 1.667 GB, free: 197.7 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=19): time 1.843e-06/3.35, allocations: 0 / 1.667 GB, free: 197.7 MB / 0.8698 GB Notification: Performance of matching and sorting (n=19): time 0.000398/3.35, allocations: 213.4 kB / 1.667 GB, free: 197.6 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.249e-05/3.35, allocations: 55.91 kB / 1.667 GB, free: 197.6 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006092/3.351, allocations: 0.5747 MB / 1.668 GB, free: 197.4 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 3.151e-05/3.351, allocations: 29.52 kB / 1.668 GB, free: 197.4 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.000226/3.351, allocations: 377.1 kB / 1.668 GB, free: 197.3 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 5.116e-05/3.351, allocations: 70.45 kB / 1.668 GB, free: 197.2 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.639e-05/3.351, allocations: 4.719 kB / 1.668 GB, free: 197.2 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001223/3.351, allocations: 379.7 kB / 1.669 GB, free: 196.9 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001386/3.351, allocations: 84.58 kB / 1.669 GB, free: 196.9 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002246/3.352, allocations: 202.3 kB / 1.669 GB, free: 196.8 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001909/3.352, allocations: 112.9 kB / 1.669 GB, free: 196.8 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/3.352, allocations: 0 / 1.669 GB, free: 196.8 MB / 0.8698 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0004981/3.352, allocations: 350.9 kB / 1.669 GB, free: 196.7 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001017/3.352, allocations: 274.8 kB / 1.67 GB, free: 196.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.156e-06/3.352, allocations: 3.938 kB / 1.67 GB, free: 196.4 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.739e-05/3.352, allocations: 0 / 1.67 GB, free: 196.4 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000883/3.353, allocations: 140 kB / 1.67 GB, free: 196.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001084/3.354, allocations: 2.372 MB / 1.672 GB, free: 194.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007683/3.355, allocations: 90.03 kB / 1.672 GB, free: 194.1 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.961e-05/3.355, allocations: 14.53 kB / 1.672 GB, free: 194.1 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.253e-05/3.355, allocations: 3.5 kB / 1.672 GB, free: 194.1 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004253/3.356, allocations: 252.1 kB / 1.672 GB, free: 194.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.966e-06/3.356, allocations: 0 / 1.672 GB, free: 194.1 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.493e-06/3.356, allocations: 3.906 kB / 1.672 GB, free: 194.1 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003954/3.356, allocations: 103.7 kB / 1.672 GB, free: 194.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.59e-06/3.356, allocations: 3.562 kB / 1.672 GB, free: 194.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005195/3.357, allocations: 88.19 kB / 1.673 GB, free: 194.1 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.157e-05/3.357, allocations: 20.89 kB / 1.673 GB, free: 194.1 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.0001187/3.357, allocations: 126.1 kB / 1.673 GB, free: 193.9 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001188/3.357, allocations: 66.59 kB / 1.673 GB, free: 193.9 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005729/3.358, allocations: 274.6 kB / 1.673 GB, free: 193.9 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.767e-06/3.358, allocations: 3.719 kB / 1.673 GB, free: 193.9 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/3.358, allocations: 0 / 1.673 GB, free: 193.9 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.135e-06/3.358, allocations: 2.719 kB / 1.673 GB, free: 193.9 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001189/3.359, allocations: 0.8621 MB / 1.674 GB, free: 193.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.851e-06/3.359, allocations: 0 / 1.674 GB, free: 193.5 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003417/3.359, allocations: 76.95 kB / 1.674 GB, free: 193.5 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.739e-06/3.359, allocations: 0 / 1.674 GB, free: 193.5 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.472e-05/3.359, allocations: 14.7 kB / 1.674 GB, free: 193.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001301/3.36, allocations: 2.349 MB / 1.676 GB, free: 191.2 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.997e-06/3.361, allocations: 7.75 kB / 1.676 GB, free: 191.2 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000575/3.361, allocations: 421.3 kB / 1.677 GB, free: 190.9 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002759/3.361, allocations: 176.3 kB / 1.677 GB, free: 190.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.531e-05/3.361, allocations: 0 / 1.677 GB, free: 190.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004538/3.362, allocations: 57.75 kB / 1.677 GB, free: 190.8 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.299e-05/3.362, allocations: 23.39 kB / 1.677 GB, free: 190.8 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.783e-05/3.362, allocations: 10.33 kB / 1.677 GB, free: 190.8 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0006154/3.363, allocations: 462.2 kB / 1.677 GB, free: 190.7 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.5e-07/3.363, allocations: 0 / 1.677 GB, free: 190.7 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001461/3.364, allocations: 387.9 kB / 1.678 GB, free: 190.6 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.001556/3.366, allocations: 1.572 MB / 1.679 GB, free: 189.5 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001257/3.367, allocations: 431.6 kB / 1.68 GB, free: 189.5 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/3.367, allocations: 0 / 1.68 GB, free: 189.5 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002885/3.367, allocations: 120.1 kB / 1.68 GB, free: 189.5 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001872/3.369, allocations: 380.1 kB / 1.68 GB, free: 189.5 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001748/3.371, allocations: 0.8999 MB / 1.681 GB, free: 189.1 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003811/3.371, allocations: 0.9542 MB / 1.682 GB, free: 188.4 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0006979/3.372, allocations: 155.1 kB / 1.682 GB, free: 188.4 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002821/3.372, allocations: 244.6 kB / 1.682 GB, free: 188.4 MB / 0.8698 GB Notification: Performance of SimCode: time 1.493e-06/3.372, allocations: 0 / 1.682 GB, free: 188.4 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0478/3.42, allocations: 23.8 MB / 1.706 GB, free: 187.8 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002444/3.42, allocations: 252.6 kB / 1.706 GB, free: 187.5 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.103/6.524, allocations: 0 / 1.706 GB, free: 187.5 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)