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.2276/0.2298, allocations: 80.83 MB / 0.6706 GB, free: 2.012 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.RCModel): time 0.007227/0.2371, allocations: 4.308 MB / 0.6748 GB, free: 13.68 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.004141/0.2412, allocations: 1.956 MB / 0.6767 GB, free: 11.71 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000307/0.2416, allocations: 11.94 kB / 0.6767 GB, free: 11.7 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001758/0.2433, allocations: 0.5953 MB / 0.6773 GB, free: 11.11 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.001023/0.2444, allocations: 282.6 kB / 0.6776 GB, free: 10.83 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009712/0.2454, allocations: 247.4 kB / 0.6778 GB, free: 10.59 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.00112/0.2466, allocations: 0.6112 MB / 0.6784 GB, free: 9.973 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008236/0.2474, allocations: 462.8 kB / 0.6789 GB, free: 9.512 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003087/0.2477, allocations: 247.1 kB / 0.6791 GB, free: 9.27 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005894/0.2483, allocations: 271 kB / 0.6794 GB, free: 9.004 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 6.873e-05/0.2484, allocations: 36 kB / 0.6794 GB, free: 8.969 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005676/0.249, allocations: 259.4 kB / 0.6796 GB, free: 8.715 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0003382/0.2493, allocations: 151.6 kB / 0.6798 GB, free: 8.566 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0004496/0.2498, allocations: 214.9 kB / 0.68 GB, free: 8.355 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.001185/0.251, allocations: 0.6035 MB / 0.6806 GB, free: 7.75 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 8.506e-06/0.251, allocations: 4 kB / 0.6806 GB, free: 7.746 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.653e-06/0.251, allocations: 0 / 0.6806 GB, free: 7.746 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 9.668e-06/0.251, allocations: 0 / 0.6806 GB, free: 7.746 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.001691/0.2527, allocations: 0.7174 MB / 0.6813 GB, free: 6.98 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.913e-05/0.2528, allocations: 12.03 kB / 0.6813 GB, free: 6.969 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001065/0.2538, allocations: 144.2 kB / 0.6814 GB, free: 6.828 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006079/0.2545, allocations: 350.5 kB / 0.6818 GB, free: 6.445 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.889e-05/0.2545, allocations: 21.38 kB / 0.6818 GB, free: 6.426 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001293/0.2546, allocations: 28.38 kB / 0.6818 GB, free: 6.398 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009868/0.2556, allocations: 0.5395 MB / 0.6823 GB, free: 5.82 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.654e-05/0.2557, allocations: 4 kB / 0.6823 GB, free: 5.816 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.624e-05/0.2557, allocations: 19.98 kB / 0.6824 GB, free: 5.797 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.538e-05/0.2558, allocations: 36.62 kB / 0.6824 GB, free: 5.762 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001033/0.2568, allocations: 382.3 kB / 0.6828 GB, free: 5.391 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002597/0.2594, allocations: 1.94 MB / 0.6847 GB, free: 3.34 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005618/0.26, allocations: 266.4 kB / 0.6849 GB, free: 3.07 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001697/0.2602, allocations: 108.8 kB / 0.685 GB, free: 2.961 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.395e-05/0.2602, allocations: 0 / 0.685 GB, free: 2.961 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.279e-05/0.2603, allocations: 38.56 kB / 0.6851 GB, free: 2.914 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=20): time 1.382e-06/0.2603, allocations: 0 / 0.6851 GB, free: 2.914 MB / 0.5137 GB Notification: Performance of matching and sorting (n=23): time 0.002883/0.2632, allocations: 1.118 MB / 0.6861 GB, free: 1.699 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.251e-05/0.2632, allocations: 55.41 kB / 0.6862 GB, free: 1.633 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003885/0.2636, allocations: 308.3 kB / 0.6865 GB, free: 1.32 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0001048/0.2637, allocations: 29.7 kB / 0.6865 GB, free: 1.285 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002736/0.264, allocations: 227.6 kB / 0.6867 GB, free: 1.055 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 6.744e-05/0.2641, allocations: 82.84 kB / 0.6868 GB, free: 0.9727 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001002/0.2642, allocations: 65.94 kB / 0.6869 GB, free: 0.8984 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001501/0.2643, allocations: 342.8 kB / 0.6872 GB, free: 0.5547 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001645/0.2645, allocations: 104.6 kB / 0.6873 GB, free: 464 kB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002248/0.2647, allocations: 191.7 kB / 0.6875 GB, free: 232 kB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004229/0.2652, allocations: 315.5 kB / 0.6878 GB, free: 15.88 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.724e-06/0.2652, allocations: 0 / 0.6878 GB, free: 15.88 MB / 0.5294 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007598/0.2659, allocations: 445.8 kB / 0.6882 GB, free: 15.43 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.357e-05/0.266, allocations: 8 kB / 0.6882 GB, free: 15.43 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.678e-06/0.266, allocations: 4 kB / 0.6882 GB, free: 15.42 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003852/0.2664, allocations: 102.7 kB / 0.6883 GB, free: 15.31 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002798/0.2667, allocations: 63.91 kB / 0.6884 GB, free: 15.25 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004151/0.2708, allocations: 4.379 MB / 0.6927 GB, free: 10.45 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002647/0.2711, allocations: 20.02 kB / 0.6927 GB, free: 10.43 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.133e-05/0.2712, allocations: 8 kB / 0.6927 GB, free: 10.42 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.0002382/0.2714, allocations: 182.5 kB / 0.6929 GB, free: 10.23 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.918e-05/0.2715, allocations: 35.56 kB / 0.6929 GB, free: 10.2 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.317e-05/0.2716, allocations: 42.31 kB / 0.6929 GB, free: 10.16 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.587e-06/0.2716, allocations: 4 kB / 0.6929 GB, free: 10.16 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.132e-05/0.2716, allocations: 0 / 0.6929 GB, free: 10.16 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.942e-06/0.2716, allocations: 0 / 0.6929 GB, free: 10.16 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004993/0.2721, allocations: 405.2 kB / 0.6933 GB, free: 9.711 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.2721, allocations: 8 kB / 0.6933 GB, free: 9.703 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001923/0.2723, allocations: 43.91 kB / 0.6934 GB, free: 9.66 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003373/0.2727, allocations: 90.53 kB / 0.6935 GB, free: 9.562 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.727e-05/0.2727, allocations: 7.938 kB / 0.6935 GB, free: 9.555 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003394/0.2761, allocations: 4.375 MB / 0.6977 GB, free: 4.758 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.2761, allocations: 0 / 0.6977 GB, free: 4.758 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009365/0.2771, allocations: 0.5579 MB / 0.6983 GB, free: 4.176 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001919/0.2773, allocations: 124.7 kB / 0.6984 GB, free: 4.035 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.922e-05/0.2773, allocations: 16.12 kB / 0.6984 GB, free: 4.02 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000211/0.2775, allocations: 11.98 kB / 0.6984 GB, free: 4.008 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.432e-05/0.2776, allocations: 19.92 kB / 0.6985 GB, free: 3.988 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.485e-05/0.2776, allocations: 4 kB / 0.6985 GB, free: 3.984 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.000281/0.2779, allocations: 215.1 kB / 0.6987 GB, free: 3.773 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2779, allocations: 0 / 0.6987 GB, free: 3.773 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.000536/0.2785, allocations: 99.94 kB / 0.6988 GB, free: 3.676 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.0001769/0.2786, allocations: 107.2 kB / 0.6989 GB, free: 3.562 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0009681/0.2796, allocations: 0.617 MB / 0.6995 GB, free: 2.906 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.2796, allocations: 0 / 0.6995 GB, free: 2.906 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0005438/0.2802, allocations: 464 kB / 0.6999 GB, free: 2.414 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005061/0.2807, allocations: 85.62 kB / 0.7 GB, free: 2.336 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001317/0.282, allocations: 0.7245 MB / 0.7007 GB, free: 1.578 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004724/0.2825, allocations: 0.8311 MB / 0.7015 GB, free: 0.7188 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0001866/0.2827, allocations: 66.91 kB / 0.7016 GB, free: 0.6562 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.157e-05/0.2828, allocations: 23.44 kB / 0.7016 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of SimCode: time 2.81e-07/0.2828, allocations: 0 / 0.7016 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of Templates: time 0.008973/0.2918, allocations: 4.476 MB / 0.706 GB, free: 12.2 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)