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.47/1.47, allocations: 252 MB / 267.3 MB, free: 10.84 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.0009549/0.0009549, allocations: 172 kB / 327 MB, free: 2.082 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.757/1.757, allocations: 205.4 MB / 0.578 GB, free: 20.45 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.0007412/0.0007409, allocations: 86 kB / 0.6826 GB, free: 13.21 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004438/0.0004438, allocations: 12.5 kB / 0.7971 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2311/0.2316, allocations: 106.3 MB / 0.9009 GB, free: 63.71 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization): time 0.02819/0.2598, allocations: 30.15 MB / 0.9304 GB, free: 33.45 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.01938/0.2793, allocations: 14.16 MB / 0.9442 GB, free: 19.25 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001861/0.2812, allocations: 35.69 kB / 0.9442 GB, free: 19.22 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.001309/0.2825, allocations: 318.2 kB / 0.9445 GB, free: 18.91 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.003774/0.2863, allocations: 1.056 MB / 0.9456 GB, free: 17.85 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.002612/0.2889, allocations: 0.7523 MB / 0.9463 GB, free: 17.1 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.003265/0.2922, allocations: 2.81 MB / 0.949 GB, free: 14.28 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001144/0.2934, allocations: 0.5651 MB / 0.9496 GB, free: 13.7 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002223/0.2956, allocations: 0.8828 MB / 0.9504 GB, free: 12.82 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001272/0.2969, allocations: 0.6612 MB / 0.9511 GB, free: 12.15 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.0002488/0.2972, allocations: 28 kB / 0.9511 GB, free: 12.12 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001665/0.2989, allocations: 0.5692 MB / 0.9517 GB, free: 11.55 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0002629/0.2991, allocations: 139.2 kB / 0.9518 GB, free: 11.42 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0007359/0.2999, allocations: 423.4 kB / 0.9522 GB, free: 11 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.001851/0.3017, allocations: 1.032 MB / 0.9532 GB, free: 9.961 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.3018, allocations: 0 / 0.9532 GB, free: 9.961 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.445e-06/0.3018, allocations: 0 / 0.9532 GB, free: 9.961 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.543e-05/0.3018, allocations: 0 / 0.9532 GB, free: 9.961 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.00181/0.3036, allocations: 1.013 MB / 0.9542 GB, free: 8.898 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.013e-05/0.3037, allocations: 8.031 kB / 0.9542 GB, free: 8.891 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001341/0.3038, allocations: 90.64 kB / 0.9543 GB, free: 8.793 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000195/0.304, allocations: 95.81 kB / 0.9544 GB, free: 8.699 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000846/0.3049, allocations: 0.5612 MB / 0.9549 GB, free: 8.098 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.502e-05/0.3049, allocations: 40.94 kB / 0.955 GB, free: 8.059 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.503e-05/0.305, allocations: 56 kB / 0.955 GB, free: 8.004 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006856/0.3057, allocations: 418.4 kB / 0.9554 GB, free: 7.59 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.367e-05/0.3057, allocations: 0 / 0.9554 GB, free: 7.59 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.546e-05/0.3058, allocations: 20 kB / 0.9555 GB, free: 7.57 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.06e-05/0.3058, allocations: 12 kB / 0.9555 GB, free: 7.559 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005466/0.3064, allocations: 307.8 kB / 0.9558 GB, free: 7.254 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.002588/0.309, allocations: 1.854 MB / 0.9576 GB, free: 5.25 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003442/0.3093, allocations: 174.5 kB / 0.9577 GB, free: 5.07 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001659/0.3095, allocations: 88.8 kB / 0.9578 GB, free: 4.98 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002216/0.3097, allocations: 340.4 kB / 0.9581 GB, free: 4.574 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.495e-05/0.3098, allocations: 38.56 kB / 0.9582 GB, free: 4.527 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=19): time 1.764e-06/0.3098, allocations: 0 / 0.9582 GB, free: 4.527 MB / 0.6042 GB Notification: Performance of matching and sorting (n=19): time 0.0006921/0.3105, allocations: 326.8 kB / 0.9585 GB, free: 4.203 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.697e-05/0.3105, allocations: 51.41 kB / 0.9585 GB, free: 4.141 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006583/0.3112, allocations: 0.6647 MB / 0.9592 GB, free: 3.465 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 3.517e-05/0.3112, allocations: 37.69 kB / 0.9592 GB, free: 3.422 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001995/0.3114, allocations: 360 kB / 0.9596 GB, free: 3.062 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 4.602e-05/0.3115, allocations: 67.08 kB / 0.9596 GB, free: 2.996 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.699e-05/0.3115, allocations: 8 kB / 0.9596 GB, free: 2.988 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 8.968e-05/0.3116, allocations: 382.7 kB / 0.96 GB, free: 2.605 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002193/0.3118, allocations: 115.9 kB / 0.9601 GB, free: 2.492 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002668/0.3121, allocations: 182.1 kB / 0.9603 GB, free: 2.289 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004168/0.3125, allocations: 257.5 kB / 0.9605 GB, free: 2.031 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.3125, allocations: 0 / 0.9605 GB, free: 2.031 MB / 0.6042 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0006998/0.3132, allocations: 406.2 kB / 0.9609 GB, free: 1.629 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 6.524e-05/0.3133, allocations: 110.7 kB / 0.961 GB, free: 1.508 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/0.3133, allocations: 0 / 0.961 GB, free: 1.508 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.833e-05/0.3134, allocations: 4 kB / 0.961 GB, free: 1.504 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001009/0.3144, allocations: 163.9 kB / 0.9612 GB, free: 1.344 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001184/0.3156, allocations: 2.368 MB / 0.9635 GB, free: 14.88 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006783/0.3163, allocations: 91.53 kB / 0.9636 GB, free: 14.79 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.153e-05/0.3163, allocations: 12 kB / 0.9636 GB, free: 14.78 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 9.838e-06/0.3164, allocations: 4 kB / 0.9636 GB, free: 14.78 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006105/0.317, allocations: 292 kB / 0.9639 GB, free: 14.49 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.386e-06/0.317, allocations: 0 / 0.9639 GB, free: 14.49 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.881e-06/0.317, allocations: 4 kB / 0.9639 GB, free: 14.49 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000453/0.3175, allocations: 111.8 kB / 0.964 GB, free: 14.38 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.925e-06/0.3175, allocations: 7.938 kB / 0.964 GB, free: 14.37 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005854/0.3181, allocations: 82.66 kB / 0.9641 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.523e-05/0.3181, allocations: 16 kB / 0.9641 GB, free: 14.28 MB / 0.6198 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 (not torn): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 4 systems {1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003611/0.3185, allocations: 264.1 kB / 0.9643 GB, free: 14.01 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001258/0.3186, allocations: 67.16 kB / 0.9644 GB, free: 13.95 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007273/0.3193, allocations: 319.1 kB / 0.9647 GB, free: 13.63 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.012e-05/0.3194, allocations: 0 / 0.9647 GB, free: 13.63 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.125e-05/0.3194, allocations: 7.984 kB / 0.9647 GB, free: 13.62 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/0.3194, allocations: 192 / 0.9647 GB, free: 13.62 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00154/0.3209, allocations: 0.8878 MB / 0.9656 GB, free: 12.66 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.006e-06/0.321, allocations: 3.984 kB / 0.9656 GB, free: 12.66 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000345/0.3213, allocations: 79.8 kB / 0.9657 GB, free: 12.58 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.095e-06/0.3213, allocations: 4 kB / 0.9657 GB, free: 12.58 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.369e-05/0.3214, allocations: 11.98 kB / 0.9657 GB, free: 12.57 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001196/0.3226, allocations: 2.356 MB / 0.968 GB, free: 10.12 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.355e-06/0.3226, allocations: 0 / 0.968 GB, free: 10.12 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006461/0.3232, allocations: 415.6 kB / 0.9684 GB, free: 9.684 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00028/0.3235, allocations: 176.1 kB / 0.9685 GB, free: 9.492 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.904e-05/0.3236, allocations: 4 kB / 0.9686 GB, free: 9.488 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004406/0.3241, allocations: 51.89 kB / 0.9686 GB, free: 9.438 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.876e-05/0.3242, allocations: 31.81 kB / 0.9686 GB, free: 9.406 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.09e-05/0.3242, allocations: 8 kB / 0.9686 GB, free: 9.398 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0006438/0.3248, allocations: 475 kB / 0.9691 GB, free: 8.938 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.81e-07/0.3249, allocations: 0 / 0.9691 GB, free: 8.938 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.001072/0.3259, allocations: 343.2 kB / 0.9694 GB, free: 8.602 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 (not torn): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 4 systems {1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001386/0.3273, allocations: 1.061 MB / 0.9705 GB, free: 7.512 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001772/0.3291, allocations: 0.508 MB / 0.971 GB, free: 7 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.978e-06/0.3291, allocations: 3.938 kB / 0.971 GB, free: 6.996 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0003992/0.3295, allocations: 138.9 kB / 0.9711 GB, free: 6.863 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002186/0.3317, allocations: 380.7 kB / 0.9715 GB, free: 6.492 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008349/0.3401, allocations: 5.29 MB / 0.9766 GB, free: 1.078 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005512/0.3407, allocations: 0.9293 MB / 0.9775 GB, free: 124 kB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0006881/0.3414, allocations: 124 kB / 0.9776 GB, free: 4 kB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003575/0.3418, allocations: 255.4 kB / 0.9779 GB, free: 15.75 MB / 0.6355 GB Notification: Performance of SimCode: time 8.91e-07/0.3418, allocations: 8 kB / 0.9779 GB, free: 15.74 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05015/0.392, allocations: 18.63 MB / 0.9961 GB, free: 13.48 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004171/0.3925, allocations: 313.1 kB / 0.9964 GB, free: 13.09 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.999/3.392, allocations: 4 kB / 0.9964 GB, free: 13.09 MB / 0.6511 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)