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.2128/0.2147, allocations: 80.83 MB / 0.5897 GB, free: 7.121 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves): time 0.02501/0.2397, allocations: 22.42 MB / 0.6116 GB, free: 0.6133 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01467/0.2545, allocations: 8.827 MB / 0.6202 GB, free: 7.766 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001508/0.256, allocations: 27.75 kB / 0.6202 GB, free: 7.738 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001164/0.2573, allocations: 270.4 kB / 0.6205 GB, free: 7.473 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003098/0.2604, allocations: 0.8398 MB / 0.6213 GB, free: 6.629 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002378/0.2628, allocations: 0.688 MB / 0.622 GB, free: 5.949 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.003036/0.2658, allocations: 2.288 MB / 0.6242 GB, free: 3.656 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008138/0.2667, allocations: 457.5 kB / 0.6246 GB, free: 3.191 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001415/0.2681, allocations: 0.669 MB / 0.6253 GB, free: 2.52 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000797/0.2689, allocations: 0.5679 MB / 0.6258 GB, free: 1.949 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 9.666e-05/0.269, allocations: 32 kB / 0.6259 GB, free: 1.918 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001587/0.2706, allocations: 0.6943 MB / 0.6266 GB, free: 1.223 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001883/0.2708, allocations: 135.4 kB / 0.6267 GB, free: 1.09 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004592/0.2713, allocations: 366 kB / 0.627 GB, free: 0.7305 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00146/0.2727, allocations: 1.04 MB / 0.6281 GB, free: 15.68 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.044e-05/0.2728, allocations: 3.984 kB / 0.6281 GB, free: 15.68 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.2728, allocations: 0 / 0.6281 GB, free: 15.68 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.219e-05/0.2728, allocations: 0 / 0.6281 GB, free: 15.68 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.001929/0.2747, allocations: 1.071 MB / 0.6291 GB, free: 14.56 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.436e-05/0.2748, allocations: 15.97 kB / 0.6291 GB, free: 14.54 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001122/0.2759, allocations: 171.9 kB / 0.6293 GB, free: 14.38 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007942/0.2767, allocations: 0.5028 MB / 0.6298 GB, free: 13.83 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.197e-05/0.2768, allocations: 37 kB / 0.6298 GB, free: 13.79 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.375e-05/0.2769, allocations: 55.92 kB / 0.6299 GB, free: 13.74 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003862/0.2807, allocations: 1.022 MB / 0.6309 GB, free: 12.67 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.499e-05/0.2808, allocations: 0 / 0.6309 GB, free: 12.67 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.97e-05/0.2808, allocations: 20 kB / 0.6309 GB, free: 12.65 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.474e-05/0.2809, allocations: 19.97 kB / 0.6309 GB, free: 12.63 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003902/0.2848, allocations: 0.8687 MB / 0.6317 GB, free: 11.76 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004366/0.2892, allocations: 2.61 MB / 0.6343 GB, free: 9 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003559/0.2928, allocations: 0.7022 MB / 0.635 GB, free: 8.27 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003696/0.2932, allocations: 114.6 kB / 0.6351 GB, free: 8.148 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003738/0.2936, allocations: 125 kB / 0.6352 GB, free: 8.008 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.536e-05/0.2936, allocations: 42.5 kB / 0.6352 GB, free: 7.957 MB / 494.1 MB Notification: Performance of pre-optimization done (n=16): time 4.308e-06/0.2936, allocations: 0 / 0.6352 GB, free: 7.957 MB / 494.1 MB Notification: Performance of matching and sorting (n=16): time 0.006735/0.3004, allocations: 1.273 MB / 0.6365 GB, free: 6.68 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001187/0.3006, allocations: 158.2 kB / 0.6366 GB, free: 6.488 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001006/0.3016, allocations: 0.6566 MB / 0.6373 GB, free: 5.82 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001025/0.3017, allocations: 29.7 kB / 0.6373 GB, free: 5.785 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003321/0.302, allocations: 355.8 kB / 0.6377 GB, free: 5.434 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.456e-05/0.3021, allocations: 55.2 kB / 0.6377 GB, free: 5.379 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002269/0.3024, allocations: 98.09 kB / 0.6378 GB, free: 5.277 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0002507/0.3026, allocations: 378.8 kB / 0.6382 GB, free: 4.898 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001101/0.3037, allocations: 326.3 kB / 0.6385 GB, free: 4.578 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001175/0.3049, allocations: 460.3 kB / 0.6389 GB, free: 4.07 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002139/0.3071, allocations: 0.668 MB / 0.6396 GB, free: 3.363 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.921e-06/0.3071, allocations: 4 kB / 0.6396 GB, free: 3.359 MB / 494.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.002703/0.3098, allocations: 0.8239 MB / 0.6404 GB, free: 2.527 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.122e-05/0.3098, allocations: 8 kB / 0.6404 GB, free: 2.52 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.179e-05/0.3099, allocations: 0 / 0.6404 GB, free: 2.52 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.683e-05/0.3099, allocations: 8 kB / 0.6404 GB, free: 2.512 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004458/0.3144, allocations: 0.6439 MB / 0.641 GB, free: 1.867 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007277/0.3217, allocations: 4.617 MB / 0.6455 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001332/0.323, allocations: 175.3 kB / 0.6457 GB, free: 12.69 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.99e-05/0.3231, allocations: 23.98 kB / 0.6457 GB, free: 12.66 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005693/0.3237, allocations: 253.8 kB / 0.646 GB, free: 12.41 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003869/0.3241, allocations: 268.2 kB / 0.6462 GB, free: 12.08 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005642/0.3247, allocations: 337.7 kB / 0.6465 GB, free: 11.7 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.645e-06/0.3247, allocations: 0 / 0.6465 GB, free: 11.7 MB / 0.4981 GB Notification: Performance of matching and sorting (n=50) (initialization_lambda0): time 0.0009229/0.3256, allocations: 437.2 kB / 0.6469 GB, free: 11.27 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.45e-05/0.3256, allocations: 4 kB / 0.647 GB, free: 11.26 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.3256, allocations: 11.88 kB / 0.647 GB, free: 11.25 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.15e-05/0.3257, allocations: 11.94 kB / 0.647 GB, free: 11.24 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004565/0.3261, allocations: 107.9 kB / 0.6471 GB, free: 11.13 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.128e-05/0.3261, allocations: 12.44 kB / 0.6471 GB, free: 11.12 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006675/0.3268, allocations: 67.69 kB / 0.6472 GB, free: 11.05 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.805e-05/0.3269, allocations: 23.94 kB / 0.6472 GB, free: 11.03 MB / 0.4981 GB 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 (not torn): 3 * 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): 3 systems {1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002772/0.3271, allocations: 208.1 kB / 0.6474 GB, free: 10.82 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001936/0.3273, allocations: 67.09 kB / 0.6474 GB, free: 10.75 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002194/0.3295, allocations: 0.6068 MB / 0.648 GB, free: 10.13 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.316e-05/0.3296, allocations: 4 kB / 0.648 GB, free: 10.13 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.3296, allocations: 0 / 0.648 GB, free: 10.13 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.3296, allocations: 4 kB / 0.648 GB, free: 10.12 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001087/0.3307, allocations: 0.7411 MB / 0.6488 GB, free: 9.32 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.3307, allocations: 0 / 0.6488 GB, free: 9.32 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003733/0.3344, allocations: 0.5579 MB / 0.6493 GB, free: 8.762 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.525e-06/0.3345, allocations: 0 / 0.6493 GB, free: 8.762 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.833e-05/0.3345, allocations: 7.984 kB / 0.6493 GB, free: 8.754 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005965/0.3405, allocations: 4.518 MB / 0.6537 GB, free: 3.844 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.404e-06/0.3405, allocations: 3.938 kB / 0.6537 GB, free: 3.84 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002285/0.3428, allocations: 0.6991 MB / 0.6544 GB, free: 3.117 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000362/0.3432, allocations: 132.3 kB / 0.6545 GB, free: 2.969 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001564/0.3434, allocations: 8 kB / 0.6545 GB, free: 2.961 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001376/0.3448, allocations: 115.9 kB / 0.6547 GB, free: 2.848 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001315/0.3449, allocations: 15.97 kB / 0.6547 GB, free: 2.832 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.04e-05/0.345, allocations: 11.98 kB / 0.6547 GB, free: 2.82 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0008619/0.3459, allocations: 455 kB / 0.6551 GB, free: 2.383 MB / 0.4981 GB Notification: Performance of sort global known variables: time 3.5e-07/0.3459, allocations: 0 / 0.6551 GB, free: 2.383 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001428/0.3473, allocations: 347.4 kB / 0.6555 GB, free: 2.043 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 (17): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * 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): 3 systems {1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005427/0.3479, allocations: 194.8 kB / 0.6556 GB, free: 1.855 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.006645/0.3545, allocations: 1.319 MB / 0.6569 GB, free: 0.5352 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 9.849e-06/0.3546, allocations: 4 kB / 0.6569 GB, free: 0.5312 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.007436/0.362, allocations: 1.168 MB / 0.6581 GB, free: 15.36 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002094/0.3642, allocations: 367.1 kB / 0.6584 GB, free: 15 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01217/0.3764, allocations: 2.778 MB / 0.6611 GB, free: 12.19 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000543/0.377, allocations: 0.8863 MB / 0.662 GB, free: 11.28 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0008185/0.3778, allocations: 120.1 kB / 0.6621 GB, free: 11.16 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002253/0.378, allocations: 63.39 kB / 0.6622 GB, free: 11.1 MB / 0.5137 GB Notification: Performance of SimCode: time 1.012e-06/0.378, allocations: 0 / 0.6622 GB, free: 11.1 MB / 0.5137 GB Notification: Performance of Templates: time 0.02506/0.4031, allocations: 14.39 MB / 0.6762 GB, free: 12.86 MB / 0.5294 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves.makefile (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)