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.1711/0.1718, allocations: 82.22 MB / 0.5934 GB, free: 5.992 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent): time 0.01756/0.1894, allocations: 15.98 MB / 0.609 GB, free: 5.965 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01005/0.1995, allocations: 6.455 MB / 0.6153 GB, free: 15.5 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005449/0.2, allocations: 19.81 kB / 0.6153 GB, free: 15.48 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001024/0.2011, allocations: 358.4 kB / 0.6156 GB, free: 15.13 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001674/0.2028, allocations: 0.6807 MB / 0.6163 GB, free: 14.45 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004758/0.2075, allocations: 1.859 MB / 0.6181 GB, free: 12.62 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.001476/0.209, allocations: 0.8316 MB / 0.6189 GB, free: 11.79 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004877/0.2095, allocations: 350.9 kB / 0.6193 GB, free: 11.44 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007928/0.2103, allocations: 486.4 kB / 0.6197 GB, free: 10.96 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004418/0.2108, allocations: 342.6 kB / 0.6201 GB, free: 10.63 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 5.373e-05/0.2108, allocations: 24 kB / 0.6201 GB, free: 10.61 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009416/0.2118, allocations: 499.3 kB / 0.6206 GB, free: 10.12 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001321/0.2119, allocations: 115.5 kB / 0.6207 GB, free: 10 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001215/0.2121, allocations: 141.4 kB / 0.6208 GB, free: 9.859 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006823/0.2127, allocations: 0.6117 MB / 0.6214 GB, free: 9.246 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.006e-06/0.2128, allocations: 0 / 0.6214 GB, free: 9.246 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.2128, allocations: 4 kB / 0.6214 GB, free: 9.242 MB / 478.1 MB Notification: Performance of Transformations before backend: time 7.213e-06/0.2128, allocations: 0 / 0.6214 GB, free: 9.242 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.001397/0.2142, allocations: 0.845 MB / 0.6222 GB, free: 8.344 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.531e-05/0.2142, allocations: 12.03 kB / 0.6222 GB, free: 8.332 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002359/0.2166, allocations: 406.8 kB / 0.6226 GB, free: 7.934 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006526/0.2172, allocations: 452.7 kB / 0.6231 GB, free: 7.453 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.146e-05/0.2173, allocations: 36.98 kB / 0.6231 GB, free: 7.414 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.976e-05/0.2174, allocations: 44 kB / 0.6231 GB, free: 7.371 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0068/0.2242, allocations: 1.782 MB / 0.6249 GB, free: 5.543 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.569e-05/0.2242, allocations: 4 kB / 0.6249 GB, free: 5.539 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.243e-05/0.2243, allocations: 16 kB / 0.6249 GB, free: 5.523 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.806e-05/0.2243, allocations: 19.94 kB / 0.6249 GB, free: 5.504 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007081/0.2314, allocations: 1.766 MB / 0.6266 GB, free: 3.738 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00388/0.2353, allocations: 2.799 MB / 0.6294 GB, free: 0.7578 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006455/0.2418, allocations: 1.505 MB / 0.6308 GB, free: 15.23 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003086/0.2421, allocations: 121.1 kB / 0.631 GB, free: 15.09 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.075e-05/0.2421, allocations: 42.5 kB / 0.631 GB, free: 15.04 MB / 494.1 MB Notification: Performance of pre-optimization done (n=21): time 2.414e-06/0.2421, allocations: 0 / 0.631 GB, free: 15.04 MB / 494.1 MB Notification: Performance of matching and sorting (n=21): time 0.01329/0.2554, allocations: 3.028 MB / 0.634 GB, free: 12 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.432e-05/0.2556, allocations: 162.2 kB / 0.6341 GB, free: 11.81 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006677/0.2562, allocations: 0.5185 MB / 0.6346 GB, free: 11.28 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 8.375e-05/0.2563, allocations: 29.7 kB / 0.6346 GB, free: 11.24 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002577/0.2566, allocations: 299.8 kB / 0.6349 GB, free: 10.94 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001017/0.2567, allocations: 78.88 kB / 0.635 GB, free: 10.86 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.841e-05/0.2568, allocations: 8 kB / 0.635 GB, free: 10.86 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001593/0.2569, allocations: 362.8 kB / 0.6354 GB, free: 10.49 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002131/0.2591, allocations: 0.6604 MB / 0.636 GB, free: 9.832 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002139/0.2612, allocations: 0.7577 MB / 0.6367 GB, free: 9.031 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002061/0.2633, allocations: 0.6441 MB / 0.6374 GB, free: 8.387 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.019e-06/0.2633, allocations: 4 kB / 0.6374 GB, free: 8.383 MB / 494.1 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.004539/0.2679, allocations: 1.489 MB / 0.6388 GB, free: 6.887 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000547/0.2684, allocations: 1.043 MB / 0.6398 GB, free: 5.762 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.1e-05/0.2684, allocations: 7.953 kB / 0.6399 GB, free: 5.754 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.036e-05/0.2685, allocations: 4 kB / 0.6399 GB, free: 5.75 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01224/0.2807, allocations: 2.08 MB / 0.6419 GB, free: 3.668 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01384/0.2946, allocations: 4.019 MB / 0.6458 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001744/0.2964, allocations: 291.2 kB / 0.6461 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.406e-05/0.2965, allocations: 31.91 kB / 0.6461 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.037e-05/0.2965, allocations: 4 kB / 0.6461 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001045/0.2975, allocations: 455.4 kB / 0.6466 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.159e-06/0.2975, allocations: 4 kB / 0.6466 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.951e-06/0.2976, allocations: 4 kB / 0.6466 GB, free: 14.74 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004942/0.298, allocations: 132.1 kB / 0.6467 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.221e-06/0.2981, allocations: 4 kB / 0.6467 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005006/0.2986, allocations: 95.53 kB / 0.6468 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.486e-05/0.2986, allocations: 12 kB / 0.6468 GB, free: 14.5 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.0003547/0.299, allocations: 260.9 kB / 0.6471 GB, free: 14.24 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001359/0.2991, allocations: 55.28 kB / 0.6471 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001467/0.2993, allocations: 60.88 kB / 0.6472 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.377e-06/0.2993, allocations: 0 / 0.6472 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.2993, allocations: 4 kB / 0.6472 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.097e-06/0.2993, allocations: 4 kB / 0.6472 GB, free: 14.11 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001016/0.3003, allocations: 0.8784 MB / 0.648 GB, free: 13.17 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.973e-06/0.3003, allocations: 0 / 0.648 GB, free: 13.17 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01099/0.3113, allocations: 1.9 MB / 0.6499 GB, free: 11.27 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.312e-05/0.3114, allocations: 11.98 kB / 0.6499 GB, free: 11.26 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001248/0.3115, allocations: 15.94 kB / 0.6499 GB, free: 11.24 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0128/0.3243, allocations: 3.886 MB / 0.6537 GB, free: 7.227 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.3244, allocations: 0 / 0.6537 GB, free: 7.227 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004454/0.3288, allocations: 1.43 MB / 0.6551 GB, free: 5.762 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001857/0.329, allocations: 136.4 kB / 0.6552 GB, free: 5.609 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001071/0.3292, allocations: 4 kB / 0.6552 GB, free: 5.605 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00148/0.3306, allocations: 255.7 kB / 0.6555 GB, free: 5.355 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.819e-05/0.3307, allocations: 19.98 kB / 0.6555 GB, free: 5.336 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.892e-05/0.3308, allocations: 15.97 kB / 0.6555 GB, free: 5.32 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0004392/0.3312, allocations: 362.8 kB / 0.6559 GB, free: 4.969 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3312, allocations: 0 / 0.6559 GB, free: 4.969 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001018/0.3323, allocations: 323.4 kB / 0.6562 GB, free: 4.652 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.0004244/0.3327, allocations: 182.9 kB / 0.6563 GB, free: 4.473 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.01651/0.3492, allocations: 3.448 MB / 0.6597 GB, free: 1.023 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 8.265e-06/0.3493, allocations: 4 kB / 0.6597 GB, free: 1.02 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0124/0.3617, allocations: 2.369 MB / 0.662 GB, free: 14.65 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001685/0.3634, allocations: 277.5 kB / 0.6623 GB, free: 14.39 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01749/0.3809, allocations: 3.893 MB / 0.6661 GB, free: 10.45 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000466/0.3814, allocations: 0.8749 MB / 0.6669 GB, free: 9.551 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0008083/0.3822, allocations: 132.5 kB / 0.6671 GB, free: 9.422 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003152/0.3826, allocations: 63.38 kB / 0.6671 GB, free: 9.359 MB / 0.5137 GB Notification: Performance of SimCode: time 8.52e-07/0.3826, allocations: 0 / 0.6671 GB, free: 9.359 MB / 0.5137 GB Notification: Performance of Templates: time 0.02073/0.4033, allocations: 13.64 MB / 0.6805 GB, free: 11.85 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: