Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.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.TwoWayValveTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable") translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable") [/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.2076/0.2098, allocations: 80.83 MB / 0.6706 GB, free: 1.875 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable): time 0.02682/0.2367, allocations: 17.41 MB / 0.6876 GB, free: 412 kB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.01531/0.252, allocations: 6.745 MB / 0.6942 GB, free: 9.633 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001265/0.2534, allocations: 15.94 kB / 0.6942 GB, free: 9.617 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.001595/0.255, allocations: 294.2 kB / 0.6945 GB, free: 9.328 MB / 0.5294 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.002597/0.2577, allocations: 0.5479 MB / 0.695 GB, free: 8.777 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.002994/0.2607, allocations: 0.6412 MB / 0.6957 GB, free: 8.141 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.002415/0.2631, allocations: 1.048 MB / 0.6967 GB, free: 7.086 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007572/0.2639, allocations: 344.8 kB / 0.697 GB, free: 6.738 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00122/0.2651, allocations: 490 kB / 0.6975 GB, free: 6.258 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006529/0.2658, allocations: 346.6 kB / 0.6978 GB, free: 5.918 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 9.542e-05/0.2659, allocations: 36 kB / 0.6979 GB, free: 5.883 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00182/0.2677, allocations: 0.6279 MB / 0.6985 GB, free: 5.254 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0002181/0.268, allocations: 143.5 kB / 0.6986 GB, free: 5.113 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0004156/0.2684, allocations: 286.5 kB / 0.6989 GB, free: 4.832 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001937/0.2703, allocations: 0.8957 MB / 0.6997 GB, free: 3.934 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/0.2704, allocations: 0 / 0.6997 GB, free: 3.934 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.214e-06/0.2704, allocations: 0 / 0.6997 GB, free: 3.934 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.11e-05/0.2704, allocations: 4 kB / 0.6998 GB, free: 3.93 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: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.001847/0.2723, allocations: 0.9032 MB / 0.7006 GB, free: 2.977 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.642e-05/0.2723, allocations: 8.031 kB / 0.7006 GB, free: 2.969 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003598/0.2727, allocations: 68.19 kB / 0.7007 GB, free: 2.902 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000942/0.2736, allocations: 480.9 kB / 0.7012 GB, free: 2.391 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.371e-05/0.2737, allocations: 24.66 kB / 0.7012 GB, free: 2.367 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001009/0.2738, allocations: 36 kB / 0.7012 GB, free: 2.332 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001659/0.2755, allocations: 486.1 kB / 0.7017 GB, free: 1.809 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.41e-05/0.2755, allocations: 0 / 0.7017 GB, free: 1.809 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.043e-05/0.2756, allocations: 20 kB / 0.7017 GB, free: 1.789 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.201e-05/0.2756, allocations: 8 kB / 0.7017 GB, free: 1.781 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001225/0.2769, allocations: 325.8 kB / 0.702 GB, free: 1.457 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00261/0.2795, allocations: 2.2 MB / 0.7042 GB, free: 15.13 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008079/0.2803, allocations: 194.6 kB / 0.7044 GB, free: 14.93 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001508/0.2805, allocations: 64.83 kB / 0.7044 GB, free: 14.87 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001401/0.2819, allocations: 0.916 MB / 0.7053 GB, free: 13.83 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.549e-05/0.2819, allocations: 38.56 kB / 0.7054 GB, free: 13.79 MB / 0.545 GB Notification: Performance of pre-optimization done (n=11): time 2.455e-06/0.2819, allocations: 3.938 kB / 0.7054 GB, free: 13.78 MB / 0.545 GB Notification: Performance of matching and sorting (n=11): time 0.001529/0.2835, allocations: 356.7 kB / 0.7057 GB, free: 13.43 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.465e-05/0.2836, allocations: 102.8 kB / 0.7058 GB, free: 13.3 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009129/0.2845, allocations: 0.6474 MB / 0.7064 GB, free: 12.64 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 6.768e-05/0.2846, allocations: 33.7 kB / 0.7065 GB, free: 12.61 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003092/0.2849, allocations: 315.5 kB / 0.7068 GB, free: 12.29 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.829e-05/0.285, allocations: 43.44 kB / 0.7068 GB, free: 12.25 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001231/0.2851, allocations: 85.53 kB / 0.7069 GB, free: 12.16 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000208/0.2853, allocations: 370.7 kB / 0.7072 GB, free: 11.79 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000343/0.2857, allocations: 116.6 kB / 0.7073 GB, free: 11.67 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004946/0.2862, allocations: 298 kB / 0.7076 GB, free: 11.3 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007281/0.2869, allocations: 338.8 kB / 0.708 GB, free: 10.91 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.651e-06/0.2869, allocations: 4 kB / 0.708 GB, free: 10.91 MB / 0.545 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0009782/0.2879, allocations: 412.9 kB / 0.7084 GB, free: 10.5 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.859e-05/0.2879, allocations: 15.06 kB / 0.7084 GB, free: 10.49 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.137e-05/0.288, allocations: 4 kB / 0.7084 GB, free: 10.48 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.773e-05/0.288, allocations: 7.984 kB / 0.7084 GB, free: 10.48 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000411/0.2884, allocations: 87.89 kB / 0.7085 GB, free: 10.39 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.283e-05/0.2884, allocations: 15.88 kB / 0.7085 GB, free: 10.38 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005078/0.289, allocations: 71.34 kB / 0.7085 GB, free: 10.3 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.126e-05/0.289, allocations: 19.98 kB / 0.7086 GB, free: 10.29 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003695/0.2894, allocations: 232.1 kB / 0.7088 GB, free: 10.05 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003499/0.2897, allocations: 258.9 kB / 0.709 GB, free: 9.723 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004637/0.2902, allocations: 290.5 kB / 0.7093 GB, free: 9.383 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.663e-06/0.2902, allocations: 0 / 0.7093 GB, free: 9.383 MB / 0.545 GB Notification: Performance of matching and sorting (n=42) (initialization_lambda0): time 0.0006582/0.2909, allocations: 371.1 kB / 0.7097 GB, free: 9.016 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.178e-05/0.2909, allocations: 8 kB / 0.7097 GB, free: 9.008 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.489e-06/0.2909, allocations: 4 kB / 0.7097 GB, free: 9.004 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.062e-05/0.2909, allocations: 11.94 kB / 0.7097 GB, free: 8.992 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002672/0.2912, allocations: 75.89 kB / 0.7098 GB, free: 8.918 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.979e-06/0.2912, allocations: 11.94 kB / 0.7098 GB, free: 8.906 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003726/0.2916, allocations: 39.73 kB / 0.7098 GB, free: 8.867 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.493e-05/0.2917, allocations: 20 kB / 0.7098 GB, free: 8.848 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (42): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002155/0.2919, allocations: 204.3 kB / 0.71 GB, free: 8.641 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001199/0.292, allocations: 55.33 kB / 0.7101 GB, free: 8.586 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007601/0.2928, allocations: 249.9 kB / 0.7103 GB, free: 8.336 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.2928, allocations: 0 / 0.7103 GB, free: 8.336 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.2928, allocations: 0 / 0.7103 GB, free: 8.336 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.858e-06/0.2928, allocations: 0 / 0.7103 GB, free: 8.336 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004888/0.2933, allocations: 393.4 kB / 0.7107 GB, free: 7.902 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.2933, allocations: 0 / 0.7107 GB, free: 7.902 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002241/0.2935, allocations: 31.97 kB / 0.7107 GB, free: 7.871 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.2936, allocations: 0 / 0.7107 GB, free: 7.871 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.029e-05/0.2936, allocations: 15.88 kB / 0.7107 GB, free: 7.855 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.462e-06/0.2936, allocations: 4 kB / 0.7107 GB, free: 7.852 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.2936, allocations: 0 / 0.7107 GB, free: 7.852 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009272/0.2945, allocations: 406.6 kB / 0.7111 GB, free: 7.438 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001284/0.2947, allocations: 136.4 kB / 0.7113 GB, free: 7.285 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.234e-05/0.2947, allocations: 3.938 kB / 0.7113 GB, free: 7.281 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003125/0.2951, allocations: 27.97 kB / 0.7113 GB, free: 7.254 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.345e-05/0.2951, allocations: 7.984 kB / 0.7113 GB, free: 7.246 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.469e-05/0.2951, allocations: 4 kB / 0.7113 GB, free: 7.242 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0005182/0.2957, allocations: 462.8 kB / 0.7117 GB, free: 6.793 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2957, allocations: 0 / 0.7117 GB, free: 6.793 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0008217/0.2965, allocations: 235.8 kB / 0.712 GB, free: 6.562 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (senVolFlo.d) * 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 (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001198/0.2977, allocations: 441.1 kB / 0.7124 GB, free: 6.262 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001112/0.2988, allocations: 392.2 kB / 0.7128 GB, free: 5.879 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.277e-06/0.2989, allocations: 0 / 0.7128 GB, free: 5.879 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002725/0.2991, allocations: 85.25 kB / 0.7128 GB, free: 5.797 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001331/0.3005, allocations: 284.3 kB / 0.7131 GB, free: 5.523 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003594/0.3041, allocations: 1.146 MB / 0.7142 GB, free: 4.344 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004176/0.3045, allocations: 0.8547 MB / 0.7151 GB, free: 3.461 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0004235/0.3049, allocations: 104.7 kB / 0.7152 GB, free: 3.359 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000108/0.3051, allocations: 35.44 kB / 0.7152 GB, free: 3.324 MB / 0.545 GB Notification: Performance of SimCode: time 5.61e-07/0.3051, allocations: 4 kB / 0.7152 GB, free: 3.32 MB / 0.545 GB Notification: Performance of Templates: time 0.02105/0.3261, allocations: 10.61 MB / 0.7256 GB, free: 8.844 MB / 0.5606 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.sim & ./Buildings_3.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe 2>&1)