Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization") translateModel(Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008126/0.0008125, allocations: 91.84 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009358/0.0009359, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.445/1.445, allocations: 205.4 MB / 222.1 MB, free: 5.523 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.676/1.676, allocations: 292.7 MB / 0.5499 GB, free: 14.57 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005073/0.0005074, allocations: 13.66 kB / 0.6737 GB, free: 25.98 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2601/0.2606, allocations: 116.3 MB / 0.7873 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization): time 0.6578/0.9185, allocations: 143.3 MB / 0.9273 GB, free: 36.8 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0513/0.9698, allocations: 32.87 MB / 0.9594 GB, free: 36.18 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007876/0.9778, allocations: 136.6 kB / 0.9595 GB, free: 36.18 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.003166/0.9809, allocations: 0.6957 MB / 0.9602 GB, free: 36.17 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.009833/0.9908, allocations: 2.477 MB / 0.9626 GB, free: 35.7 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.006941/0.9978, allocations: 2.009 MB / 0.9645 GB, free: 35.11 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.01043/1.008, allocations: 6.18 MB / 0.9706 GB, free: 32.71 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003233/1.011, allocations: 1.65 MB / 0.9722 GB, free: 32.13 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006093/1.018, allocations: 2.178 MB / 0.9743 GB, free: 31.33 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003712/1.021, allocations: 1.776 MB / 0.9761 GB, free: 30.77 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0002622/1.022, allocations: 99.34 kB / 0.9761 GB, free: 30.77 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002899/1.024, allocations: 0.8401 MB / 0.977 GB, free: 30.58 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0004884/1.025, allocations: 411.3 kB / 0.9774 GB, free: 30.38 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0008241/1.026, allocations: 469 kB / 0.9778 GB, free: 30.12 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.002402/1.028, allocations: 2.377 MB / 0.9801 GB, free: 28.62 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 7.084e-06/1.028, allocations: 0 / 0.9801 GB, free: 28.62 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.755e-06/1.028, allocations: 2.078 kB / 0.9801 GB, free: 28.62 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 2.503e-05/1.028, allocations: 3.188 kB / 0.9801 GB, free: 28.62 MB / 0.7169 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.003812/1.032, allocations: 2.331 MB / 0.9824 GB, free: 26.96 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.813e-05/1.032, allocations: 10.12 kB / 0.9824 GB, free: 26.96 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003695/1.033, allocations: 261.2 kB / 0.9827 GB, free: 26.83 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001901/1.034, allocations: 1.351 MB / 0.984 GB, free: 25.83 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.715e-05/1.035, allocations: 107.3 kB / 0.9841 GB, free: 25.78 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001852/1.035, allocations: 145.4 kB / 0.9842 GB, free: 25.73 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001832/1.037, allocations: 1.152 MB / 0.9854 GB, free: 25.03 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.167e-05/1.037, allocations: 0 / 0.9854 GB, free: 25.03 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.873e-05/1.037, allocations: 45.69 kB / 0.9854 GB, free: 25 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.708e-05/1.037, allocations: 30.41 kB / 0.9854 GB, free: 25 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001555/1.038, allocations: 1.019 MB / 0.9864 GB, free: 24.47 MB / 0.7169 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.007911/1.046, allocations: 6.33 MB / 0.9926 GB, free: 19.31 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008389/1.047, allocations: 0.5724 MB / 0.9932 GB, free: 19 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004751/1.048, allocations: 384.6 kB / 0.9935 GB, free: 18.8 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003147/1.048, allocations: 0.5052 MB / 0.994 GB, free: 18.22 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.577e-05/1.048, allocations: 37.19 kB / 0.9941 GB, free: 18.18 MB / 0.7169 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001482/1.049, allocations: 340.2 kB / 0.9944 GB, free: 18.02 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=58): time 4.248e-06/1.049, allocations: 0 / 0.9944 GB, free: 18.02 MB / 0.7169 GB Notification: Performance of matching and sorting (n=58): time 0.001786/1.051, allocations: 1.127 MB / 0.9955 GB, free: 17.43 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.471e-05/1.051, allocations: 61.56 kB / 0.9955 GB, free: 17.37 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002019/1.053, allocations: 1.826 MB / 0.9973 GB, free: 16.36 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.566e-05/1.053, allocations: 47.3 kB / 0.9974 GB, free: 16.31 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.000618/1.054, allocations: 0.9025 MB / 0.9983 GB, free: 15.52 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001419/1.054, allocations: 209.3 kB / 0.9985 GB, free: 15.34 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.064e-05/1.054, allocations: 21.03 kB / 0.9985 GB, free: 15.33 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001478/1.054, allocations: 352.4 kB / 0.9988 GB, free: 14.99 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006749/1.055, allocations: 420.4 kB / 0.9992 GB, free: 14.78 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008532/1.056, allocations: 0.6674 MB / 0.9999 GB, free: 14.29 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000791/1.057, allocations: 0.5 MB / 1 GB, free: 14.04 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.849e-06/1.057, allocations: 0 / 1 GB, free: 14.04 MB / 0.7169 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.002172/1.059, allocations: 1.362 MB / 1.002 GB, free: 13.36 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 9.25e-05/1.059, allocations: 189.5 kB / 1.002 GB, free: 13.14 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.082e-05/1.059, allocations: 6.969 kB / 1.002 GB, free: 13.13 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.467e-05/1.059, allocations: 7.594 kB / 1.002 GB, free: 13.13 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001172/1.06, allocations: 289.4 kB / 1.002 GB, free: 13.06 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.317e-05/1.06, allocations: 16.48 kB / 1.002 GB, free: 13.05 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001884/1.062, allocations: 161.4 kB / 1.002 GB, free: 12.96 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001302/1.062, allocations: 57.17 kB / 1.002 GB, free: 12.95 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.211e-05/1.062, allocations: 6.656 kB / 1.002 GB, free: 12.95 MB / 0.7169 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001745/1.064, allocations: 1.142 MB / 1.003 GB, free: 12.38 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-06/1.064, allocations: 3.188 kB / 1.003 GB, free: 12.38 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.168e-05/1.064, allocations: 8.812 kB / 1.004 GB, free: 12.38 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001045/1.065, allocations: 282.9 kB / 1.004 GB, free: 12.31 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.391e-05/1.065, allocations: 16.77 kB / 1.004 GB, free: 12.3 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001576/1.067, allocations: 151 kB / 1.004 GB, free: 12.23 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.947e-05/1.067, allocations: 56.73 kB / 1.004 GB, free: 12.21 MB / 0.7169 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.0008493/1.068, allocations: 450.6 kB / 1.004 GB, free: 11.86 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000241/1.068, allocations: 196.1 kB / 1.005 GB, free: 11.75 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001795/1.07, allocations: 1.077 MB / 1.006 GB, free: 11.15 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.706e-05/1.07, allocations: 17.67 kB / 1.006 GB, free: 11.14 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.013e-06/1.07, allocations: 0 / 1.006 GB, free: 11.14 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.087e-06/1.07, allocations: 7.984 kB / 1.006 GB, free: 11.14 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003171/1.073, allocations: 2.386 MB / 1.008 GB, free: 9.543 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.833e-06/1.073, allocations: 0 / 1.008 GB, free: 9.543 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005263/1.074, allocations: 138 kB / 1.008 GB, free: 9.512 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.247e-06/1.074, allocations: 8.719 kB / 1.008 GB, free: 9.512 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.358e-05/1.074, allocations: 18.72 kB / 1.008 GB, free: 9.5 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.366e-06/1.074, allocations: 12.89 kB / 1.008 GB, free: 9.492 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/1.074, allocations: 0 / 1.008 GB, free: 9.492 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001284/1.075, allocations: 1.057 MB / 1.009 GB, free: 8.867 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005751/1.076, allocations: 365.7 kB / 1.01 GB, free: 8.559 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001801/1.076, allocations: 11.38 kB / 1.01 GB, free: 8.551 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007788/1.076, allocations: 98.47 kB / 1.01 GB, free: 8.5 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.997e-05/1.077, allocations: 49.83 kB / 1.01 GB, free: 8.477 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.03e-05/1.077, allocations: 27.86 kB / 1.01 GB, free: 8.469 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001334/1.078, allocations: 1.199 MB / 1.011 GB, free: 7.379 MB / 0.7169 GB Notification: Performance of sort global known variables: time 4.11e-07/1.078, allocations: 0 / 1.011 GB, free: 7.379 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.002155/1.08, allocations: 0.9043 MB / 1.012 GB, free: 6.473 MB / 0.7169 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.0006232/1.081, allocations: 328.7 kB / 1.012 GB, free: 6.168 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.002258/1.083, allocations: 1.587 MB / 1.014 GB, free: 4.594 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/1.083, allocations: 0 / 1.014 GB, free: 4.594 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0004911/1.084, allocations: 408.6 kB / 1.014 GB, free: 4.195 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004623/1.088, allocations: 1.148 MB / 1.015 GB, free: 3.059 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004306/1.093, allocations: 3.459 MB / 1.019 GB, free: 15.55 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000954/1.094, allocations: 1.4 MB / 1.02 GB, free: 14.12 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.002074/1.096, allocations: 398.4 kB / 1.02 GB, free: 13.74 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004063/1.096, allocations: 167.4 kB / 1.02 GB, free: 13.57 MB / 0.7325 GB Notification: Performance of SimCode: time 2.705e-06/1.096, allocations: 0 / 1.02 GB, free: 13.57 MB / 0.7325 GB Notification: Performance of Templates: time 0.06031/1.156, allocations: 36.29 MB / 1.056 GB, free: 9.934 MB / 0.7637 GB make -j1 -f Buildings_8_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe ; mkfifo Buildings_8_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe >> ../files/Buildings_8_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.sim & ./Buildings_8_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe 2>&1) Environment - environmentSimulation: