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.1934/0.1958, allocations: 80.83 MB / 0.6706 GB, free: 2.031 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent): time 0.02214/0.218, allocations: 19 MB / 0.6892 GB, free: 14.95 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.01279/0.2308, allocations: 7.116 MB / 0.6961 GB, free: 7.816 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001214/0.2322, allocations: 19.81 kB / 0.6961 GB, free: 7.797 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.001039/0.2333, allocations: 294 kB / 0.6964 GB, free: 7.508 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.002102/0.2354, allocations: 0.6643 MB / 0.6971 GB, free: 6.84 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.002511/0.2379, allocations: 0.6843 MB / 0.6977 GB, free: 6.16 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.002349/0.2403, allocations: 1.383 MB / 0.6991 GB, free: 4.773 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007053/0.241, allocations: 453.4 kB / 0.6995 GB, free: 4.32 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001041/0.242, allocations: 0.6071 MB / 0.7001 GB, free: 3.711 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005927/0.2426, allocations: 485.9 kB / 0.7006 GB, free: 3.234 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 7.113e-05/0.2427, allocations: 52 kB / 0.7006 GB, free: 3.184 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009459/0.2437, allocations: 0.5149 MB / 0.7011 GB, free: 2.668 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001496/0.2438, allocations: 139.4 kB / 0.7013 GB, free: 2.531 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0002887/0.2441, allocations: 326.3 kB / 0.7016 GB, free: 2.211 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001069/0.2452, allocations: 0.8761 MB / 0.7024 GB, free: 1.332 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.2452, allocations: 0 / 0.7024 GB, free: 1.332 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.573e-06/0.2452, allocations: 0 / 0.7024 GB, free: 1.332 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 9.427e-06/0.2452, allocations: 0 / 0.7024 GB, free: 1.332 MB / 0.5294 GB 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.001596/0.2468, allocations: 0.9618 MB / 0.7034 GB, free: 328 kB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.409e-05/0.2469, allocations: 8.031 kB / 0.7034 GB, free: 320 kB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00248/0.2494, allocations: 359.9 kB / 0.7037 GB, free: 15.96 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007806/0.2502, allocations: 488.8 kB / 0.7042 GB, free: 15.44 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.004e-05/0.2502, allocations: 33 kB / 0.7042 GB, free: 15.41 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.703e-05/0.2503, allocations: 40 kB / 0.7043 GB, free: 15.37 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007067/0.2574, allocations: 1.571 MB / 0.7058 GB, free: 13.75 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.914e-05/0.2574, allocations: 4 kB / 0.7058 GB, free: 13.75 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.525e-05/0.2575, allocations: 19.98 kB / 0.7058 GB, free: 13.73 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.161e-05/0.2575, allocations: 12 kB / 0.7058 GB, free: 13.72 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007453/0.265, allocations: 1.543 MB / 0.7073 GB, free: 12.17 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004024/0.269, allocations: 2.772 MB / 0.71 GB, free: 9.219 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00657/0.2756, allocations: 1.272 MB / 0.7113 GB, free: 7.918 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008744/0.2766, allocations: 254.4 kB / 0.7115 GB, free: 7.66 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003215/0.2769, allocations: 117.1 kB / 0.7116 GB, free: 7.527 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.018e-05/0.2769, allocations: 46.5 kB / 0.7117 GB, free: 7.473 MB / 0.545 GB Notification: Performance of pre-optimization done (n=21): time 3.557e-06/0.277, allocations: 0 / 0.7117 GB, free: 7.473 MB / 0.545 GB Notification: Performance of matching and sorting (n=21): time 0.01413/0.2911, allocations: 2.576 MB / 0.7142 GB, free: 4.891 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001151/0.2913, allocations: 158.2 kB / 0.7144 GB, free: 4.699 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007598/0.292, allocations: 0.5223 MB / 0.7149 GB, free: 4.168 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0001059/0.2921, allocations: 33.7 kB / 0.7149 GB, free: 4.129 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002511/0.2924, allocations: 291.8 kB / 0.7152 GB, free: 3.84 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001076/0.2925, allocations: 82.94 kB / 0.7153 GB, free: 3.758 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002522/0.2928, allocations: 102 kB / 0.7153 GB, free: 3.652 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001921/0.293, allocations: 362.8 kB / 0.7157 GB, free: 3.289 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00224/0.2952, allocations: 0.5842 MB / 0.7163 GB, free: 2.703 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002323/0.2976, allocations: 0.6717 MB / 0.7169 GB, free: 1.988 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004394/0.302, allocations: 1.147 MB / 0.718 GB, free: 0.8047 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.26e-06/0.302, allocations: 4 kB / 0.718 GB, free: 0.8008 MB / 0.545 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.004894/0.3069, allocations: 1.316 MB / 0.7193 GB, free: 15.48 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.039e-05/0.3069, allocations: 4 kB / 0.7193 GB, free: 15.47 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.276e-05/0.307, allocations: 4 kB / 0.7193 GB, free: 15.47 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.663e-05/0.307, allocations: 4 kB / 0.7193 GB, free: 15.46 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01212/0.3191, allocations: 1.611 MB / 0.7209 GB, free: 13.85 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01408/0.3332, allocations: 3.617 MB / 0.7244 GB, free: 10.09 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002064/0.3354, allocations: 231.3 kB / 0.7247 GB, free: 9.867 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001191/0.3355, allocations: 27.97 kB / 0.7247 GB, free: 9.84 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007636/0.3363, allocations: 284.9 kB / 0.725 GB, free: 9.559 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005638/0.3369, allocations: 265.3 kB / 0.7252 GB, free: 9.25 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008825/0.3378, allocations: 397.6 kB / 0.7256 GB, free: 8.824 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.803e-06/0.3378, allocations: 0 / 0.7256 GB, free: 8.824 MB / 0.5606 GB Notification: Performance of matching and sorting (n=49) (initialization_lambda0): time 0.001244/0.339, allocations: 493.2 kB / 0.7261 GB, free: 8.336 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.912e-05/0.3391, allocations: 8 kB / 0.7261 GB, free: 8.328 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.3391, allocations: 0 / 0.7261 GB, free: 8.328 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.309e-05/0.3391, allocations: 8 kB / 0.7261 GB, free: 8.32 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005085/0.3396, allocations: 112.1 kB / 0.7262 GB, free: 8.211 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.396e-05/0.3396, allocations: 15.92 kB / 0.7262 GB, free: 8.195 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004606/0.3401, allocations: 59.64 kB / 0.7263 GB, free: 8.137 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.713e-05/0.3401, allocations: 16 kB / 0.7263 GB, free: 8.121 MB / 0.5606 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.0002538/0.3404, allocations: 204.1 kB / 0.7265 GB, free: 7.914 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001543/0.3406, allocations: 51.34 kB / 0.7265 GB, free: 7.863 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001938/0.3408, allocations: 56.88 kB / 0.7266 GB, free: 7.809 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.382e-06/0.3408, allocations: 11.88 kB / 0.7266 GB, free: 7.797 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.74e-06/0.3408, allocations: 4 kB / 0.7266 GB, free: 7.793 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.798e-05/0.3408, allocations: 3.984 kB / 0.7266 GB, free: 7.789 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001054/0.3419, allocations: 0.8706 MB / 0.7274 GB, free: 6.848 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.277e-06/0.3419, allocations: 8 kB / 0.7275 GB, free: 6.84 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01114/0.3531, allocations: 1.467 MB / 0.7289 GB, free: 5.371 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.266e-05/0.3531, allocations: 0 / 0.7289 GB, free: 5.371 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001352/0.3533, allocations: 19.97 kB / 0.7289 GB, free: 5.352 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01348/0.3667, allocations: 3.5 MB / 0.7323 GB, free: 1.715 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.941e-06/0.3668, allocations: 12.03 kB / 0.7323 GB, free: 1.703 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004949/0.3718, allocations: 1.222 MB / 0.7335 GB, free: 468 kB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002956/0.3721, allocations: 132.4 kB / 0.7337 GB, free: 316 kB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001027/0.3722, allocations: 4 kB / 0.7337 GB, free: 312 kB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001425/0.3737, allocations: 199.8 kB / 0.7338 GB, free: 112 kB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.643e-05/0.3738, allocations: 11.92 kB / 0.7339 GB, free: 100 kB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.212e-05/0.3738, allocations: 19.97 kB / 0.7339 GB, free: 80 kB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0004497/0.3743, allocations: 358.9 kB / 0.7342 GB, free: 15.73 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.71e-07/0.3743, allocations: 0 / 0.7342 GB, free: 15.73 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001114/0.3754, allocations: 327.5 kB / 0.7345 GB, free: 15.41 MB / 0.5762 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.000617/0.376, allocations: 176.1 kB / 0.7347 GB, free: 15.24 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01711/0.3932, allocations: 2.814 MB / 0.7374 GB, free: 12.42 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 8.426e-06/0.3932, allocations: 0 / 0.7374 GB, free: 12.42 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.01788/0.4111, allocations: 1.869 MB / 0.7393 GB, free: 10.55 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002208/0.4134, allocations: 244.4 kB / 0.7395 GB, free: 10.31 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02417/0.4376, allocations: 3.197 MB / 0.7426 GB, free: 7.082 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005728/0.4382, allocations: 0.8629 MB / 0.7435 GB, free: 6.191 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001139/0.4394, allocations: 135.2 kB / 0.7436 GB, free: 6.059 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004699/0.4398, allocations: 63.36 kB / 0.7437 GB, free: 5.996 MB / 0.5762 GB Notification: Performance of SimCode: time 1.102e-06/0.4399, allocations: 4 kB / 0.7437 GB, free: 5.992 MB / 0.5762 GB Notification: Performance of Templates: time 0.5216/0.9614, allocations: 15.08 MB / 0.7584 GB, free: 75.83 MB / 0.5762 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)