Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization,fileNamePrefix="Buildings_maint_8_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_8_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 8.0.1-maint.8.0.x/package.mo): time 1.58/1.58, allocations: 288.4 MB / 303.6 MB, free: 8.105 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008826/0.0008826, allocations: 182.8 kB / 372.3 MB, free: 10.09 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.353/1.353, allocations: 205.4 MB / 0.631 GB, free: 9.855 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007773/0.0007773, allocations: 98.23 kB / 0.7444 GB, free: 5.766 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003624/0.0003625, allocations: 12.66 kB / 0.8676 GB, free: 141.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1906/0.191, allocations: 115.3 MB / 0.9802 GB, free: 27.21 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization): time 0.02223/0.2132, allocations: 28.54 MB / 1.008 GB, free: 14.59 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.01806/0.2313, allocations: 13.17 MB / 1.021 GB, free: 1.398 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001266/0.2327, allocations: 31.69 kB / 1.021 GB, free: 1.367 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.001127/0.2338, allocations: 274.1 kB / 1.021 GB, free: 1.098 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.002987/0.2368, allocations: 1 MB / 1.022 GB, free: 96 kB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.002215/0.239, allocations: 0.7145 MB / 1.023 GB, free: 15.39 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.003313/0.2424, allocations: 2.418 MB / 1.025 GB, free: 12.96 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001377/0.2438, allocations: 0.5457 MB / 1.026 GB, free: 12.4 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002479/0.2463, allocations: 0.8712 MB / 1.027 GB, free: 11.53 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001402/0.2477, allocations: 0.6301 MB / 1.027 GB, free: 10.89 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.0001903/0.2479, allocations: 32 kB / 1.027 GB, free: 10.86 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001547/0.2494, allocations: 0.5496 MB / 1.028 GB, free: 10.31 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.0002337/0.2497, allocations: 127.4 kB / 1.028 GB, free: 10.19 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.0006836/0.2504, allocations: 403.7 kB / 1.028 GB, free: 9.785 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.001067/0.2514, allocations: 0.7637 MB / 1.029 GB, free: 9.02 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 6.482e-06/0.2515, allocations: 0 / 1.029 GB, free: 9.02 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.813e-06/0.2515, allocations: 4 kB / 1.029 GB, free: 9.016 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 3.961e-05/0.2515, allocations: 0 / 1.029 GB, free: 9.016 MB / 0.6511 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.001775/0.2533, allocations: 1.004 MB / 1.03 GB, free: 7.957 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.188e-05/0.2534, allocations: 8.031 kB / 1.03 GB, free: 7.949 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00012/0.2535, allocations: 90.7 kB / 1.03 GB, free: 7.852 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000175/0.2537, allocations: 95.81 kB / 1.03 GB, free: 7.758 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008643/0.2545, allocations: 0.5573 MB / 1.031 GB, free: 7.16 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.934e-05/0.2546, allocations: 41 kB / 1.031 GB, free: 7.121 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.946e-05/0.2547, allocations: 52 kB / 1.031 GB, free: 7.07 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007714/0.2554, allocations: 422.4 kB / 1.031 GB, free: 6.648 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.852e-05/0.2555, allocations: 0 / 1.031 GB, free: 6.648 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.52e-05/0.2555, allocations: 19.94 kB / 1.031 GB, free: 6.629 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.183e-05/0.2555, allocations: 12 kB / 1.031 GB, free: 6.617 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005845/0.2561, allocations: 307.8 kB / 1.032 GB, free: 6.316 MB / 0.6511 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.00279/0.2589, allocations: 1.869 MB / 1.033 GB, free: 4.297 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003408/0.2593, allocations: 175.8 kB / 1.034 GB, free: 4.117 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001834/0.2595, allocations: 84.81 kB / 1.034 GB, free: 4.031 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002832/0.2598, allocations: 340.4 kB / 1.034 GB, free: 3.625 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.086e-05/0.2598, allocations: 34.56 kB / 1.034 GB, free: 3.582 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=19): time 1.623e-06/0.2598, allocations: 0 / 1.034 GB, free: 3.582 MB / 0.6511 GB Notification: Performance of matching and sorting (n=19): time 0.0007723/0.2606, allocations: 322.9 kB / 1.034 GB, free: 3.262 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.744e-05/0.2606, allocations: 55.41 kB / 1.034 GB, free: 3.195 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007355/0.2614, allocations: 0.6647 MB / 1.035 GB, free: 2.52 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 3.792e-05/0.2614, allocations: 33.7 kB / 1.035 GB, free: 2.48 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002731/0.2617, allocations: 360.1 kB / 1.035 GB, free: 2.125 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 5.946e-05/0.2618, allocations: 71.02 kB / 1.035 GB, free: 2.055 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.963e-05/0.2618, allocations: 12 kB / 1.035 GB, free: 2.043 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001428/0.2619, allocations: 378.7 kB / 1.036 GB, free: 1.664 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002341/0.2622, allocations: 103.9 kB / 1.036 GB, free: 1.562 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002922/0.2625, allocations: 178 kB / 1.036 GB, free: 1.363 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004293/0.2629, allocations: 237.6 kB / 1.036 GB, free: 1.125 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.2629, allocations: 0 / 1.036 GB, free: 1.125 MB / 0.6511 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.000693/0.2636, allocations: 390.2 kB / 1.037 GB, free: 0.7383 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 6.706e-05/0.2637, allocations: 106.8 kB / 1.037 GB, free: 0.6211 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.143e-06/0.2637, allocations: 7.984 kB / 1.037 GB, free: 0.6133 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.378e-05/0.2637, allocations: 0 / 1.037 GB, free: 0.6133 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001088/0.2648, allocations: 163.9 kB / 1.037 GB, free: 464 kB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001261/0.2661, allocations: 2.371 MB / 1.039 GB, free: 13.99 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005749/0.2667, allocations: 79.66 kB / 1.039 GB, free: 13.91 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.775e-05/0.2668, allocations: 16 kB / 1.039 GB, free: 13.89 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.126e-05/0.2668, allocations: 5.828 kB / 1.039 GB, free: 13.89 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005799/0.2674, allocations: 296 kB / 1.04 GB, free: 13.6 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.126e-06/0.2674, allocations: 4 kB / 1.04 GB, free: 13.6 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.841e-06/0.2674, allocations: 4 kB / 1.04 GB, free: 13.59 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004073/0.2678, allocations: 103.8 kB / 1.04 GB, free: 13.49 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.631e-06/0.2678, allocations: 4 kB / 1.04 GB, free: 13.49 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005/0.2683, allocations: 79.56 kB / 1.04 GB, free: 13.41 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.326e-05/0.2684, allocations: 15.98 kB / 1.04 GB, free: 13.39 MB / 0.6667 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.000285/0.2687, allocations: 264.9 kB / 1.04 GB, free: 13.12 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.376e-05/0.2688, allocations: 71.16 kB / 1.04 GB, free: 13.05 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006489/0.2694, allocations: 322.4 kB / 1.041 GB, free: 12.74 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.598e-06/0.2694, allocations: 0 / 1.041 GB, free: 12.74 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.172e-06/0.2695, allocations: 4 kB / 1.041 GB, free: 12.73 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.951e-06/0.2695, allocations: 7.984 kB / 1.041 GB, free: 12.73 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001262/0.2707, allocations: 0.8955 MB / 1.041 GB, free: 11.76 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/0.2707, allocations: 0 / 1.041 GB, free: 11.76 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003113/0.2711, allocations: 79.86 kB / 1.041 GB, free: 11.68 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.13e-06/0.2711, allocations: 4 kB / 1.041 GB, free: 11.68 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.534e-05/0.2711, allocations: 4 kB / 1.041 GB, free: 11.68 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009831/0.2721, allocations: 2.368 MB / 1.044 GB, free: 9.215 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.913e-06/0.2721, allocations: 0 / 1.044 GB, free: 9.215 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005299/0.2726, allocations: 401.9 kB / 1.044 GB, free: 8.793 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002176/0.2729, allocations: 180 kB / 1.044 GB, free: 8.598 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.445e-05/0.2729, allocations: 0 / 1.044 GB, free: 8.598 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003925/0.2733, allocations: 51.94 kB / 1.044 GB, free: 8.547 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.062e-05/0.2734, allocations: 19.98 kB / 1.044 GB, free: 8.527 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.877e-05/0.2734, allocations: 8 kB / 1.044 GB, free: 8.52 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0005091/0.274, allocations: 467 kB / 1.045 GB, free: 8.066 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.5e-07/0.274, allocations: 0 / 1.045 GB, free: 8.066 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0008591/0.2748, allocations: 343.1 kB / 1.045 GB, free: 7.73 MB / 0.6667 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.03742/0.3123, allocations: 1.08 MB / 1.046 GB, free: 6.617 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.001982/0.3143, allocations: 0.5042 MB / 1.047 GB, free: 6.113 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 4.919e-06/0.3143, allocations: 0 / 1.047 GB, free: 6.113 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0003967/0.3147, allocations: 136.1 kB / 1.047 GB, free: 5.98 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002186/0.3169, allocations: 377.8 kB / 1.047 GB, free: 5.621 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004834/0.3218, allocations: 3.516 MB / 1.051 GB, free: 2.027 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004247/0.3222, allocations: 0.9215 MB / 1.052 GB, free: 1.078 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0004515/0.3227, allocations: 120.5 kB / 1.052 GB, free: 0.9609 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002739/0.3229, allocations: 255.3 kB / 1.052 GB, free: 0.7109 MB / 0.6667 GB Notification: Performance of SimCode: time 4.11e-07/0.323, allocations: 0 / 1.052 GB, free: 0.7109 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8895/1.212, allocations: 18.76 MB / 1.07 GB, free: 88.69 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001869/1.213, allocations: 276.8 kB / 1.071 GB, free: 88.34 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.204/4.417, allocations: 3.219 kB / 1.071 GB, free: 88.34 MB / 0.6823 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Actuators_Valves_Validation_TwoWayValveParameterization_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Actuators_Valves_Validation_TwoWayValveParameterization.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe 2>&1)