Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/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/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 3.0.0/package.mo", uses=false) Using package Buildings with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/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) Using package Modelica_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo) Running command: translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent") translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent") [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:257:38-257:110:writable] Warning: The file was not encoded in UTF-8: "

An important practical aspect of state machines is the abilit...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:761:36-761:108:writable] Warning: The file was not encoded in UTF-8: "

The Modelica_StateGraph2 library is described in detail in (O...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:1435:36-1435:108:writable] Warning: The file was not encoded in UTF-8: "

Main Authors:
SCode: time 0.194/0.196, allocations: 80.83 MB / 0.5897 GB, free: 7.125 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent): time 0.02106/0.2171, allocations: 18.92 MB / 0.6082 GB, free: 4.129 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01351/0.2307, allocations: 7.538 MB / 0.6155 GB, free: 12.57 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001173/0.232, allocations: 27.81 kB / 0.6155 GB, free: 12.55 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001039/0.2331, allocations: 230.7 kB / 0.6158 GB, free: 12.32 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002136/0.2352, allocations: 0.618 MB / 0.6164 GB, free: 11.7 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00198/0.2372, allocations: 0.6184 MB / 0.617 GB, free: 11.09 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.00254/0.2398, allocations: 1.867 MB / 0.6188 GB, free: 9.215 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006638/0.2404, allocations: 385.8 kB / 0.6192 GB, free: 8.832 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001318/0.2418, allocations: 0.5445 MB / 0.6197 GB, free: 8.285 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007048/0.2425, allocations: 490 kB / 0.6202 GB, free: 7.805 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 7.575e-05/0.2426, allocations: 32 kB / 0.6202 GB, free: 7.773 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00113/0.2437, allocations: 491.3 kB / 0.6207 GB, free: 7.293 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001656/0.2439, allocations: 127.4 kB / 0.6208 GB, free: 7.168 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003559/0.2443, allocations: 302.3 kB / 0.6211 GB, free: 6.871 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001168/0.2454, allocations: 0.8527 MB / 0.6219 GB, free: 6.016 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.2455, allocations: 0 / 0.6219 GB, free: 6.016 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.2455, allocations: 0 / 0.6219 GB, free: 6.016 MB / 478.1 MB Notification: Performance of Transformations before backend: time 9.327e-06/0.2455, allocations: 0 / 0.6219 GB, free: 6.016 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.00178/0.2473, allocations: 0.9386 MB / 0.6228 GB, free: 5.023 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.282e-05/0.2473, allocations: 12.03 kB / 0.6228 GB, free: 5.012 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002698/0.25, allocations: 363.7 kB / 0.6232 GB, free: 4.656 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001041/0.2511, allocations: 472.9 kB / 0.6236 GB, free: 4.156 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.201e-05/0.2512, allocations: 32.98 kB / 0.6237 GB, free: 4.121 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.078e-05/0.2512, allocations: 47.94 kB / 0.6237 GB, free: 4.074 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007663/0.2589, allocations: 1.579 MB / 0.6252 GB, free: 2.449 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.951e-05/0.259, allocations: 7.938 kB / 0.6253 GB, free: 2.441 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.605e-05/0.2591, allocations: 16 kB / 0.6253 GB, free: 2.426 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.792e-05/0.2592, allocations: 15.94 kB / 0.6253 GB, free: 2.41 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007865/0.267, allocations: 1.528 MB / 0.6268 GB, free: 0.8789 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005233/0.2724, allocations: 2.772 MB / 0.6295 GB, free: 13.93 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006836/0.2792, allocations: 1.283 MB / 0.6307 GB, free: 12.62 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008718/0.2802, allocations: 254.5 kB / 0.631 GB, free: 12.37 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003404/0.2805, allocations: 117 kB / 0.6311 GB, free: 12.23 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.354e-05/0.2806, allocations: 34.56 kB / 0.6311 GB, free: 12.19 MB / 494.1 MB Notification: Performance of pre-optimization done (n=21): time 3.376e-06/0.2806, allocations: 0 / 0.6311 GB, free: 12.19 MB / 494.1 MB Notification: Performance of matching and sorting (n=21): time 0.01403/0.2947, allocations: 2.576 MB / 0.6336 GB, free: 9.605 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001527/0.2949, allocations: 162.2 kB / 0.6338 GB, free: 9.41 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009448/0.2958, allocations: 0.5185 MB / 0.6343 GB, free: 8.879 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000139/0.296, allocations: 37.69 kB / 0.6343 GB, free: 8.836 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003109/0.2963, allocations: 299.8 kB / 0.6346 GB, free: 8.535 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001369/0.2965, allocations: 70.94 kB / 0.6347 GB, free: 8.465 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00029/0.2968, allocations: 106.1 kB / 0.6348 GB, free: 8.355 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0002308/0.297, allocations: 366.8 kB / 0.6351 GB, free: 7.988 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002102/0.2991, allocations: 0.5685 MB / 0.6357 GB, free: 7.418 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00221/0.3013, allocations: 0.6795 MB / 0.6364 GB, free: 6.695 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004124/0.3055, allocations: 1.143 MB / 0.6375 GB, free: 5.516 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.146e-05/0.3055, allocations: 3.938 kB / 0.6375 GB, free: 5.512 MB / 494.1 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.00483/0.3104, allocations: 1.32 MB / 0.6388 GB, free: 4.184 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.464e-05/0.3104, allocations: 8 kB / 0.6388 GB, free: 4.176 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.068e-05/0.3105, allocations: 0 / 0.6388 GB, free: 4.176 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.086e-05/0.3105, allocations: 12 kB / 0.6388 GB, free: 4.164 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01258/0.3231, allocations: 1.619 MB / 0.6404 GB, free: 2.543 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01313/0.3363, allocations: 3.358 MB / 0.6436 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001754/0.3381, allocations: 239.3 kB / 0.6439 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.678e-05/0.3382, allocations: 27.91 kB / 0.6439 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006216/0.3388, allocations: 288.9 kB / 0.6442 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004613/0.3393, allocations: 257.4 kB / 0.6444 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007997/0.3401, allocations: 386.3 kB / 0.6448 GB, free: 13.79 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.485e-06/0.3401, allocations: 4 kB / 0.6448 GB, free: 13.79 MB / 0.4981 GB Notification: Performance of matching and sorting (n=49) (initialization_lambda0): time 0.001093/0.3412, allocations: 489.4 kB / 0.6453 GB, free: 13.3 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.368e-05/0.3412, allocations: 8 kB / 0.6453 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.103e-06/0.3412, allocations: 7.984 kB / 0.6453 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.911e-06/0.3413, allocations: 4 kB / 0.6453 GB, free: 13.28 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005013/0.3418, allocations: 111.8 kB / 0.6454 GB, free: 13.17 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.353e-06/0.3418, allocations: 12.02 kB / 0.6454 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005194/0.3423, allocations: 71.78 kB / 0.6455 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.085e-05/0.3423, allocations: 23.97 kB / 0.6455 GB, free: 13.07 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (49): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002597/0.3426, allocations: 212 kB / 0.6457 GB, free: 12.85 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001615/0.3428, allocations: 55.34 kB / 0.6457 GB, free: 12.8 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001778/0.343, allocations: 60.81 kB / 0.6458 GB, free: 12.73 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.327e-06/0.343, allocations: 4 kB / 0.6458 GB, free: 12.73 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.343, allocations: 4 kB / 0.6458 GB, free: 12.73 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.027e-06/0.343, allocations: 0 / 0.6458 GB, free: 12.73 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001044/0.344, allocations: 0.8822 MB / 0.6467 GB, free: 11.79 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.3441, allocations: 0 / 0.6467 GB, free: 11.79 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01116/0.3552, allocations: 1.467 MB / 0.6481 GB, free: 10.32 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.162e-05/0.3553, allocations: 3.984 kB / 0.6481 GB, free: 10.31 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001611/0.3555, allocations: 11.92 kB / 0.6481 GB, free: 10.3 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01177/0.3672, allocations: 3.265 MB / 0.6513 GB, free: 6.906 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/0.3673, allocations: 0 / 0.6513 GB, free: 6.906 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004204/0.3715, allocations: 1.23 MB / 0.6525 GB, free: 5.652 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000238/0.3718, allocations: 128.4 kB / 0.6526 GB, free: 5.508 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001253/0.3719, allocations: 8 kB / 0.6526 GB, free: 5.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001409/0.3733, allocations: 203.7 kB / 0.6528 GB, free: 5.301 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001102/0.3734, allocations: 23.97 kB / 0.6529 GB, free: 5.277 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.476e-05/0.3735, allocations: 15.97 kB / 0.6529 GB, free: 5.262 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0004758/0.374, allocations: 358.8 kB / 0.6532 GB, free: 4.914 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.374, allocations: 0 / 0.6532 GB, free: 4.914 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.00119/0.3752, allocations: 319.5 kB / 0.6535 GB, free: 4.602 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (21): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004763/0.3757, allocations: 177.5 kB / 0.6537 GB, free: 4.422 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.01575/0.3914, allocations: 2.813 MB / 0.6564 GB, free: 1.609 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.211e-05/0.3915, allocations: 4 kB / 0.6564 GB, free: 1.605 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.01197/0.4035, allocations: 1.869 MB / 0.6583 GB, free: 15.73 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001778/0.4053, allocations: 283.7 kB / 0.6585 GB, free: 15.47 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01699/0.4223, allocations: 3.393 MB / 0.6618 GB, free: 12.04 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000443/0.4228, allocations: 0.8593 MB / 0.6627 GB, free: 11.15 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0009935/0.4238, allocations: 128.5 kB / 0.6628 GB, free: 11.03 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003386/0.4242, allocations: 67.36 kB / 0.6629 GB, free: 10.96 MB / 0.5137 GB Notification: Performance of SimCode: time 7.71e-07/0.4242, allocations: 0 / 0.6629 GB, free: 10.96 MB / 0.5137 GB Notification: Performance of Templates: time 0.02441/0.4486, allocations: 14.11 MB / 0.6767 GB, free: 12.98 MB / 0.5294 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.sim & ./Buildings_3.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe 2>&1)