Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves.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.TwoWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves") translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves") [/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.1874/0.1886, allocations: 82.21 MB / 0.5935 GB, free: 15.46 MB / 462.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves): time 0.02072/0.2094, allocations: 20.67 MB / 0.6136 GB, free: 10.72 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.01185/0.2213, allocations: 7.965 MB / 0.6214 GB, free: 2.742 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001163/0.2225, allocations: 23.75 kB / 0.6214 GB, free: 2.719 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009497/0.2234, allocations: 242.4 kB / 0.6217 GB, free: 2.48 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.002518/0.226, allocations: 0.7411 MB / 0.6224 GB, free: 1.738 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001924/0.2279, allocations: 0.6291 MB / 0.623 GB, free: 1.117 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.002577/0.2305, allocations: 1.952 MB / 0.6249 GB, free: 15.16 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007731/0.2313, allocations: 432.1 kB / 0.6253 GB, free: 14.72 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001458/0.2327, allocations: 0.6301 MB / 0.626 GB, free: 14.09 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007871/0.2335, allocations: 0.5213 MB / 0.6265 GB, free: 13.57 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 7.631e-05/0.2336, allocations: 28 kB / 0.6265 GB, free: 13.54 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001298/0.2349, allocations: 0.6747 MB / 0.6271 GB, free: 12.86 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001379/0.2351, allocations: 123.4 kB / 0.6273 GB, free: 12.74 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001911/0.2353, allocations: 161.3 kB / 0.6274 GB, free: 12.58 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008868/0.2362, allocations: 0.7598 MB / 0.6282 GB, free: 11.82 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.57e-06/0.2362, allocations: 3.938 kB / 0.6282 GB, free: 11.81 MB / 494.1 MB Notification: Performance of FrontEnd: time 3.958e-06/0.2362, allocations: 0 / 0.6282 GB, free: 11.81 MB / 494.1 MB Notification: Performance of Transformations before backend: time 9.428e-06/0.2362, allocations: 3.938 kB / 0.6282 GB, free: 11.81 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 109 * Number of variables: 109 Notification: Performance of Generate backend data structure: time 0.001573/0.2378, allocations: 0.9423 MB / 0.6291 GB, free: 10.81 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.19e-05/0.2379, allocations: 12.55 kB / 0.6291 GB, free: 10.8 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009459/0.2388, allocations: 198.8 kB / 0.6293 GB, free: 10.61 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006337/0.2395, allocations: 486.8 kB / 0.6298 GB, free: 10.09 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.09e-05/0.2395, allocations: 37 kB / 0.6298 GB, free: 10.05 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.408e-05/0.2396, allocations: 48 kB / 0.6298 GB, free: 10 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003447/0.243, allocations: 1.131 MB / 0.6309 GB, free: 8.828 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.749e-05/0.2431, allocations: 3.984 kB / 0.6309 GB, free: 8.824 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.969e-05/0.2431, allocations: 24 kB / 0.631 GB, free: 8.801 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.817e-05/0.2431, allocations: 19.89 kB / 0.631 GB, free: 8.781 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003316/0.2465, allocations: 0.9703 MB / 0.6319 GB, free: 7.809 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00341/0.2499, allocations: 2.646 MB / 0.6345 GB, free: 5.02 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003069/0.253, allocations: 0.8194 MB / 0.6353 GB, free: 4.172 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003213/0.2533, allocations: 118.5 kB / 0.6354 GB, free: 4.047 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002709/0.2536, allocations: 125.1 kB / 0.6355 GB, free: 3.906 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.069e-05/0.2537, allocations: 46.45 kB / 0.6356 GB, free: 3.852 MB / 494.1 MB Notification: Performance of pre-optimization done (n=16): time 2.565e-06/0.2537, allocations: 0 / 0.6356 GB, free: 3.852 MB / 494.1 MB Notification: Performance of matching and sorting (n=16): time 0.006024/0.2597, allocations: 1.484 MB / 0.637 GB, free: 2.359 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.086e-05/0.2598, allocations: 162.2 kB / 0.6372 GB, free: 2.164 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007818/0.2606, allocations: 0.6449 MB / 0.6378 GB, free: 1.508 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 6.888e-05/0.2607, allocations: 33.7 kB / 0.6379 GB, free: 1.469 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000247/0.2609, allocations: 355.8 kB / 0.6382 GB, free: 1.117 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.271e-05/0.261, allocations: 59.19 kB / 0.6383 GB, free: 1.059 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.097e-05/0.261, allocations: 4 kB / 0.6383 GB, free: 1.055 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001581/0.2612, allocations: 382.7 kB / 0.6386 GB, free: 0.6719 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000945/0.2622, allocations: 356.6 kB / 0.639 GB, free: 332 kB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3536/0.6157, allocations: 492.1 kB / 0.6394 GB, free: 52.18 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001279/0.6171, allocations: 371.6 kB / 0.6398 GB, free: 52.18 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.893e-06/0.6171, allocations: 0.75 kB / 0.6398 GB, free: 52.18 MB / 494.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.002718/0.6198, allocations: 0.9019 MB / 0.6407 GB, free: 52.13 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001075/0.6199, allocations: 173.8 kB / 0.6408 GB, free: 51.95 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.131e-05/0.62, allocations: 2.219 kB / 0.6408 GB, free: 51.95 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.538e-05/0.62, allocations: 5.156 kB / 0.6408 GB, free: 51.95 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004682/0.6247, allocations: 0.8471 MB / 0.6417 GB, free: 51.94 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006564/0.6313, allocations: 4.864 MB / 0.6464 GB, free: 47.96 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001317/0.6326, allocations: 193.9 kB / 0.6466 GB, free: 47.95 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.254e-05/0.6327, allocations: 26.89 kB / 0.6466 GB, free: 47.95 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.505e-05/0.6327, allocations: 4.812 kB / 0.6466 GB, free: 47.95 MB / 494.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008375/0.6336, allocations: 359.2 kB / 0.647 GB, free: 47.92 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.637e-06/0.6336, allocations: 4.062 kB / 0.647 GB, free: 47.92 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.328e-06/0.6336, allocations: 5.781 kB / 0.647 GB, free: 47.92 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000466/0.6341, allocations: 122.5 kB / 0.6471 GB, free: 47.9 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.686e-06/0.6341, allocations: 5.703 kB / 0.6471 GB, free: 47.9 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005049/0.6346, allocations: 87.56 kB / 0.6472 GB, free: 47.9 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.576e-05/0.6346, allocations: 16.69 kB / 0.6472 GB, free: 47.9 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (50): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * 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: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003599/0.635, allocations: 269.1 kB / 0.6475 GB, free: 47.7 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001588/0.6352, allocations: 67.73 kB / 0.6475 GB, free: 47.68 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002399/0.6376, allocations: 0.6923 MB / 0.6482 GB, free: 47.59 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.638e-06/0.6376, allocations: 7.906 kB / 0.6482 GB, free: 47.58 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.615e-06/0.6376, allocations: 1.031 kB / 0.6482 GB, free: 47.58 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.6376, allocations: 1.062 kB / 0.6482 GB, free: 47.58 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001158/0.6388, allocations: 0.7424 MB / 0.6489 GB, free: 47.07 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/0.6388, allocations: 4.688 kB / 0.6489 GB, free: 47.06 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003829/0.6426, allocations: 0.7502 MB / 0.6497 GB, free: 47.02 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.803e-06/0.6427, allocations: 1.125 kB / 0.6497 GB, free: 47.02 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.012e-05/0.6427, allocations: 6.859 kB / 0.6497 GB, free: 47.02 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005541/0.6483, allocations: 4.743 MB / 0.6543 GB, free: 42.85 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.6483, allocations: 1.344 kB / 0.6543 GB, free: 42.85 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002545/0.6508, allocations: 0.7886 MB / 0.6551 GB, free: 42.57 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002516/0.6511, allocations: 148.2 kB / 0.6552 GB, free: 42.43 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.689e-05/0.6512, allocations: 7.062 kB / 0.6552 GB, free: 42.43 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008828/0.6521, allocations: 138.6 kB / 0.6554 GB, free: 42.41 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001135/0.6522, allocations: 18.59 kB / 0.6554 GB, free: 42.41 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.482e-05/0.6523, allocations: 8.5 kB / 0.6554 GB, free: 42.41 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0008195/0.6531, allocations: 446.8 kB / 0.6558 GB, free: 42.21 MB / 494.1 MB Notification: Performance of sort global known variables: time 6.41e-07/0.6531, allocations: 0 / 0.6558 GB, free: 42.21 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001489/0.6546, allocations: 344.9 kB / 0.6561 GB, free: 42.16 MB / 494.1 MB 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 (17): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * 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: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000531/0.6552, allocations: 201.2 kB / 0.6563 GB, free: 42.06 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.007206/0.6624, allocations: 1.594 MB / 0.6579 GB, free: 41.84 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 6.452e-06/0.6624, allocations: 0.75 kB / 0.6579 GB, free: 41.84 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.007437/0.6699, allocations: 1.449 MB / 0.6593 GB, free: 41.73 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002377/0.6723, allocations: 373.1 kB / 0.6597 GB, free: 41.64 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01229/0.6846, allocations: 3.102 MB / 0.6627 GB, free: 40.85 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004173/0.6851, allocations: 0.8984 MB / 0.6636 GB, free: 40.13 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.00083/0.6859, allocations: 124.2 kB / 0.6637 GB, free: 40.11 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002148/0.6861, allocations: 61.2 kB / 0.6638 GB, free: 40.09 MB / 494.1 MB Notification: Performance of SimCode: time 9.72e-07/0.6862, allocations: 4 kB / 0.6638 GB, free: 40.09 MB / 494.1 MB Notification: Performance of Templates: time 0.02412/0.7103, allocations: 13.89 MB / 0.6773 GB, free: 33.51 MB / 494.1 MB make -j1 -f Buildings_3.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves.makefile Environment - environmentSimulation: (rm -f Buildings_3.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves.sim & ./Buildings_3.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe 2>&1) Environment - environmentSimulation: