Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.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.TwoWayValvesTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable") translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable") [/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.2027/0.2059, allocations: 80.83 MB / 0.5897 GB, free: 7.102 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable): time 0.01644/0.2224, allocations: 15.46 MB / 0.6048 GB, free: 7.57 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01117/0.2336, allocations: 6.71 MB / 0.6113 GB, free: 0.8438 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008367/0.2345, allocations: 11.88 kB / 0.6113 GB, free: 0.832 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00126/0.2358, allocations: 258.7 kB / 0.6116 GB, free: 0.5781 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001614/0.2375, allocations: 0.4937 MB / 0.6121 GB, free: 84 kB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001698/0.2392, allocations: 0.5515 MB / 0.6126 GB, free: 15.54 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.002457/0.2416, allocations: 1.419 MB / 0.614 GB, free: 14.12 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007521/0.2424, allocations: 297.6 kB / 0.6143 GB, free: 13.82 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001075/0.2435, allocations: 434.2 kB / 0.6147 GB, free: 13.4 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005692/0.2441, allocations: 354.4 kB / 0.615 GB, free: 13.05 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 6.284e-05/0.2441, allocations: 20 kB / 0.6151 GB, free: 13.03 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001313/0.2455, allocations: 0.4992 MB / 0.6155 GB, free: 12.53 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000166/0.2456, allocations: 103.6 kB / 0.6156 GB, free: 12.43 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003246/0.246, allocations: 242.6 kB / 0.6159 GB, free: 12.19 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001067/0.2471, allocations: 0.7438 MB / 0.6166 GB, free: 11.45 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.145e-06/0.2471, allocations: 0 / 0.6166 GB, free: 11.45 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.2471, allocations: 4 kB / 0.6166 GB, free: 11.44 MB / 478.1 MB Notification: Performance of Transformations before backend: time 8.275e-06/0.2471, allocations: 0 / 0.6166 GB, free: 11.44 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: 71 * Number of variables: 71 Notification: Performance of Generate backend data structure: time 0.001534/0.2486, allocations: 0.8445 MB / 0.6174 GB, free: 10.55 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.656e-05/0.2487, allocations: 8.031 kB / 0.6174 GB, free: 10.54 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000304/0.249, allocations: 68.27 kB / 0.6175 GB, free: 10.47 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005724/0.2496, allocations: 408.8 kB / 0.6179 GB, free: 10.03 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.655e-05/0.2496, allocations: 20.66 kB / 0.6179 GB, free: 10.01 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.843e-05/0.2497, allocations: 39.94 kB / 0.6179 GB, free: 9.973 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001567/0.2513, allocations: 0.5087 MB / 0.6184 GB, free: 9.418 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.396e-05/0.2513, allocations: 0 / 0.6184 GB, free: 9.418 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.904e-05/0.2513, allocations: 16 kB / 0.6185 GB, free: 9.402 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.8e-05/0.2514, allocations: 15.94 kB / 0.6185 GB, free: 9.387 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001281/0.2527, allocations: 363.5 kB / 0.6188 GB, free: 9.031 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002297/0.255, allocations: 2.026 MB / 0.6208 GB, free: 6.883 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001098/0.2561, allocations: 283.6 kB / 0.6211 GB, free: 6.578 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001326/0.2562, allocations: 50.62 kB / 0.6211 GB, free: 6.52 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.665e-05/0.2563, allocations: 3.984 kB / 0.6211 GB, free: 6.516 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.663e-05/0.2563, allocations: 38.56 kB / 0.6212 GB, free: 6.469 MB / 478.1 MB Notification: Performance of pre-optimization done (n=9): time 2.023e-06/0.2563, allocations: 4 kB / 0.6212 GB, free: 6.465 MB / 478.1 MB Notification: Performance of matching and sorting (n=9): time 0.002339/0.2587, allocations: 480.8 kB / 0.6216 GB, free: 5.988 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001656/0.2589, allocations: 166.1 kB / 0.6218 GB, free: 5.789 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006277/0.2595, allocations: 0.5144 MB / 0.6223 GB, free: 5.262 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.573e-05/0.2595, allocations: 33.7 kB / 0.6223 GB, free: 5.223 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002189/0.2598, allocations: 275.6 kB / 0.6226 GB, free: 4.949 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.243e-05/0.2598, allocations: 31.55 kB / 0.6226 GB, free: 4.918 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001095/0.2599, allocations: 65.69 kB / 0.6227 GB, free: 4.848 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.000164/0.2601, allocations: 358.8 kB / 0.623 GB, free: 4.488 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004213/0.2605, allocations: 132.7 kB / 0.6231 GB, free: 4.355 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000521/0.2611, allocations: 270.4 kB / 0.6234 GB, free: 4.027 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008016/0.2619, allocations: 328.9 kB / 0.6237 GB, free: 3.668 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.2619, allocations: 0 / 0.6237 GB, free: 3.668 MB / 478.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001016/0.2629, allocations: 402 kB / 0.6241 GB, free: 3.27 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.075e-05/0.2629, allocations: 4 kB / 0.6241 GB, free: 3.266 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.024e-05/0.263, allocations: 8.312 kB / 0.6241 GB, free: 3.258 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.642e-05/0.263, allocations: 8 kB / 0.6241 GB, free: 3.25 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004386/0.2634, allocations: 83.88 kB / 0.6242 GB, free: 3.168 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.379e-05/0.2634, allocations: 7.984 kB / 0.6242 GB, free: 3.16 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005583/0.264, allocations: 83.48 kB / 0.6243 GB, free: 3.078 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.752e-05/0.2641, allocations: 15.98 kB / 0.6243 GB, free: 3.062 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003135/0.2644, allocations: 193 kB / 0.6245 GB, free: 2.871 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002732/0.2647, allocations: 219.6 kB / 0.6247 GB, free: 2.586 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003555/0.265, allocations: 224.6 kB / 0.6249 GB, free: 2.32 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.492e-06/0.265, allocations: 0 / 0.6249 GB, free: 2.32 MB / 478.1 MB Notification: Performance of matching and sorting (n=31) (initialization_lambda0): time 0.0005149/0.2656, allocations: 292.7 kB / 0.6252 GB, free: 2.027 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.153e-05/0.2656, allocations: 11.98 kB / 0.6252 GB, free: 2.016 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.147e-06/0.2656, allocations: 4 kB / 0.6252 GB, free: 2.012 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.767e-06/0.2656, allocations: 7.938 kB / 0.6252 GB, free: 2.004 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002316/0.2658, allocations: 60.34 kB / 0.6253 GB, free: 1.945 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.664e-06/0.2659, allocations: 15.94 kB / 0.6253 GB, free: 1.93 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003644/0.2662, allocations: 43.72 kB / 0.6253 GB, free: 1.887 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.641e-05/0.2662, allocations: 15.94 kB / 0.6253 GB, free: 1.871 MB / 478.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 (31): * Single equations (assignments): 31 * 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.000155/0.2664, allocations: 196.2 kB / 0.6255 GB, free: 1.672 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001274/0.2665, allocations: 47.44 kB / 0.6256 GB, free: 1.625 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008522/0.2674, allocations: 269.3 kB / 0.6258 GB, free: 1.352 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.077e-06/0.2674, allocations: 0 / 0.6258 GB, free: 1.352 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/0.2674, allocations: 0 / 0.6258 GB, free: 1.352 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/0.2674, allocations: 4 kB / 0.6258 GB, free: 1.348 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007335/0.2682, allocations: 0.5851 MB / 0.6264 GB, free: 0.6992 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.2682, allocations: 0 / 0.6264 GB, free: 0.6992 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002745/0.2685, allocations: 55.94 kB / 0.6264 GB, free: 0.6445 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.008e-06/0.2685, allocations: 4 kB / 0.6265 GB, free: 0.6406 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.542e-05/0.2685, allocations: 0 / 0.6265 GB, free: 0.6406 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.2685, allocations: 0 / 0.6265 GB, free: 0.6406 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.577e-06/0.2685, allocations: 7.984 kB / 0.6265 GB, free: 0.6328 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000819/0.2693, allocations: 376.3 kB / 0.6268 GB, free: 248 kB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001006/0.2695, allocations: 120.5 kB / 0.6269 GB, free: 108 kB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.038e-05/0.2695, allocations: 7.984 kB / 0.6269 GB, free: 100 kB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004048/0.2699, allocations: 43.95 kB / 0.627 GB, free: 56 kB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.442e-05/0.27, allocations: 7.984 kB / 0.627 GB, free: 48 kB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.427e-06/0.27, allocations: 0 / 0.627 GB, free: 48 kB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0004185/0.2704, allocations: 374.9 kB / 0.6273 GB, free: 15.68 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.2705, allocations: 0 / 0.6273 GB, free: 15.68 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0007032/0.2712, allocations: 199.7 kB / 0.6275 GB, free: 15.48 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 (9): * Single equations (assignments): 9 * 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.001116/0.2723, allocations: 417.3 kB / 0.6279 GB, free: 15.24 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001229/0.2735, allocations: 387.1 kB / 0.6283 GB, free: 14.86 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.2735, allocations: 0 / 0.6283 GB, free: 14.86 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003638/0.2739, allocations: 104.8 kB / 0.6284 GB, free: 14.76 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001335/0.2753, allocations: 259 kB / 0.6287 GB, free: 14.51 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004851/0.2801, allocations: 1.421 MB / 0.63 GB, free: 13.06 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003623/0.2805, allocations: 0.8194 MB / 0.6308 GB, free: 12.21 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0004436/0.281, allocations: 95.2 kB / 0.6309 GB, free: 12.12 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001239/0.2811, allocations: 43.42 kB / 0.631 GB, free: 12.08 MB / 494.1 MB Notification: Performance of SimCode: time 1.002e-06/0.2811, allocations: 0 / 0.631 GB, free: 12.08 MB / 494.1 MB Notification: Performance of Templates: time 0.01552/0.2966, allocations: 8.857 MB / 0.6396 GB, free: 3.359 MB / 494.1 MB make -j1 -f Buildings_3.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.sim & ./Buildings_3.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe 2>&1)