Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Electrical.DC.Lines.Examples.RCModel.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.Electrical.DC.Lines.Examples.RCModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.DC.Lines.Examples.RCModel") translateModel(Buildings.Electrical.DC.Lines.Examples.RCModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.DC.Lines.Examples.RCModel") [/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.2198/0.2219, allocations: 80.84 MB / 0.6706 GB, free: 2.008 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.RCModel): time 0.006468/0.2284, allocations: 4.303 MB / 0.6748 GB, free: 13.69 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.003615/0.2321, allocations: 1.956 MB / 0.6767 GB, free: 11.72 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002999/0.2324, allocations: 11.94 kB / 0.6767 GB, free: 11.71 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.00187/0.2343, allocations: 0.5915 MB / 0.6773 GB, free: 11.11 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0008695/0.2352, allocations: 294.6 kB / 0.6776 GB, free: 10.82 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007687/0.236, allocations: 245.5 kB / 0.6778 GB, free: 10.59 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0007301/0.2367, allocations: 0.6073 MB / 0.6784 GB, free: 9.977 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008329/0.2376, allocations: 466.8 kB / 0.6789 GB, free: 9.512 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003155/0.2379, allocations: 251.1 kB / 0.6791 GB, free: 9.266 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005484/0.2385, allocations: 279 kB / 0.6794 GB, free: 8.992 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 6.547e-05/0.2386, allocations: 40 kB / 0.6794 GB, free: 8.953 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005098/0.2391, allocations: 263.4 kB / 0.6797 GB, free: 8.695 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.000167/0.2393, allocations: 143.6 kB / 0.6798 GB, free: 8.555 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0002415/0.2395, allocations: 218.9 kB / 0.68 GB, free: 8.34 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.000756/0.2403, allocations: 0.5996 MB / 0.6806 GB, free: 7.738 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.883e-06/0.2403, allocations: 4 kB / 0.6806 GB, free: 7.734 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.204e-06/0.2403, allocations: 0 / 0.6806 GB, free: 7.734 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.608e-05/0.2403, allocations: 0 / 0.6806 GB, free: 7.734 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 91 * Number of variables: 91 Notification: Performance of Generate backend data structure: time 0.001448/0.2418, allocations: 0.7213 MB / 0.6813 GB, free: 6.965 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.879e-05/0.2418, allocations: 8.031 kB / 0.6813 GB, free: 6.957 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009853/0.2428, allocations: 144.2 kB / 0.6814 GB, free: 6.816 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004694/0.2433, allocations: 346.5 kB / 0.6818 GB, free: 6.438 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.545e-05/0.2433, allocations: 21.38 kB / 0.6818 GB, free: 6.418 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.331e-05/0.2434, allocations: 36.36 kB / 0.6818 GB, free: 6.383 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000874/0.2443, allocations: 0.5356 MB / 0.6824 GB, free: 5.809 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.453e-05/0.2443, allocations: 4 kB / 0.6824 GB, free: 5.805 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.684e-05/0.2443, allocations: 15.98 kB / 0.6824 GB, free: 5.789 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.55e-05/0.2444, allocations: 36.62 kB / 0.6824 GB, free: 5.754 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005991/0.245, allocations: 386.3 kB / 0.6828 GB, free: 5.379 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002523/0.2475, allocations: 1.94 MB / 0.6847 GB, free: 3.328 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005483/0.2481, allocations: 266.4 kB / 0.6849 GB, free: 3.059 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001806/0.2483, allocations: 108.8 kB / 0.685 GB, free: 2.949 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.347e-05/0.2483, allocations: 0 / 0.685 GB, free: 2.949 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.959e-05/0.2484, allocations: 38.56 kB / 0.6851 GB, free: 2.902 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=20): time 1.503e-06/0.2484, allocations: 4 kB / 0.6851 GB, free: 2.898 MB / 0.5137 GB Notification: Performance of matching and sorting (n=23): time 0.002446/0.2508, allocations: 1.114 MB / 0.6862 GB, free: 1.688 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.127e-05/0.2509, allocations: 55.41 kB / 0.6862 GB, free: 1.621 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003842/0.2513, allocations: 308.3 kB / 0.6865 GB, free: 1.309 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.989e-05/0.2513, allocations: 33.7 kB / 0.6865 GB, free: 1.27 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001897/0.2515, allocations: 223.6 kB / 0.6868 GB, free: 1.043 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 7.462e-05/0.2516, allocations: 86.83 kB / 0.6868 GB, free: 0.957 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001206/0.2517, allocations: 65.94 kB / 0.6869 GB, free: 0.8828 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001882/0.2519, allocations: 338.8 kB / 0.6872 GB, free: 0.543 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001855/0.2521, allocations: 100.6 kB / 0.6873 GB, free: 456 kB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002592/0.2524, allocations: 191.7 kB / 0.6875 GB, free: 224 kB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004752/0.2529, allocations: 315.6 kB / 0.6878 GB, free: 15.87 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.2529, allocations: 4 kB / 0.6878 GB, free: 15.87 MB / 0.5294 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007957/0.2537, allocations: 441.9 kB / 0.6882 GB, free: 15.42 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.519e-05/0.2537, allocations: 12.03 kB / 0.6882 GB, free: 15.41 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.817e-06/0.2537, allocations: 4 kB / 0.6882 GB, free: 15.41 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004154/0.2542, allocations: 98.44 kB / 0.6883 GB, free: 15.3 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002885/0.2545, allocations: 59.91 kB / 0.6884 GB, free: 15.24 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004044/0.2585, allocations: 4.395 MB / 0.6927 GB, free: 10.43 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002284/0.2588, allocations: 12 kB / 0.6927 GB, free: 10.41 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.443e-05/0.2588, allocations: 11.98 kB / 0.6927 GB, free: 10.4 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (34): * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003906/0.2592, allocations: 178.3 kB / 0.6929 GB, free: 10.22 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.294e-05/0.2593, allocations: 35.56 kB / 0.6929 GB, free: 10.18 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.961e-05/0.2594, allocations: 42.31 kB / 0.693 GB, free: 10.14 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.99e-06/0.2594, allocations: 8.062 kB / 0.693 GB, free: 10.14 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.032e-05/0.2594, allocations: 0 / 0.693 GB, free: 10.14 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.677e-06/0.2594, allocations: 3.984 kB / 0.693 GB, free: 10.13 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000595/0.26, allocations: 397.3 kB / 0.6933 GB, free: 9.699 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.953e-06/0.26, allocations: 0 / 0.6933 GB, free: 9.699 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001922/0.2602, allocations: 39.91 kB / 0.6934 GB, free: 9.66 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004118/0.2606, allocations: 90.5 kB / 0.6935 GB, free: 9.562 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.934e-05/0.2607, allocations: 4 kB / 0.6935 GB, free: 9.559 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00406/0.2647, allocations: 4.379 MB / 0.6977 GB, free: 4.758 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.29e-06/0.2647, allocations: 3.984 kB / 0.6978 GB, free: 4.754 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001088/0.2658, allocations: 0.5618 MB / 0.6983 GB, free: 4.168 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001423/0.266, allocations: 128.7 kB / 0.6984 GB, free: 4.023 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.879e-05/0.266, allocations: 4.141 kB / 0.6984 GB, free: 4.02 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002005/0.2662, allocations: 11.98 kB / 0.6984 GB, free: 4.008 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.112e-05/0.2663, allocations: 23.91 kB / 0.6985 GB, free: 3.984 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.33e-05/0.2663, allocations: 4 kB / 0.6985 GB, free: 3.98 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0002454/0.2666, allocations: 219.1 kB / 0.6987 GB, free: 3.766 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2666, allocations: 0 / 0.6987 GB, free: 3.766 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0004991/0.2671, allocations: 99.94 kB / 0.6988 GB, free: 3.668 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (RC_dyn.Vc) * 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 (18): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001638/0.2673, allocations: 103.2 kB / 0.6989 GB, free: 3.559 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.000922/0.2682, allocations: 0.6132 MB / 0.6995 GB, free: 2.906 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.2682, allocations: 0 / 0.6995 GB, free: 2.906 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0005962/0.2688, allocations: 472.2 kB / 0.6999 GB, free: 2.406 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005965/0.2694, allocations: 84.31 kB / 0.7 GB, free: 2.324 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001379/0.2708, allocations: 0.7245 MB / 0.7007 GB, free: 1.566 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005021/0.2713, allocations: 0.835 MB / 0.7015 GB, free: 0.7031 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0002456/0.2716, allocations: 54.94 kB / 0.7016 GB, free: 0.6523 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.578e-05/0.2716, allocations: 23.44 kB / 0.7016 GB, free: 0.6289 MB / 0.5294 GB Notification: Performance of SimCode: time 3.91e-07/0.2717, allocations: 0 / 0.7016 GB, free: 0.6289 MB / 0.5294 GB Notification: Performance of Templates: time 0.009417/0.2811, allocations: 4.487 MB / 0.706 GB, free: 12.19 MB / 0.545 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.DC.Lines.Examples.RCModel.makefile (rm -f Buildings_3.0.0_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.DC.Lines.Examples.RCModel.sim & ./Buildings_3.0.0_Buildings.Electrical.DC.Lines.Examples.RCModel -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe 2>&1)