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.212/0.2128, allocations: 82.21 MB / 0.5935 GB, free: 5.969 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent): time 0.01757/0.2304, allocations: 17.4 MB / 0.6105 GB, free: 4.516 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01077/0.2412, allocations: 6.782 MB / 0.6171 GB, free: 13.72 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00072/0.242, allocations: 23.81 kB / 0.6171 GB, free: 13.7 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00069/0.2427, allocations: 210.6 kB / 0.6173 GB, free: 13.49 MB / 478.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:734:36-735:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:732:36-733:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:734:36-735:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:732:36-733:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.001498/0.2442, allocations: 0.5508 MB / 0.6178 GB, free: 12.94 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00153/0.2458, allocations: 0.552 MB / 0.6184 GB, free: 12.39 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.001784/0.2476, allocations: 1.594 MB / 0.6199 GB, free: 10.79 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005212/0.2481, allocations: 355.7 kB / 0.6203 GB, free: 10.44 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009425/0.249, allocations: 0.5212 MB / 0.6208 GB, free: 9.918 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006778/0.2497, allocations: 458.1 kB / 0.6212 GB, free: 9.469 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 6.36e-05/0.2498, allocations: 24 kB / 0.6212 GB, free: 9.445 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001066/0.2509, allocations: 475.2 kB / 0.6217 GB, free: 8.98 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001664/0.251, allocations: 111.5 kB / 0.6218 GB, free: 8.871 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001541/0.2512, allocations: 137.4 kB / 0.6219 GB, free: 8.73 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008585/0.2521, allocations: 0.6194 MB / 0.6225 GB, free: 8.109 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.2521, allocations: 0 / 0.6225 GB, free: 8.109 MB / 478.1 MB Notification: Performance of FrontEnd: time 3.927e-06/0.2521, allocations: 3.984 kB / 0.6225 GB, free: 8.105 MB / 478.1 MB Notification: Performance of Transformations before backend: time 9.057e-06/0.2521, allocations: 4 kB / 0.6225 GB, free: 8.102 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.00163/0.2538, allocations: 0.849 MB / 0.6234 GB, free: 7.199 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.184e-05/0.2538, allocations: 12.03 kB / 0.6234 GB, free: 7.188 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002201/0.256, allocations: 410.7 kB / 0.6238 GB, free: 6.785 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007049/0.2568, allocations: 444.8 kB / 0.6242 GB, free: 6.312 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.178e-05/0.2568, allocations: 33 kB / 0.6242 GB, free: 6.277 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.666e-05/0.2569, allocations: 47.97 kB / 0.6243 GB, free: 6.23 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00667/0.2635, allocations: 1.786 MB / 0.626 GB, free: 4.398 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.189e-05/0.2636, allocations: 3.938 kB / 0.626 GB, free: 4.395 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.351e-05/0.2637, allocations: 16 kB / 0.626 GB, free: 4.379 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.805e-05/0.2637, allocations: 15.98 kB / 0.6261 GB, free: 4.363 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006895/0.2706, allocations: 1.762 MB / 0.6278 GB, free: 2.602 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00458/0.2753, allocations: 2.811 MB / 0.6305 GB, free: 15.61 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005947/0.2813, allocations: 1.483 MB / 0.632 GB, free: 14.1 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007806/0.2821, allocations: 278.4 kB / 0.6322 GB, free: 13.82 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002901/0.2824, allocations: 121.1 kB / 0.6324 GB, free: 13.68 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.067e-05/0.2824, allocations: 42.52 kB / 0.6324 GB, free: 13.63 MB / 494.1 MB Notification: Performance of pre-optimization done (n=21): time 2.264e-06/0.2824, allocations: 0 / 0.6324 GB, free: 13.63 MB / 494.1 MB Notification: Performance of matching and sorting (n=21): time 0.01247/0.2949, allocations: 3.031 MB / 0.6354 GB, free: 10.59 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000101/0.2951, allocations: 158.2 kB / 0.6355 GB, free: 10.4 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006734/0.2957, allocations: 0.5185 MB / 0.636 GB, free: 9.867 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 7.689e-05/0.2958, allocations: 29.7 kB / 0.636 GB, free: 9.832 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002319/0.2961, allocations: 295.8 kB / 0.6363 GB, free: 9.535 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001039/0.2962, allocations: 78.94 kB / 0.6364 GB, free: 9.457 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.829e-05/0.2962, allocations: 4 kB / 0.6364 GB, free: 9.453 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001535/0.2964, allocations: 362.8 kB / 0.6367 GB, free: 9.09 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00195/0.2983, allocations: 0.6643 MB / 0.6374 GB, free: 8.426 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001977/0.3003, allocations: 0.7654 MB / 0.6381 GB, free: 7.621 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001883/0.3022, allocations: 0.6363 MB / 0.6388 GB, free: 6.984 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.897e-06/0.3022, allocations: 0 / 0.6388 GB, free: 6.984 MB / 494.1 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.004192/0.3064, allocations: 1.493 MB / 0.6402 GB, free: 5.484 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001304/0.3066, allocations: 171 kB / 0.6404 GB, free: 5.277 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.187e-05/0.3066, allocations: 7.984 kB / 0.6404 GB, free: 5.27 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.142e-05/0.3066, allocations: 8 kB / 0.6404 GB, free: 5.262 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01161/0.3183, allocations: 2.076 MB / 0.6424 GB, free: 3.184 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0132/0.3315, allocations: 3.866 MB / 0.6462 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001995/0.3336, allocations: 303.2 kB / 0.6465 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.08e-05/0.3337, allocations: 23.97 kB / 0.6465 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.864e-05/0.3337, allocations: 6.188 kB / 0.6465 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00123/0.335, allocations: 467.2 kB / 0.647 GB, free: 14.4 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.142e-06/0.335, allocations: 0 / 0.647 GB, free: 14.4 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.598e-06/0.335, allocations: 8 kB / 0.647 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000535/0.3355, allocations: 124.2 kB / 0.6471 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.228e-05/0.3356, allocations: 7.953 kB / 0.6471 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008292/0.3364, allocations: 87.53 kB / 0.6472 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.684e-05/0.3365, allocations: 19.98 kB / 0.6472 GB, free: 14.16 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 (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006192/0.3371, allocations: 264.9 kB / 0.6475 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002219/0.3373, allocations: 55.34 kB / 0.6475 GB, free: 13.84 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002177/0.3375, allocations: 56.88 kB / 0.6476 GB, free: 13.78 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.814e-06/0.3376, allocations: 4 kB / 0.6476 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.987e-06/0.3376, allocations: 3.953 kB / 0.6476 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.212e-06/0.3376, allocations: 0 / 0.6476 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001527/0.3391, allocations: 0.8823 MB / 0.6484 GB, free: 12.82 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.881e-06/0.3391, allocations: 4 kB / 0.6484 GB, free: 12.82 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01016/0.3493, allocations: 1.9 MB / 0.6503 GB, free: 10.92 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.609e-05/0.3494, allocations: 0 / 0.6503 GB, free: 10.92 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001453/0.3495, allocations: 19.97 kB / 0.6503 GB, free: 10.9 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.012/0.3615, allocations: 3.722 MB / 0.6539 GB, free: 7.047 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.492e-06/0.3616, allocations: 11.95 kB / 0.654 GB, free: 7.035 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004356/0.3659, allocations: 1.412 MB / 0.6553 GB, free: 5.602 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002628/0.3662, allocations: 136.4 kB / 0.6555 GB, free: 5.449 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001096/0.3664, allocations: 0 / 0.6555 GB, free: 5.449 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001402/0.3678, allocations: 263.7 kB / 0.6557 GB, free: 5.191 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.006e-05/0.3679, allocations: 15.98 kB / 0.6557 GB, free: 5.176 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.027e-05/0.3679, allocations: 15.97 kB / 0.6557 GB, free: 5.16 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0005264/0.3684, allocations: 354.8 kB / 0.6561 GB, free: 4.816 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.61e-07/0.3685, allocations: 0 / 0.6561 GB, free: 4.816 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001201/0.3697, allocations: 327.4 kB / 0.6564 GB, free: 4.496 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 (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004758/0.3701, allocations: 183.8 kB / 0.6566 GB, free: 4.312 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.01568/0.3858, allocations: 3.451 MB / 0.6599 GB, free: 0.8594 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 6.302e-06/0.3859, allocations: 0 / 0.6599 GB, free: 0.8594 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.01166/0.3975, allocations: 2.373 MB / 0.6623 GB, free: 14.48 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001805/0.3994, allocations: 292.9 kB / 0.6625 GB, free: 14.21 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01621/0.4156, allocations: 3.873 MB / 0.6663 GB, free: 10.3 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005775/0.4163, allocations: 0.871 MB / 0.6672 GB, free: 9.398 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0009892/0.4173, allocations: 124.5 kB / 0.6673 GB, free: 9.277 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003897/0.4177, allocations: 59.38 kB / 0.6673 GB, free: 9.219 MB / 0.5137 GB Notification: Performance of SimCode: time 1.873e-06/0.4177, allocations: 0 / 0.6673 GB, free: 9.219 MB / 0.5137 GB Notification: Performance of Templates: time 0.02683/0.4445, allocations: 13.64 MB / 0.6807 GB, free: 11.72 MB / 0.5294 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: