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.493/1.493, allocations: 251.9 MB / 266.9 MB, free: 11.01 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.00105/0.00105, allocations: 187.8 kB / 326.5 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.724/1.724, allocations: 205.4 MB / 0.5775 GB, free: 20.3 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.0008589/0.0008592, allocations: 93.94 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004129/0.0004133, allocations: 8.5 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2233/0.2238, allocations: 106.3 MB / 0.9002 GB, free: 63.85 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization): time 0.02073/0.2446, allocations: 26.1 MB / 0.9256 GB, free: 37.68 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.01419/0.2588, allocations: 12.25 MB / 0.9376 GB, free: 25.41 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001477/0.2603, allocations: 31.69 kB / 0.9376 GB, free: 25.38 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.001453/0.2618, allocations: 0.5056 MB / 0.9381 GB, free: 24.87 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.003243/0.2651, allocations: 1.105 MB / 0.9392 GB, free: 23.77 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.005499/0.2706, allocations: 2.278 MB / 0.9414 GB, free: 21.52 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.002134/0.2727, allocations: 1.226 MB / 0.9426 GB, free: 20.29 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007886/0.2735, allocations: 0.5382 MB / 0.9431 GB, free: 19.74 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001513/0.275, allocations: 0.7747 MB / 0.9439 GB, free: 18.96 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006213/0.2757, allocations: 450.1 kB / 0.9443 GB, free: 18.52 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 6.625e-05/0.2757, allocations: 32 kB / 0.9444 GB, free: 18.49 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009218/0.2767, allocations: 383.5 kB / 0.9447 GB, free: 18.11 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001092/0.2768, allocations: 123.4 kB / 0.9448 GB, free: 17.99 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001631/0.277, allocations: 185.2 kB / 0.945 GB, free: 17.8 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0006046/0.2776, allocations: 0.6935 MB / 0.9457 GB, free: 17.11 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/0.2776, allocations: 7.938 kB / 0.9457 GB, free: 17.1 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.194e-06/0.2776, allocations: 0 / 0.9457 GB, free: 17.1 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 8.616e-06/0.2776, allocations: 0 / 0.9457 GB, free: 17.1 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.001341/0.279, allocations: 0.9963 MB / 0.9467 GB, free: 16.05 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.835e-05/0.279, allocations: 8.562 kB / 0.9467 GB, free: 16.05 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.494e-05/0.2791, allocations: 94.45 kB / 0.9468 GB, free: 15.95 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001098/0.2792, allocations: 98.88 kB / 0.9469 GB, free: 15.85 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006676/0.2799, allocations: 0.5188 MB / 0.9474 GB, free: 15.29 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.224e-05/0.2799, allocations: 45 kB / 0.9474 GB, free: 15.25 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.218e-05/0.28, allocations: 52 kB / 0.9475 GB, free: 15.2 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000601/0.2806, allocations: 402.4 kB / 0.9479 GB, free: 14.8 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.381e-05/0.2806, allocations: 7.953 kB / 0.9479 GB, free: 14.79 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.486e-05/0.2807, allocations: 27.98 kB / 0.9479 GB, free: 14.76 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.044e-05/0.2807, allocations: 8 kB / 0.9479 GB, free: 14.75 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005207/0.2812, allocations: 311.8 kB / 0.9482 GB, free: 14.45 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.002292/0.2835, allocations: 1.85 MB / 0.95 GB, free: 12.44 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002828/0.2838, allocations: 166.5 kB / 0.9502 GB, free: 12.27 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002334/0.2841, allocations: 344.4 kB / 0.9505 GB, free: 11.86 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.833e-05/0.2841, allocations: 34.55 kB / 0.9505 GB, free: 11.82 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=19): time 2.365e-06/0.2841, allocations: 0 / 0.9505 GB, free: 11.82 MB / 0.6042 GB Notification: Performance of matching and sorting (n=19): time 0.0006237/0.2847, allocations: 315.1 kB / 0.9508 GB, free: 11.5 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.014e-05/0.2848, allocations: 55.39 kB / 0.9509 GB, free: 11.44 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005679/0.2853, allocations: 0.6608 MB / 0.9515 GB, free: 10.77 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.669e-05/0.2854, allocations: 37.7 kB / 0.9516 GB, free: 10.72 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001993/0.2856, allocations: 367.9 kB / 0.9519 GB, free: 10.36 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.925e-05/0.2856, allocations: 67.08 kB / 0.952 GB, free: 10.29 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.559e-05/0.2857, allocations: 8 kB / 0.952 GB, free: 10.28 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001038/0.2858, allocations: 378.7 kB / 0.9523 GB, free: 9.902 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002033/0.286, allocations: 100 kB / 0.9524 GB, free: 9.805 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002444/0.2862, allocations: 182.1 kB / 0.9526 GB, free: 9.602 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002277/0.2865, allocations: 122.3 kB / 0.9527 GB, free: 9.484 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.2865, allocations: 4 kB / 0.9527 GB, free: 9.48 MB / 0.6042 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0005753/0.2871, allocations: 390.5 kB / 0.9531 GB, free: 9.094 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 6.631e-05/0.2871, allocations: 282.9 kB / 0.9534 GB, free: 8.797 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.652e-06/0.2871, allocations: 0 / 0.9534 GB, free: 8.797 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.65e-05/0.2872, allocations: 4 kB / 0.9534 GB, free: 8.793 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009869/0.2882, allocations: 159.8 kB / 0.9535 GB, free: 8.637 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008261/0.289, allocations: 2.364 MB / 0.9558 GB, free: 6.18 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005554/0.2896, allocations: 85.69 kB / 0.9559 GB, free: 6.098 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.583e-05/0.2896, allocations: 19.98 kB / 0.9559 GB, free: 6.078 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 9.989e-06/0.2896, allocations: 4 kB / 0.9559 GB, free: 6.074 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004942/0.2901, allocations: 296 kB / 0.9562 GB, free: 5.785 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.224e-06/0.2901, allocations: 0 / 0.9562 GB, free: 5.785 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.82e-06/0.2902, allocations: 7.953 kB / 0.9562 GB, free: 5.777 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003866/0.2905, allocations: 103.8 kB / 0.9563 GB, free: 5.676 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.198e-06/0.2906, allocations: 4 kB / 0.9563 GB, free: 5.672 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004173/0.291, allocations: 75.56 kB / 0.9564 GB, free: 5.598 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.417e-05/0.291, allocations: 20 kB / 0.9564 GB, free: 5.578 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.0002319/0.2913, allocations: 261 kB / 0.9567 GB, free: 5.312 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.334e-05/0.2913, allocations: 67.16 kB / 0.9567 GB, free: 5.246 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005656/0.2919, allocations: 319.9 kB / 0.957 GB, free: 4.93 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.226e-06/0.2919, allocations: 3.953 kB / 0.957 GB, free: 4.926 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.2919, allocations: 0 / 0.957 GB, free: 4.926 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.2919, allocations: 0 / 0.957 GB, free: 4.926 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001044/0.293, allocations: 0.8916 MB / 0.9579 GB, free: 3.965 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.218e-06/0.293, allocations: 0 / 0.9579 GB, free: 3.965 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002821/0.2933, allocations: 84.05 kB / 0.958 GB, free: 3.883 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.537e-06/0.2933, allocations: 0 / 0.958 GB, free: 3.883 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.653e-05/0.2933, allocations: 8 kB / 0.958 GB, free: 3.875 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006094/0.2939, allocations: 2.36 MB / 0.9603 GB, free: 1.422 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.294, allocations: 0 / 0.9603 GB, free: 1.422 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004399/0.2944, allocations: 468.8 kB / 0.9608 GB, free: 0.9141 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001606/0.2946, allocations: 172.1 kB / 0.9609 GB, free: 0.7266 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.23e-05/0.2947, allocations: 8 kB / 0.9609 GB, free: 0.7188 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003555/0.295, allocations: 55.83 kB / 0.961 GB, free: 0.6641 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.024e-05/0.2951, allocations: 15.98 kB / 0.961 GB, free: 0.6484 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.489e-05/0.2951, allocations: 4 kB / 0.961 GB, free: 0.6445 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0004133/0.2955, allocations: 467 kB / 0.9614 GB, free: 196 kB / 0.6042 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2955, allocations: 0 / 0.9614 GB, free: 196 kB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0008175/0.2963, allocations: 351.2 kB / 0.9618 GB, free: 15.84 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.00135/0.2977, allocations: 1.4 MB / 0.9631 GB, free: 14.4 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001572/0.2993, allocations: 0.4907 MB / 0.9636 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.2993, allocations: 0 / 0.9636 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0003925/0.2997, allocations: 151.9 kB / 0.9638 GB, free: 13.77 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001809/0.3015, allocations: 369.3 kB / 0.9641 GB, free: 13.41 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002529/0.3041, allocations: 2.015 MB / 0.9661 GB, free: 11.33 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005262/0.3046, allocations: 0.9453 MB / 0.967 GB, free: 10.36 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0004694/0.3051, allocations: 121.1 kB / 0.9671 GB, free: 10.24 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003188/0.3054, allocations: 255.3 kB / 0.9674 GB, free: 9.988 MB / 0.6198 GB Notification: Performance of SimCode: time 7.31e-07/0.3054, allocations: 0 / 0.9674 GB, free: 9.988 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04201/0.3474, allocations: 18.11 MB / 0.9851 GB, free: 8.23 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002376/0.3477, allocations: 282.2 kB / 0.9853 GB, free: 7.867 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.545/2.892, allocations: 0 / 0.9853 GB, free: 7.867 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)