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.347/1.347, allocations: 251.5 MB / 266.7 MB, free: 11.05 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.0008784/0.0008784, allocations: 175 kB / 325.8 MB, free: 2.684 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.719/1.719, allocations: 205 MB / 0.576 GB, free: 20.94 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.0008108/0.0008109, allocations: 99.05 kB / 0.6797 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003325/0.0003329, allocations: 8.938 kB / 0.7933 GB, free: 136.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2419/0.2423, allocations: 105.4 MB / 0.8962 GB, free: 68.09 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization): time 0.02373/0.2661, allocations: 30.55 MB / 0.926 GB, free: 37.42 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.01571/0.2818, allocations: 14.34 MB / 0.94 GB, free: 23.05 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001534/0.2834, allocations: 35.69 kB / 0.9401 GB, free: 23.02 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.001116/0.2846, allocations: 314.1 kB / 0.9404 GB, free: 22.71 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.002976/0.2876, allocations: 1.052 MB / 0.9414 GB, free: 21.65 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.002155/0.2897, allocations: 0.763 MB / 0.9421 GB, free: 20.89 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.002402/0.2921, allocations: 2.82 MB / 0.9449 GB, free: 18.07 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006789/0.2928, allocations: 0.5517 MB / 0.9454 GB, free: 17.5 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001539/0.2944, allocations: 0.8867 MB / 0.9463 GB, free: 16.61 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006955/0.2951, allocations: 0.6611 MB / 0.9469 GB, free: 15.95 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 6.559e-05/0.2952, allocations: 36 kB / 0.947 GB, free: 15.91 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001131/0.2963, allocations: 0.5653 MB / 0.9475 GB, free: 15.35 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001365/0.2964, allocations: 135.3 kB / 0.9477 GB, free: 15.21 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0003399/0.2968, allocations: 401.7 kB / 0.948 GB, free: 14.82 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0009315/0.2977, allocations: 1.028 MB / 0.949 GB, free: 13.79 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.2977, allocations: 7.938 kB / 0.9491 GB, free: 13.78 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.033e-06/0.2978, allocations: 0 / 0.9491 GB, free: 13.78 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.105e-05/0.2978, allocations: 0 / 0.9491 GB, free: 13.78 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.001396/0.2992, allocations: 1.008 MB / 0.95 GB, free: 12.72 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.511e-05/0.2992, allocations: 12.03 kB / 0.95 GB, free: 12.71 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.954e-05/0.2993, allocations: 90.7 kB / 0.9501 GB, free: 12.61 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001264/0.2995, allocations: 99.81 kB / 0.9502 GB, free: 12.52 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006334/0.3001, allocations: 0.5535 MB / 0.9508 GB, free: 11.92 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.852e-05/0.3001, allocations: 41 kB / 0.9508 GB, free: 11.88 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.311e-05/0.3002, allocations: 52 kB / 0.9509 GB, free: 11.83 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006436/0.3008, allocations: 422.3 kB / 0.9513 GB, free: 11.41 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.438e-05/0.3009, allocations: 0 / 0.9513 GB, free: 11.41 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.084e-05/0.3009, allocations: 16 kB / 0.9513 GB, free: 11.4 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.076e-05/0.3009, allocations: 16 kB / 0.9513 GB, free: 11.38 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005089/0.3014, allocations: 307.8 kB / 0.9516 GB, free: 11.08 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.002121/0.3036, allocations: 1.854 MB / 0.9534 GB, free: 9.07 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003044/0.3039, allocations: 174.5 kB / 0.9536 GB, free: 8.891 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001516/0.304, allocations: 80.81 kB / 0.9536 GB, free: 8.809 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002031/0.3043, allocations: 344.5 kB / 0.954 GB, free: 8.398 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.841e-05/0.3043, allocations: 34.56 kB / 0.954 GB, free: 8.355 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=19): time 1.413e-06/0.3043, allocations: 4 kB / 0.954 GB, free: 8.352 MB / 0.6042 GB Notification: Performance of matching and sorting (n=19): time 0.0006691/0.305, allocations: 319.5 kB / 0.9543 GB, free: 8.035 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.083e-05/0.305, allocations: 59.41 kB / 0.9544 GB, free: 7.965 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005693/0.3056, allocations: 0.6686 MB / 0.955 GB, free: 7.285 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.72e-05/0.3056, allocations: 33.7 kB / 0.9551 GB, free: 7.246 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001867/0.3058, allocations: 360 kB / 0.9554 GB, free: 6.887 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.615e-05/0.3059, allocations: 78.98 kB / 0.9555 GB, free: 6.809 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.584e-05/0.3059, allocations: 37.7 kB / 0.9555 GB, free: 6.766 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 9.888e-05/0.306, allocations: 382.7 kB / 0.9559 GB, free: 6.383 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000213/0.3062, allocations: 115.9 kB / 0.956 GB, free: 6.27 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002613/0.3065, allocations: 182 kB / 0.9562 GB, free: 6.066 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004017/0.3069, allocations: 249.6 kB / 0.9564 GB, free: 5.816 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.3069, allocations: 0 / 0.9564 GB, free: 5.816 MB / 0.6042 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0006004/0.3075, allocations: 406.2 kB / 0.9568 GB, free: 5.414 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 4.986e-05/0.3076, allocations: 106.7 kB / 0.9569 GB, free: 5.297 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.695e-06/0.3076, allocations: 0 / 0.9569 GB, free: 5.297 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.705e-05/0.3076, allocations: 0 / 0.9569 GB, free: 5.297 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009454/0.3086, allocations: 171.8 kB / 0.957 GB, free: 5.129 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001037/0.3096, allocations: 2.36 MB / 0.9594 GB, free: 2.676 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000567/0.3102, allocations: 87.89 kB / 0.9594 GB, free: 2.59 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.668e-05/0.3103, allocations: 23.92 kB / 0.9595 GB, free: 2.566 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 9.709e-06/0.3103, allocations: 4 kB / 0.9595 GB, free: 2.562 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000535/0.3108, allocations: 300 kB / 0.9597 GB, free: 2.27 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.3108, allocations: 4.188 kB / 0.9598 GB, free: 2.266 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.118e-06/0.3109, allocations: 0 / 0.9598 GB, free: 2.266 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003834/0.3112, allocations: 111.8 kB / 0.9599 GB, free: 2.156 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.756e-06/0.3113, allocations: 4 kB / 0.9599 GB, free: 2.152 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004223/0.3117, allocations: 83.52 kB / 0.9599 GB, free: 2.07 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.647e-05/0.3117, allocations: 12 kB / 0.96 GB, free: 2.059 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 (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.0002736/0.312, allocations: 265 kB / 0.9602 GB, free: 1.789 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.179e-05/0.3121, allocations: 67.16 kB / 0.9603 GB, free: 1.723 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007113/0.3128, allocations: 313.7 kB / 0.9606 GB, free: 1.414 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.396e-05/0.3128, allocations: 4 kB / 0.9606 GB, free: 1.41 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.324e-06/0.3129, allocations: 0 / 0.9606 GB, free: 1.41 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.302e-06/0.3129, allocations: 4 kB / 0.9606 GB, free: 1.406 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001119/0.314, allocations: 0.8955 MB / 0.9615 GB, free: 452 kB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.931e-06/0.314, allocations: 4 kB / 0.9615 GB, free: 448 kB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002952/0.3143, allocations: 75.92 kB / 0.9615 GB, free: 372 kB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.509e-06/0.3143, allocations: 4 kB / 0.9615 GB, free: 368 kB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.405e-05/0.3143, allocations: 0 / 0.9615 GB, free: 368 kB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00123/0.3156, allocations: 2.36 MB / 0.9638 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.117e-06/0.3156, allocations: 4.312 kB / 0.9638 GB, free: 13.9 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006087/0.3162, allocations: 413.7 kB / 0.9642 GB, free: 13.47 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001968/0.3164, allocations: 164.1 kB / 0.9644 GB, free: 13.29 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.134e-05/0.3165, allocations: 4 kB / 0.9644 GB, free: 13.29 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003908/0.3169, allocations: 51.94 kB / 0.9644 GB, free: 13.23 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.915e-05/0.317, allocations: 15.98 kB / 0.9645 GB, free: 13.22 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.547e-05/0.317, allocations: 4 kB / 0.9645 GB, free: 13.21 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0005813/0.3176, allocations: 475 kB / 0.9649 GB, free: 12.75 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3176, allocations: 4 kB / 0.9649 GB, free: 12.75 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0009311/0.3185, allocations: 343.1 kB / 0.9652 GB, free: 12.41 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.00127/0.3198, allocations: 1.083 MB / 0.9663 GB, free: 11.3 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001581/0.3214, allocations: 0.5082 MB / 0.9668 GB, free: 10.79 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.3214, allocations: 0 / 0.9668 GB, free: 10.79 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0003802/0.3218, allocations: 138 kB / 0.9669 GB, free: 10.66 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001936/0.3238, allocations: 388.9 kB / 0.9673 GB, free: 10.29 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006808/0.3306, allocations: 5.277 MB / 0.9725 GB, free: 4.887 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004959/0.3311, allocations: 0.9215 MB / 0.9734 GB, free: 3.938 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0005395/0.3317, allocations: 120.1 kB / 0.9735 GB, free: 3.824 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002925/0.332, allocations: 259.3 kB / 0.9737 GB, free: 3.57 MB / 0.6198 GB Notification: Performance of SimCode: time 1.202e-06/0.332, allocations: 0 / 0.9737 GB, free: 3.57 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5035/0.8354, allocations: 18.64 MB / 0.9919 GB, free: 1.297 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002959/0.8358, allocations: 308.4 kB / 0.9922 GB, free: 0.918 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.507/3.343, allocations: 3.938 kB / 0.9922 GB, free: 0.9141 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)