Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.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.ThreeWayValveParameterization,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Actuators_Valves_Validation_ThreeWayValveParameterization",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Actuators_Valves_Validation_ThreeWayValveParameterization",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.45/1.45, allocations: 252 MB / 267 MB, free: 10.96 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.001109/0.001109, allocations: 179.4 kB / 326.6 MB, free: 2.219 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.901/1.901, allocations: 205.4 MB / 0.5777 GB, free: 20.24 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.0007901/0.0007902, allocations: 90 kB / 0.6822 GB, free: 12.86 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003206/0.0003208, allocations: 8.906 kB / 0.7964 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2235/0.2238, allocations: 106.4 MB / 0.9003 GB, free: 63.78 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization): time 0.12/0.3439, allocations: 143.3 MB / 1.04 GB, free: 56 kB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.5521/0.8961, allocations: 32.79 MB / 1.072 GB, free: 42.1 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006828/0.903, allocations: 133.5 kB / 1.072 GB, free: 42.1 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.003599/0.9066, allocations: 0.6944 MB / 1.073 GB, free: 42.09 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.01046/0.9171, allocations: 2.487 MB / 1.076 GB, free: 41.97 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.007273/0.9244, allocations: 2.004 MB / 1.078 GB, free: 41.9 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.01177/0.9362, allocations: 6.17 MB / 1.084 GB, free: 41.89 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003494/0.9397, allocations: 1.647 MB / 1.085 GB, free: 41.7 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006754/0.9465, allocations: 2.177 MB / 1.087 GB, free: 41.68 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004553/0.9511, allocations: 1.767 MB / 1.089 GB, free: 41.68 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0006507/0.9518, allocations: 95.19 kB / 1.089 GB, free: 41.68 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003729/0.9555, allocations: 0.8464 MB / 1.09 GB, free: 41.66 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0007144/0.9563, allocations: 413.4 kB / 1.09 GB, free: 41.66 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.001614/0.9579, allocations: 460.1 kB / 1.091 GB, free: 41.63 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.003353/0.9613, allocations: 2.369 MB / 1.093 GB, free: 41.43 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 8.065e-06/0.9613, allocations: 4 kB / 1.093 GB, free: 41.43 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.504e-06/0.9613, allocations: 2.625 kB / 1.093 GB, free: 41.43 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.594e-05/0.9613, allocations: 0 / 1.093 GB, free: 41.43 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 297 * Number of variables: 297 Notification: Performance of Generate backend data structure: time 0.004556/0.9659, allocations: 2.334 MB / 1.095 GB, free: 40.2 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.602e-05/0.966, allocations: 14 kB / 1.095 GB, free: 40.2 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002365/0.9662, allocations: 171.5 kB / 1.096 GB, free: 40.16 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003848/0.9666, allocations: 261.6 kB / 1.096 GB, free: 40.03 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001994/0.9686, allocations: 1.353 MB / 1.097 GB, free: 39.59 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.72e-05/0.9687, allocations: 108.5 kB / 1.097 GB, free: 39.59 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001686/0.9689, allocations: 138.8 kB / 1.097 GB, free: 39.59 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001978/0.9708, allocations: 1.15 MB / 1.098 GB, free: 39.5 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.068e-05/0.9709, allocations: 4 kB / 1.098 GB, free: 39.5 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001014/0.971, allocations: 48.47 kB / 1.099 GB, free: 39.5 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.664e-05/0.971, allocations: 37.73 kB / 1.099 GB, free: 39.49 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001831/0.9729, allocations: 1.005 MB / 1.1 GB, free: 39.48 MB / 0.698 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.01007/0.9829, allocations: 6.305 MB / 1.106 GB, free: 36.84 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009559/0.9839, allocations: 0.5557 MB / 1.106 GB, free: 36.82 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005954/0.9845, allocations: 387.4 kB / 1.107 GB, free: 36.8 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003967/0.9849, allocations: 0.5048 MB / 1.107 GB, free: 36.24 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.804e-05/0.985, allocations: 40.94 kB / 1.107 GB, free: 36.2 MB / 0.698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001996/0.987, allocations: 334.8 kB / 1.107 GB, free: 36.13 MB / 0.698 GB Notification: Performance of pre-optimization done (n=58): time 3.927e-06/0.987, allocations: 0 / 1.107 GB, free: 36.13 MB / 0.698 GB Notification: Performance of matching and sorting (n=58): time 0.00202/0.989, allocations: 1.118 MB / 1.109 GB, free: 35.97 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.991e-05/0.9891, allocations: 58.5 kB / 1.109 GB, free: 35.91 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002451/0.9916, allocations: 1.826 MB / 1.11 GB, free: 35.67 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001015/0.9917, allocations: 46.92 kB / 1.11 GB, free: 35.64 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007119/0.9924, allocations: 0.9182 MB / 1.111 GB, free: 35.37 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001322/0.9925, allocations: 204 kB / 1.112 GB, free: 35.24 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.325e-05/0.9926, allocations: 26.72 kB / 1.112 GB, free: 35.24 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 9.378e-05/0.9927, allocations: 349.6 kB / 1.112 GB, free: 34.94 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007823/0.9935, allocations: 409.6 kB / 1.112 GB, free: 34.94 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009396/0.9944, allocations: 0.6615 MB / 1.113 GB, free: 34.7 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008433/0.9953, allocations: 496.5 kB / 1.113 GB, free: 34.66 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.783e-06/0.9953, allocations: 3.312 kB / 1.113 GB, free: 34.66 MB / 0.698 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.003161/0.9985, allocations: 1.359 MB / 1.115 GB, free: 34.37 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001216/0.9986, allocations: 190.7 kB / 1.115 GB, free: 34.15 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.504e-05/0.9986, allocations: 3.188 kB / 1.115 GB, free: 34.15 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.077e-05/0.9987, allocations: 9.031 kB / 1.115 GB, free: 34.15 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001501/1, allocations: 292.7 kB / 1.115 GB, free: 34.08 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.942e-05/1, allocations: 8.438 kB / 1.115 GB, free: 34.08 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001969/1.002, allocations: 164.6 kB / 1.115 GB, free: 34.01 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001484/1.002, allocations: 61.45 kB / 1.115 GB, free: 34 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.185e-05/1.002, allocations: 4.344 kB / 1.115 GB, free: 34 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001845/1.004, allocations: 1.143 MB / 1.117 GB, free: 33.82 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/1.004, allocations: 7.531 kB / 1.117 GB, free: 33.82 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.07e-05/1.004, allocations: 6.75 kB / 1.117 GB, free: 33.82 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001102/1.005, allocations: 281.9 kB / 1.117 GB, free: 33.76 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.256e-05/1.005, allocations: 9.281 kB / 1.117 GB, free: 33.76 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001868/1.007, allocations: 152 kB / 1.117 GB, free: 33.7 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001024/1.007, allocations: 62.66 kB / 1.117 GB, free: 33.68 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (150): * Single equations (assignments): 150 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008882/1.008, allocations: 442.6 kB / 1.117 GB, free: 33.47 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002779/1.009, allocations: 198.9 kB / 1.118 GB, free: 33.36 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001889/1.01, allocations: 1.064 MB / 1.119 GB, free: 33.1 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.719e-05/1.011, allocations: 7.75 kB / 1.119 GB, free: 33.1 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.658e-06/1.011, allocations: 2.5 kB / 1.119 GB, free: 33.1 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.066e-05/1.011, allocations: 3.984 kB / 1.119 GB, free: 33.09 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003806/1.014, allocations: 2.376 MB / 1.121 GB, free: 32.21 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.424e-06/1.014, allocations: 3.938 kB / 1.121 GB, free: 32.21 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005433/1.015, allocations: 148.1 kB / 1.121 GB, free: 32.18 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.011e-05/1.015, allocations: 6.75 kB / 1.121 GB, free: 32.18 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.107e-05/1.015, allocations: 23.42 kB / 1.121 GB, free: 32.17 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.793e-06/1.015, allocations: 5.344 kB / 1.121 GB, free: 32.17 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.065e-06/1.015, allocations: 2.25 kB / 1.121 GB, free: 32.17 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001409/1.016, allocations: 1.038 MB / 1.122 GB, free: 31.79 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007162/1.017, allocations: 369.6 kB / 1.123 GB, free: 31.54 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001842/1.017, allocations: 21.47 kB / 1.123 GB, free: 31.53 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008872/1.018, allocations: 104.8 kB / 1.123 GB, free: 31.48 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001055/1.018, allocations: 45.62 kB / 1.123 GB, free: 31.47 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.82e-05/1.018, allocations: 27.11 kB / 1.123 GB, free: 31.46 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001579/1.02, allocations: 1.194 MB / 1.124 GB, free: 31.13 MB / 0.698 GB Notification: Performance of sort global known variables: time 2e-07/1.02, allocations: 0 / 1.124 GB, free: 31.13 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.002611/1.023, allocations: 0.8893 MB / 1.125 GB, free: 31.02 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (77): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002297/1.025, allocations: 1.834 MB / 1.127 GB, free: 30.03 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002643/1.028, allocations: 1.575 MB / 1.128 GB, free: 29.78 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/1.028, allocations: 3.562 kB / 1.128 GB, free: 29.78 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0005503/1.028, allocations: 397.1 kB / 1.128 GB, free: 29.72 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005943/1.034, allocations: 1.158 MB / 1.13 GB, free: 29.31 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02239/1.057, allocations: 11.07 MB / 1.14 GB, free: 22.72 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008018/1.057, allocations: 1.398 MB / 1.142 GB, free: 21.3 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.002632/1.06, allocations: 399.9 kB / 1.142 GB, free: 20.91 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001067/1.061, allocations: 0.8336 MB / 1.143 GB, free: 20.7 MB / 0.698 GB Notification: Performance of SimCode: time 1.242e-06/1.061, allocations: 0 / 1.143 GB, free: 20.7 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09197/1.153, allocations: 53.82 MB / 1.196 GB, free: 15.55 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002964/1.153, allocations: 265 kB / 1.196 GB, free: 15.18 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.259/5.413, allocations: 0 / 1.196 GB, free: 15.18 MB / 0.7448 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Actuators_Valves_Validation_ThreeWayValveParameterization_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Actuators_Valves_Validation_ThreeWayValveParameterization.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe 2>&1)