Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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 4.0.0+maint.om/package.mo", uses=false) 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/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization") translateModel(BuildingSystems.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7942/0.7942, allocations: 141.7 MB / 154.3 MB, free: 15.48 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001055/0.001055, allocations: 178.1 kB / 187.3 MB, free: 11.87 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.476/1.476, allocations: 221.3 MB / 441.4 MB, free: 4.602 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008987/0.0008988, allocations: 101.2 kB / 0.5124 GB, free: 24.22 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001778/0.001778, allocations: 276.2 kB / 0.5939 GB, free: 7.965 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 3.501e-05/3.503e-05, allocations: 4 kB / 0.6834 GB, free: 12.25 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4708/0.4708, allocations: 82.77 MB / 0.7643 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8152/1.286, allocations: 388.4 MB / 1.144 GB, free: 2.133 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003445/1.286, allocations: 96.39 kB / 1.144 GB, free: 2.086 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 4.069/5.356, allocations: 1.122 GB / 2.266 GB, free: 4.613 MB / 0.7292 GB Notification: Performance of FrontEnd: time 3.547e-06/5.356, allocations: 0 / 2.266 GB, free: 4.613 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.0003083/5.356, allocations: 75.86 kB / 2.266 GB, free: 4.539 MB / 0.7292 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.006622/5.363, allocations: 2.308 MB / 2.268 GB, free: 2.176 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.527e-05/5.363, allocations: 16.03 kB / 2.268 GB, free: 2.16 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001022/5.364, allocations: 269.5 kB / 2.268 GB, free: 1.895 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004197/5.368, allocations: 1.58 MB / 2.27 GB, free: 248 kB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.028e-05/5.368, allocations: 106.3 kB / 2.27 GB, free: 140 kB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.5992/5.968, allocations: 145.5 kB / 2.27 GB, free: 68.27 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00331/5.971, allocations: 1.115 MB / 2.271 GB, free: 68.19 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.544e-05/5.971, allocations: 1.094 kB / 2.271 GB, free: 68.19 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001113/5.971, allocations: 44.5 kB / 2.271 GB, free: 68.19 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-05/5.971, allocations: 28.09 kB / 2.271 GB, free: 68.19 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002044/5.973, allocations: 0.9586 MB / 2.272 GB, free: 68.18 MB / 0.7292 GB Warning: The model contains alias variables with conflicting start and/or 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.01769/5.991, allocations: 6.376 MB / 2.278 GB, free: 65.72 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009096/5.992, allocations: 0.5687 MB / 2.279 GB, free: 65.69 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004698/5.992, allocations: 378.3 kB / 2.279 GB, free: 65.68 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004072/5.993, allocations: 0.5108 MB / 2.28 GB, free: 65.12 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.581e-05/5.993, allocations: 47.53 kB / 2.28 GB, free: 65.07 MB / 0.7292 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002667/5.995, allocations: 473.4 kB / 2.28 GB, free: 65.05 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=58): time 4.929e-06/5.995, allocations: 0 / 2.28 GB, free: 65.05 MB / 0.7292 GB Notification: Performance of matching and sorting (n=58): time 0.001514/5.997, allocations: 0.8264 MB / 2.281 GB, free: 64.9 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.124e-05/5.997, allocations: 60.03 kB / 2.281 GB, free: 64.83 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002208/5.999, allocations: 1.61 MB / 2.283 GB, free: 64.61 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0001144/5.999, allocations: 53.3 kB / 2.283 GB, free: 64.57 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006612/6, allocations: 0.9213 MB / 2.284 GB, free: 64.37 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001492/6, allocations: 202.7 kB / 2.284 GB, free: 64.27 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.268e-05/6, allocations: 24.38 kB / 2.284 GB, free: 64.27 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 8.364e-05/6, allocations: 348.7 kB / 2.284 GB, free: 63.96 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006088/6.001, allocations: 389.1 kB / 2.285 GB, free: 63.96 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007828/6.002, allocations: 0.7216 MB / 2.285 GB, free: 63.63 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007648/6.003, allocations: 489.9 kB / 2.286 GB, free: 63.62 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.02e-06/6.003, allocations: 2.438 kB / 2.286 GB, free: 63.62 MB / 0.7292 GB Notification: Performance of matching and sorting (n=146) (initialization): time 0.002015/6.005, allocations: 1.289 MB / 2.287 GB, free: 63.45 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002276/6.005, allocations: 0.9362 MB / 2.288 GB, free: 62.46 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.013e-05/6.005, allocations: 0 / 2.288 GB, free: 62.46 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.148e-05/6.005, allocations: 9.781 kB / 2.288 GB, free: 62.46 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001169/6.006, allocations: 281.7 kB / 2.288 GB, free: 62.46 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.699e-05/6.006, allocations: 10.34 kB / 2.288 GB, free: 62.46 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002207/6.008, allocations: 164.9 kB / 2.289 GB, free: 62.45 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001264/6.008, allocations: 66.69 kB / 2.289 GB, free: 62.45 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.393e-05/6.008, allocations: 3.906 kB / 2.289 GB, free: 62.45 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001614/6.01, allocations: 1.069 MB / 2.29 GB, free: 62.42 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/6.01, allocations: 4.5 kB / 2.29 GB, free: 62.42 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.269e-05/6.01, allocations: 4.938 kB / 2.29 GB, free: 62.42 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001109/6.011, allocations: 274.5 kB / 2.29 GB, free: 62.42 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.165e-05/6.011, allocations: 11 kB / 2.29 GB, free: 62.42 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002022/6.013, allocations: 164.1 kB / 2.29 GB, free: 62.41 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001122/6.013, allocations: 61.52 kB / 2.29 GB, free: 62.41 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (146): * Single equations (assignments): 146 * 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.0002815/6.014, allocations: 166.4 kB / 2.29 GB, free: 62.3 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003891/6.014, allocations: 204.3 kB / 2.29 GB, free: 62.2 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002049/6.016, allocations: 1.042 MB / 2.291 GB, free: 62.11 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.424e-05/6.016, allocations: 9.875 kB / 2.291 GB, free: 62.11 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/6.016, allocations: 3.094 kB / 2.291 GB, free: 62.11 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.157e-06/6.016, allocations: 3.609 kB / 2.291 GB, free: 62.11 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003875/6.02, allocations: 2.351 MB / 2.294 GB, free: 61.71 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.255e-06/6.02, allocations: 2.5 kB / 2.294 GB, free: 61.71 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005801/6.021, allocations: 136.2 kB / 2.294 GB, free: 61.71 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.356e-05/6.021, allocations: 5.875 kB / 2.294 GB, free: 61.71 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.283e-05/6.021, allocations: 16.47 kB / 2.294 GB, free: 61.71 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.886e-06/6.021, allocations: 5.719 kB / 2.294 GB, free: 61.71 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.488e-06/6.021, allocations: 5.969 kB / 2.294 GB, free: 61.71 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001441/6.022, allocations: 1.127 MB / 2.295 GB, free: 61.24 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009489/6.023, allocations: 379.2 kB / 2.295 GB, free: 61.04 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001916/6.023, allocations: 11.69 kB / 2.295 GB, free: 61.04 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001054/6.024, allocations: 119.5 kB / 2.296 GB, free: 61.03 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001218/6.025, allocations: 56.31 kB / 2.296 GB, free: 61.02 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.976e-05/6.025, allocations: 26.91 kB / 2.296 GB, free: 61.02 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.001731/6.026, allocations: 1.211 MB / 2.297 GB, free: 60.86 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5.01e-07/6.026, allocations: 0 / 2.297 GB, free: 60.86 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.003033/6.029, allocations: 0.9837 MB / 2.298 GB, free: 60.84 MB / 0.7292 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 () * 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.00175/6.031, allocations: 0.9727 MB / 2.299 GB, free: 60.61 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.002564/6.034, allocations: 1.575 MB / 2.3 GB, free: 60.58 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 4.569e-06/6.034, allocations: 3.625 kB / 2.3 GB, free: 60.58 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0005036/6.034, allocations: 376.7 kB / 2.301 GB, free: 60.57 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005989/6.04, allocations: 1.123 MB / 2.302 GB, free: 60.56 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004187/6.045, allocations: 2.226 MB / 2.304 GB, free: 59.83 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007673/6.045, allocations: 1.449 MB / 2.305 GB, free: 59.09 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.002799/6.048, allocations: 0.5159 MB / 2.306 GB, free: 59.07 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003161/6.048, allocations: 127.4 kB / 2.306 GB, free: 59.07 MB / 0.7292 GB Notification: Performance of SimCode: time 1.733e-06/6.048, allocations: 1.719 kB / 2.306 GB, free: 59.07 MB / 0.7292 GB Notification: Performance of Templates: time 0.08209/6.131, allocations: 48.48 MB / 2.353 GB, free: 57.04 MB / 0.7292 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.sim & ./BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe 2>&1)