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.41/1.41, allocations: 252 MB / 267 MB, free: 10.98 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001049/0.001049, allocations: 184.5 kB / 326.6 MB, free: 2.23 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.931/1.931, allocations: 205.4 MB / 0.5777 GB, free: 20.61 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.0009045/0.0009046, allocations: 93.11 kB / 0.6823 GB, free: 13.34 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003386/0.0003387, allocations: 7.906 kB / 0.7965 GB, free: 135.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.231/0.2313, allocations: 106.3 MB / 0.9003 GB, free: 64.33 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization): time 0.02218/0.2536, allocations: 28.54 MB / 0.9282 GB, free: 35.69 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0164/0.2701, allocations: 13.16 MB / 0.941 GB, free: 22.51 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001409/0.2715, allocations: 31.69 kB / 0.9411 GB, free: 22.48 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.001027/0.2726, allocations: 270.1 kB / 0.9413 GB, free: 22.21 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.002757/0.2753, allocations: 0.9169 MB / 0.9422 GB, free: 21.29 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.00218/0.2775, allocations: 0.7031 MB / 0.9429 GB, free: 20.6 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.002838/0.2804, allocations: 2.401 MB / 0.9452 GB, free: 18.19 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001104/0.2815, allocations: 0.5147 MB / 0.9457 GB, free: 17.66 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002706/0.2842, allocations: 0.8128 MB / 0.9465 GB, free: 16.85 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001287/0.2855, allocations: 0.6262 MB / 0.9472 GB, free: 16.22 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 8.116e-05/0.2856, allocations: 35.98 kB / 0.9472 GB, free: 16.18 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001387/0.287, allocations: 0.5107 MB / 0.9477 GB, free: 15.67 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001486/0.2872, allocations: 131.4 kB / 0.9478 GB, free: 15.54 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0002348/0.2874, allocations: 173.3 kB / 0.948 GB, free: 15.37 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0007165/0.2881, allocations: 0.7519 MB / 0.9487 GB, free: 14.61 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.702e-06/0.2881, allocations: 4 kB / 0.9487 GB, free: 14.61 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.044e-06/0.2882, allocations: 0 / 0.9487 GB, free: 14.61 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 9.758e-06/0.2882, allocations: 0 / 0.9487 GB, free: 14.61 MB / 0.6042 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.00147/0.2897, allocations: 1.016 MB / 0.9497 GB, free: 13.54 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.361e-05/0.2897, allocations: 12.03 kB / 0.9497 GB, free: 13.53 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.066e-05/0.2898, allocations: 86.52 kB / 0.9498 GB, free: 13.44 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001127/0.2899, allocations: 94.88 kB / 0.9499 GB, free: 13.34 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006699/0.2906, allocations: 0.5266 MB / 0.9504 GB, free: 12.78 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.967e-05/0.2906, allocations: 37 kB / 0.9504 GB, free: 12.74 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.572e-05/0.2907, allocations: 52 kB / 0.9505 GB, free: 12.69 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006412/0.2914, allocations: 414.4 kB / 0.9509 GB, free: 12.28 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.357e-05/0.2914, allocations: 3.953 kB / 0.9509 GB, free: 12.28 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.423e-05/0.2914, allocations: 23.94 kB / 0.9509 GB, free: 12.25 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.084e-05/0.2914, allocations: 12 kB / 0.9509 GB, free: 12.24 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005181/0.292, allocations: 311.8 kB / 0.9512 GB, free: 11.93 MB / 0.6042 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.002224/0.2942, allocations: 1.854 MB / 0.953 GB, free: 9.926 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002949/0.2945, allocations: 167.8 kB / 0.9532 GB, free: 9.754 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001619/0.2947, allocations: 92.8 kB / 0.9533 GB, free: 9.66 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002056/0.2949, allocations: 332.4 kB / 0.9536 GB, free: 9.262 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.95e-05/0.2949, allocations: 38.48 kB / 0.9536 GB, free: 9.215 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=19): time 1.473e-06/0.2949, allocations: 0 / 0.9536 GB, free: 9.215 MB / 0.6042 GB Notification: Performance of matching and sorting (n=19): time 0.0006394/0.2956, allocations: 315.1 kB / 0.9539 GB, free: 8.902 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.296e-05/0.2956, allocations: 59.39 kB / 0.954 GB, free: 8.832 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005752/0.2962, allocations: 0.6646 MB / 0.9546 GB, free: 8.156 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.706e-05/0.2962, allocations: 33.7 kB / 0.9547 GB, free: 8.117 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001928/0.2964, allocations: 368 kB / 0.955 GB, free: 7.75 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.502e-05/0.2965, allocations: 63.09 kB / 0.9551 GB, free: 7.688 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.644e-05/0.2965, allocations: 12 kB / 0.9551 GB, free: 7.676 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 9.128e-05/0.2966, allocations: 374.8 kB / 0.9555 GB, free: 7.301 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002131/0.2968, allocations: 103.9 kB / 0.9556 GB, free: 7.199 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003031/0.2971, allocations: 181.9 kB / 0.9557 GB, free: 6.996 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002349/0.2974, allocations: 122.3 kB / 0.9558 GB, free: 6.879 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.2974, allocations: 0 / 0.9558 GB, free: 6.879 MB / 0.6042 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0005669/0.298, allocations: 394.5 kB / 0.9562 GB, free: 6.488 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 4.54e-05/0.298, allocations: 106.7 kB / 0.9563 GB, free: 6.371 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/0.298, allocations: 4 kB / 0.9563 GB, free: 6.367 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.504e-05/0.298, allocations: 7.953 kB / 0.9563 GB, free: 6.359 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009715/0.299, allocations: 155.9 kB / 0.9565 GB, free: 6.207 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008249/0.2999, allocations: 2.364 MB / 0.9588 GB, free: 3.75 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005355/0.3004, allocations: 91.59 kB / 0.9589 GB, free: 3.66 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.903e-05/0.3005, allocations: 19.98 kB / 0.9589 GB, free: 3.641 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 6.502e-06/0.3005, allocations: 4 kB / 0.9589 GB, free: 3.637 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00053/0.301, allocations: 292.1 kB / 0.9592 GB, free: 3.352 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.226e-06/0.301, allocations: 4 kB / 0.9592 GB, free: 3.348 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.947e-06/0.301, allocations: 7.938 kB / 0.9592 GB, free: 3.34 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003916/0.3014, allocations: 99.88 kB / 0.9593 GB, free: 3.242 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.04e-06/0.3014, allocations: 11.89 kB / 0.9593 GB, free: 3.23 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004365/0.3019, allocations: 79.62 kB / 0.9594 GB, free: 3.152 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.304e-05/0.3019, allocations: 12 kB / 0.9594 GB, free: 3.141 MB / 0.6042 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.0002107/0.3021, allocations: 265 kB / 0.9596 GB, free: 2.871 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.039e-05/0.3022, allocations: 67.27 kB / 0.9597 GB, free: 2.805 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005853/0.3028, allocations: 324.1 kB / 0.96 GB, free: 2.484 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.058e-05/0.3028, allocations: 4 kB / 0.96 GB, free: 2.48 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.199e-06/0.3028, allocations: 3.953 kB / 0.96 GB, free: 2.477 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.03e-06/0.3028, allocations: 0 / 0.96 GB, free: 2.477 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001047/0.3039, allocations: 0.9014 MB / 0.9609 GB, free: 1.508 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.709e-06/0.3039, allocations: 4 kB / 0.9609 GB, free: 1.504 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002936/0.3042, allocations: 67.94 kB / 0.961 GB, free: 1.438 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.649e-06/0.3042, allocations: 4 kB / 0.961 GB, free: 1.434 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.519e-05/0.3042, allocations: 8 kB / 0.961 GB, free: 1.426 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008935/0.3051, allocations: 2.36 MB / 0.9633 GB, free: 14.97 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.943e-06/0.3052, allocations: 0 / 0.9633 GB, free: 14.97 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005551/0.3057, allocations: 402.5 kB / 0.9637 GB, free: 14.55 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001944/0.3059, allocations: 176 kB / 0.9638 GB, free: 14.36 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.063e-05/0.306, allocations: 11.95 kB / 0.9638 GB, free: 14.35 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003898/0.3064, allocations: 43.95 kB / 0.9639 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.442e-05/0.3065, allocations: 19.97 kB / 0.9639 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.66e-05/0.3065, allocations: 12 kB / 0.9639 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0005492/0.307, allocations: 463 kB / 0.9644 GB, free: 13.82 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.5e-07/0.307, allocations: 0 / 0.9644 GB, free: 13.82 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0008737/0.3079, allocations: 355 kB / 0.9647 GB, free: 13.48 MB / 0.6198 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.001235/0.3092, allocations: 1.071 MB / 0.9657 GB, free: 12.38 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001592/0.3108, allocations: 0.4954 MB / 0.9662 GB, free: 11.89 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.3108, allocations: 0 / 0.9662 GB, free: 11.89 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.000386/0.3112, allocations: 140.1 kB / 0.9664 GB, free: 11.75 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001976/0.3132, allocations: 386 kB / 0.9667 GB, free: 11.38 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005431/0.3186, allocations: 3.511 MB / 0.9702 GB, free: 7.797 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005453/0.3192, allocations: 0.9332 MB / 0.9711 GB, free: 6.836 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0006257/0.3198, allocations: 116.5 kB / 0.9712 GB, free: 6.723 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003225/0.3202, allocations: 259.3 kB / 0.9714 GB, free: 6.469 MB / 0.6198 GB Notification: Performance of SimCode: time 1.011e-06/0.3202, allocations: 0 / 0.9714 GB, free: 6.469 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03856/0.3587, allocations: 18.54 MB / 0.9895 GB, free: 4.312 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000265/0.3591, allocations: 296 kB / 0.9898 GB, free: 3.945 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.703/3.062, allocations: 0 / 0.9898 GB, free: 3.945 MB / 0.6355 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)