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.1645/0.1653, allocations: 82.23 MB / 0.5934 GB, free: 5.98 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves): time 0.01985/0.1852, allocations: 18.96 MB / 0.6119 GB, free: 2.965 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01206/0.1973, allocations: 7.55 MB / 0.6193 GB, free: 11.4 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001189/0.1986, allocations: 27.75 kB / 0.6193 GB, free: 11.38 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001608/0.2002, allocations: 438.1 kB / 0.6197 GB, free: 10.95 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003139/0.2034, allocations: 0.9105 MB / 0.6206 GB, free: 10.04 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005835/0.2092, allocations: 2.077 MB / 0.6226 GB, free: 7.996 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.002217/0.2114, allocations: 1.015 MB / 0.6236 GB, free: 6.98 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000889/0.2123, allocations: 452 kB / 0.624 GB, free: 6.523 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001259/0.2136, allocations: 0.5762 MB / 0.6246 GB, free: 5.945 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006761/0.2143, allocations: 394.3 kB / 0.625 GB, free: 5.559 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 9.443e-05/0.2144, allocations: 28 kB / 0.625 GB, free: 5.531 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001252/0.2157, allocations: 0.6826 MB / 0.6257 GB, free: 4.848 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001471/0.2158, allocations: 123.5 kB / 0.6258 GB, free: 4.727 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002079/0.216, allocations: 169.3 kB / 0.626 GB, free: 4.555 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000894/0.2169, allocations: 0.752 MB / 0.6267 GB, free: 3.801 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.024e-06/0.2169, allocations: 0 / 0.6267 GB, free: 3.801 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.2169, allocations: 4 kB / 0.6267 GB, free: 3.797 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.994e-05/0.217, allocations: 3.938 kB / 0.6267 GB, free: 3.793 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: 109 * Number of variables: 109 Notification: Performance of Generate backend data structure: time 0.001448/0.2184, allocations: 0.9383 MB / 0.6276 GB, free: 2.801 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.441e-05/0.2185, allocations: 8.031 kB / 0.6276 GB, free: 2.793 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009821/0.2195, allocations: 198.8 kB / 0.6278 GB, free: 2.598 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007116/0.2202, allocations: 494.7 kB / 0.6283 GB, free: 2.07 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.073e-05/0.2202, allocations: 37 kB / 0.6283 GB, free: 2.035 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.618e-05/0.2203, allocations: 48 kB / 0.6284 GB, free: 1.988 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003706/0.224, allocations: 1.119 MB / 0.6295 GB, free: 0.8203 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.788e-05/0.224, allocations: 3.938 kB / 0.6295 GB, free: 0.8164 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.782e-05/0.2241, allocations: 20 kB / 0.6295 GB, free: 0.7969 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.135e-05/0.2241, allocations: 19.89 kB / 0.6295 GB, free: 0.7773 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003679/0.2278, allocations: 0.9742 MB / 0.6305 GB, free: 15.8 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003448/0.2313, allocations: 2.638 MB / 0.633 GB, free: 13.02 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003423/0.2347, allocations: 0.831 MB / 0.6338 GB, free: 12.16 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002688/0.235, allocations: 121.1 kB / 0.634 GB, free: 12.02 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.722e-05/0.235, allocations: 42.45 kB / 0.634 GB, free: 11.97 MB / 494.1 MB Notification: Performance of pre-optimization done (n=16): time 2.123e-06/0.235, allocations: 0 / 0.634 GB, free: 11.97 MB / 494.1 MB Notification: Performance of matching and sorting (n=16): time 0.00666/0.2417, allocations: 1.496 MB / 0.6355 GB, free: 10.47 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.992e-05/0.2418, allocations: 158.2 kB / 0.6356 GB, free: 10.28 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007517/0.2426, allocations: 0.6411 MB / 0.6362 GB, free: 9.625 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 7.642e-05/0.2427, allocations: 33.7 kB / 0.6363 GB, free: 9.586 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002392/0.2429, allocations: 355.9 kB / 0.6366 GB, free: 9.234 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.905e-05/0.243, allocations: 59.19 kB / 0.6367 GB, free: 9.176 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.215e-05/0.243, allocations: 8 kB / 0.6367 GB, free: 9.168 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001223/0.2432, allocations: 374.8 kB / 0.637 GB, free: 8.793 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001028/0.2442, allocations: 364.5 kB / 0.6374 GB, free: 8.438 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001114/0.2453, allocations: 496.4 kB / 0.6378 GB, free: 7.891 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001061/0.2464, allocations: 367.6 kB / 0.6382 GB, free: 7.531 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.2464, allocations: 0 / 0.6382 GB, free: 7.531 MB / 494.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.002399/0.2488, allocations: 0.9032 MB / 0.6391 GB, free: 6.621 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004291/0.2492, allocations: 1.142 MB / 0.6402 GB, free: 5.391 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.498e-06/0.2493, allocations: 4 kB / 0.6402 GB, free: 5.387 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.847e-05/0.2493, allocations: 4 kB / 0.6402 GB, free: 5.383 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004448/0.2537, allocations: 0.8428 MB / 0.641 GB, free: 4.539 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006973/0.2607, allocations: 4.938 MB / 0.6458 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001139/0.2619, allocations: 195.3 kB / 0.646 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.564e-05/0.262, allocations: 27.92 kB / 0.6461 GB, free: 14.99 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 8.546e-06/0.262, allocations: 4 kB / 0.6461 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007044/0.2627, allocations: 355.5 kB / 0.6464 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.687e-06/0.2627, allocations: 4 kB / 0.6464 GB, free: 14.63 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.937e-06/0.2627, allocations: 8 kB / 0.6464 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004254/0.2632, allocations: 107.9 kB / 0.6465 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.676e-06/0.2632, allocations: 7.938 kB / 0.6465 GB, free: 14.51 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005734/0.2637, allocations: 91.75 kB / 0.6466 GB, free: 14.42 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.84e-05/0.2638, allocations: 19.98 kB / 0.6466 GB, free: 14.4 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 (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.0003492/0.2641, allocations: 269 kB / 0.6469 GB, free: 14.13 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001745/0.2643, allocations: 67.2 kB / 0.647 GB, free: 14.06 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002215/0.2665, allocations: 0.7018 MB / 0.6476 GB, free: 13.34 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.477e-06/0.2666, allocations: 0 / 0.6476 GB, free: 13.34 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.603e-06/0.2666, allocations: 0 / 0.6476 GB, free: 13.34 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.751e-06/0.2666, allocations: 11.98 kB / 0.6476 GB, free: 13.33 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009515/0.2675, allocations: 0.7294 MB / 0.6484 GB, free: 12.54 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.2675, allocations: 0 / 0.6484 GB, free: 12.54 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003764/0.2713, allocations: 0.7454 MB / 0.6491 GB, free: 11.79 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.403e-06/0.2713, allocations: 4 kB / 0.6491 GB, free: 11.79 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.871e-05/0.2714, allocations: 11.92 kB / 0.6491 GB, free: 11.78 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006278/0.2777, allocations: 4.808 MB / 0.6538 GB, free: 6.582 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.519e-06/0.2777, allocations: 3.953 kB / 0.6538 GB, free: 6.578 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002366/0.2801, allocations: 0.8019 MB / 0.6546 GB, free: 5.742 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003523/0.2804, allocations: 152.1 kB / 0.6547 GB, free: 5.574 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001538/0.2806, allocations: 11.95 kB / 0.6547 GB, free: 5.562 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000962/0.2816, allocations: 139.9 kB / 0.6549 GB, free: 5.426 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.806e-05/0.2817, allocations: 11.98 kB / 0.6549 GB, free: 5.414 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.003e-05/0.2817, allocations: 7.984 kB / 0.6549 GB, free: 5.406 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0005688/0.2823, allocations: 447 kB / 0.6553 GB, free: 4.977 MB / 0.4981 GB Notification: Performance of sort global known variables: time 5.01e-07/0.2823, allocations: 0 / 0.6553 GB, free: 4.977 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001185/0.2835, allocations: 347.4 kB / 0.6557 GB, free: 4.637 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 (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.000492/0.284, allocations: 193.1 kB / 0.6558 GB, free: 4.445 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.006635/0.2906, allocations: 1.606 MB / 0.6574 GB, free: 2.84 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/0.2907, allocations: 4 kB / 0.6574 GB, free: 2.836 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.007145/0.2978, allocations: 1.436 MB / 0.6588 GB, free: 1.398 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001944/0.2998, allocations: 375.9 kB / 0.6592 GB, free: 1.043 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01221/0.312, allocations: 3.11 MB / 0.6622 GB, free: 13.9 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004577/0.3125, allocations: 0.9058 MB / 0.6631 GB, free: 12.96 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0006986/0.3132, allocations: 129.1 kB / 0.6632 GB, free: 12.84 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002103/0.3134, allocations: 55.41 kB / 0.6633 GB, free: 12.79 MB / 0.5137 GB Notification: Performance of SimCode: time 8.82e-07/0.3134, allocations: 0 / 0.6633 GB, free: 12.79 MB / 0.5137 GB Notification: Performance of Templates: time 0.02516/0.3386, allocations: 13.87 MB / 0.6768 GB, free: 15.07 MB / 0.5294 GB 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: