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.001062/0.001062, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.007715/0.007715, allocations: 169.1 kB / 16.26 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.605/1.605, allocations: 205.4 MB / 222.4 MB, free: 5.559 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.699/1.699, allocations: 292.7 MB / 0.5502 GB, free: 14.48 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.0005354/0.0005354, allocations: 20.48 kB / 0.6743 GB, free: 25.79 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2638/0.2643, allocations: 116.3 MB / 0.7879 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization): time 0.6942/0.9586, allocations: 151.8 MB / 0.9361 GB, free: 34.04 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.05626/1.015, allocations: 34.85 MB / 0.9701 GB, free: 30.86 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008485/1.023, allocations: 135.8 kB / 0.9702 GB, free: 30.79 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.003388/1.027, allocations: 0.8199 MB / 0.971 GB, free: 30.33 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.01085/1.038, allocations: 2.873 MB / 0.9738 GB, free: 29.13 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.006834/1.045, allocations: 2.294 MB / 0.9761 GB, free: 28.18 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.009606/1.054, allocations: 7.312 MB / 0.9832 GB, free: 25.7 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003712/1.058, allocations: 1.831 MB / 0.985 GB, free: 24.57 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006385/1.064, allocations: 2.327 MB / 0.9873 GB, free: 23.36 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004644/1.069, allocations: 1.891 MB / 0.9891 GB, free: 22.43 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0007568/1.07, allocations: 92.53 kB / 0.9892 GB, free: 22.43 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003267/1.073, allocations: 0.9386 MB / 0.9901 GB, free: 21.98 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0004471/1.074, allocations: 431 kB / 0.9905 GB, free: 21.68 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.00208/1.076, allocations: 1.136 MB / 0.9917 GB, free: 20.94 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.004338/1.08, allocations: 3.089 MB / 0.9947 GB, free: 18.89 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.57e-06/1.08, allocations: 0 / 0.9947 GB, free: 18.89 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.685e-06/1.08, allocations: 0 / 0.9947 GB, free: 18.89 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.705e-05/1.08, allocations: 0 / 0.9947 GB, free: 18.89 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.004491/1.085, allocations: 2.312 MB / 0.9969 GB, free: 17.22 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.089e-05/1.085, allocations: 7.281 kB / 0.9969 GB, free: 17.22 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005099/1.085, allocations: 262.3 kB / 0.9972 GB, free: 17.09 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00209/1.087, allocations: 1.43 MB / 0.9986 GB, free: 16.01 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.547e-05/1.087, allocations: 106.9 kB / 0.9987 GB, free: 15.96 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001878/1.088, allocations: 136.6 kB / 0.9988 GB, free: 15.92 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001927/1.09, allocations: 1.169 MB / 1 GB, free: 15.21 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.31e-05/1.09, allocations: 0 / 1 GB, free: 15.21 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.881e-05/1.09, allocations: 45.81 kB / 1 GB, free: 15.18 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.55e-05/1.09, allocations: 29.44 kB / 1 GB, free: 15.18 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001669/1.091, allocations: 1.025 MB / 1.001 GB, free: 14.66 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.009112/1.101, allocations: 6.312 MB / 1.007 GB, free: 9.484 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008045/1.101, allocations: 0.5837 MB / 1.008 GB, free: 9.18 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005055/1.102, allocations: 391.3 kB / 1.008 GB, free: 8.973 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003349/1.102, allocations: 0.5012 MB / 1.009 GB, free: 8.391 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.963e-05/1.102, allocations: 38.75 kB / 1.009 GB, free: 8.348 MB / 0.7169 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001505/1.104, allocations: 337.4 kB / 1.009 GB, free: 8.188 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=58): time 2.755e-06/1.104, allocations: 3.188 kB / 1.009 GB, free: 8.188 MB / 0.7169 GB Notification: Performance of matching and sorting (n=58): time 0.001814/1.106, allocations: 1.132 MB / 1.01 GB, free: 7.602 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.783e-05/1.106, allocations: 70.16 kB / 1.01 GB, free: 7.527 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002071/1.108, allocations: 1.836 MB / 1.012 GB, free: 6.527 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.804e-05/1.108, allocations: 49.64 kB / 1.012 GB, free: 6.48 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006088/1.108, allocations: 0.9254 MB / 1.013 GB, free: 5.668 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001206/1.109, allocations: 196.7 kB / 1.013 GB, free: 5.5 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001376/1.109, allocations: 125.2 kB / 1.013 GB, free: 5.418 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 8.556e-05/1.109, allocations: 348 kB / 1.014 GB, free: 5.082 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006959/1.109, allocations: 442.1 kB / 1.014 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008507/1.11, allocations: 0.6833 MB / 1.015 GB, free: 4.371 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00126/1.112, allocations: 0.9612 MB / 1.016 GB, free: 3.402 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.771e-06/1.112, allocations: 4 kB / 1.016 GB, free: 3.398 MB / 0.7169 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.001896/1.114, allocations: 1.408 MB / 1.017 GB, free: 1.98 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 7.905e-05/1.114, allocations: 194.5 kB / 1.017 GB, free: 1.742 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.123e-05/1.114, allocations: 4 kB / 1.017 GB, free: 1.738 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.164e-05/1.114, allocations: 8 kB / 1.017 GB, free: 1.73 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001119/1.115, allocations: 287.5 kB / 1.017 GB, free: 1.449 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.41e-05/1.115, allocations: 15.98 kB / 1.017 GB, free: 1.434 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001622/1.116, allocations: 154.3 kB / 1.018 GB, free: 1.285 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001167/1.117, allocations: 67.94 kB / 1.018 GB, free: 1.219 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 7.665e-06/1.117, allocations: 4 kB / 1.018 GB, free: 1.215 MB / 0.7169 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001731/1.118, allocations: 1.151 MB / 1.019 GB, free: 64 kB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.054e-06/1.118, allocations: 4 kB / 1.019 GB, free: 60 kB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.466e-06/1.118, allocations: 8 kB / 1.019 GB, free: 52 kB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00116/1.12, allocations: 291.9 kB / 1.019 GB, free: 15.77 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.382e-05/1.12, allocations: 8 kB / 1.019 GB, free: 15.76 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001484/1.121, allocations: 147.6 kB / 1.019 GB, free: 15.61 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.516e-05/1.121, allocations: 55.95 kB / 1.019 GB, free: 15.56 MB / 0.7325 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007183/1.122, allocations: 452.7 kB / 1.02 GB, free: 15.11 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002323/1.122, allocations: 197.5 kB / 1.02 GB, free: 14.91 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001959/1.124, allocations: 1.074 MB / 1.021 GB, free: 13.84 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.538e-05/1.124, allocations: 8 kB / 1.021 GB, free: 13.84 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.181e-06/1.124, allocations: 0 / 1.021 GB, free: 13.84 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.047e-05/1.124, allocations: 7.922 kB / 1.021 GB, free: 13.83 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003452/1.128, allocations: 2.397 MB / 1.023 GB, free: 11.39 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.286e-06/1.128, allocations: 3.938 kB / 1.023 GB, free: 11.38 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000564/1.128, allocations: 139.8 kB / 1.023 GB, free: 11.25 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.108e-05/1.128, allocations: 4 kB / 1.023 GB, free: 11.24 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.116e-05/1.128, allocations: 28.17 kB / 1.023 GB, free: 11.21 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.642e-06/1.128, allocations: 4 kB / 1.023 GB, free: 11.21 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/1.128, allocations: 0 / 1.023 GB, free: 11.21 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00157/1.13, allocations: 1.054 MB / 1.024 GB, free: 10.14 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006611/1.131, allocations: 370.2 kB / 1.025 GB, free: 9.754 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001989/1.131, allocations: 19.94 kB / 1.025 GB, free: 9.734 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009303/1.132, allocations: 95.77 kB / 1.025 GB, free: 9.641 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001333/1.132, allocations: 52.58 kB / 1.025 GB, free: 9.59 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.86e-05/1.132, allocations: 24.03 kB / 1.025 GB, free: 9.566 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001784/1.134, allocations: 1.219 MB / 1.026 GB, free: 8.332 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.3e-07/1.134, allocations: 0 / 1.026 GB, free: 8.332 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002552/1.136, allocations: 0.9004 MB / 1.027 GB, free: 7.43 MB / 0.7325 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007288/1.137, allocations: 342.3 kB / 1.027 GB, free: 7.109 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.003005/1.14, allocations: 1.614 MB / 1.029 GB, free: 5.504 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 6.001e-06/1.14, allocations: 1.375 kB / 1.029 GB, free: 5.504 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0006892/1.141, allocations: 407.9 kB / 1.029 GB, free: 5.102 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006688/1.147, allocations: 1.16 MB / 1.031 GB, free: 3.953 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006087/1.153, allocations: 3.67 MB / 1.034 GB, free: 236 kB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001376/1.155, allocations: 1.397 MB / 1.035 GB, free: 14.8 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.002746/1.158, allocations: 404.2 kB / 1.036 GB, free: 14.41 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004742/1.158, allocations: 159.4 kB / 1.036 GB, free: 14.25 MB / 0.7481 GB Notification: Performance of SimCode: time 2.074e-06/1.158, allocations: 0 / 1.036 GB, free: 14.25 MB / 0.7481 GB Notification: Performance of Templates: time 0.07302/1.231, allocations: 37.42 MB / 1.073 GB, free: 9.426 MB / 0.7794 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: