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.485/0.4857, allocations: 82.21 MB / 0.5935 GB, free: 21.39 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.RCModel): time 0.003848/0.4896, allocations: 3.786 MB / 0.5972 GB, free: 17.58 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002161/0.4918, allocations: 1.828 MB / 0.5989 GB, free: 15.75 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001558/0.492, allocations: 8.781 kB / 0.599 GB, free: 15.74 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002271/0.4922, allocations: 79.41 kB / 0.599 GB, free: 15.66 MB / 446.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/Electrical/DC/Sensors/GeneralizedSensor.mo:29:54-29:70:writable] Warning: 'each' used when modifying non-array element P. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/Electrical/DC/Sensors/GeneralizedSensor.mo:30:13-30:21:writable] Warning: 'each' used when modifying non-array element P. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/Electrical/DC/Sensors/GeneralizedSensor.mo:29:54-29:70:writable] Warning: 'each' used when modifying non-array element P. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/Electrical/DC/Sensors/GeneralizedSensor.mo:30:13-30:21:writable] Warning: 'each' used when modifying non-array element P. Notification: Performance of NFTyping.typeBindings: time 0.0004752/0.4927, allocations: 214.8 kB / 0.5992 GB, free: 15.46 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000429/0.4931, allocations: 179.6 kB / 0.5994 GB, free: 15.28 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005126/0.4936, allocations: 0.6743 MB / 0.6001 GB, free: 14.61 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003999/0.494, allocations: 395.3 kB / 0.6004 GB, free: 14.2 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001731/0.4942, allocations: 195.3 kB / 0.6006 GB, free: 14.01 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003949/0.4946, allocations: 263.5 kB / 0.6009 GB, free: 13.75 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.881e-05/0.4947, allocations: 21.28 kB / 0.6009 GB, free: 13.73 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002251/0.4949, allocations: 123.8 kB / 0.601 GB, free: 13.61 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001/0.495, allocations: 127.6 kB / 0.6011 GB, free: 13.48 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 6.853e-05/0.4951, allocations: 98.42 kB / 0.6012 GB, free: 13.38 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003498/0.4954, allocations: 453.4 kB / 0.6017 GB, free: 12.94 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.391e-06/0.4955, allocations: 0 / 0.6017 GB, free: 12.94 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.455e-06/0.4955, allocations: 0.625 kB / 0.6017 GB, free: 12.94 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.544e-06/0.4955, allocations: 0.5312 kB / 0.6017 GB, free: 12.94 MB / 446.1 MB 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.0009442/0.4964, allocations: 0.6626 MB / 0.6023 GB, free: 12.23 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.611e-05/0.4965, allocations: 8.531 kB / 0.6023 GB, free: 12.23 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008769/0.4974, allocations: 153.8 kB / 0.6025 GB, free: 12.08 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003322/0.4977, allocations: 321.3 kB / 0.6028 GB, free: 11.73 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.986e-05/0.4977, allocations: 27 kB / 0.6028 GB, free: 11.7 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.384e-05/0.4978, allocations: 39.98 kB / 0.6028 GB, free: 11.66 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006195/0.4984, allocations: 0.5258 MB / 0.6034 GB, free: 11.1 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.373e-05/0.4984, allocations: 3.938 kB / 0.6034 GB, free: 11.1 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.722e-05/0.4985, allocations: 19.98 kB / 0.6034 GB, free: 11.08 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.928e-05/0.4985, allocations: 32.64 kB / 0.6034 GB, free: 11.04 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000477/0.499, allocations: 386.3 kB / 0.6038 GB, free: 10.67 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001753/0.5008, allocations: 1.952 MB / 0.6057 GB, free: 8.605 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004286/0.5012, allocations: 258.5 kB / 0.6059 GB, free: 8.344 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000134/0.5014, allocations: 116.7 kB / 0.606 GB, free: 8.227 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.315e-05/0.5014, allocations: 0 / 0.606 GB, free: 8.227 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.909e-05/0.5014, allocations: 38.91 kB / 0.6061 GB, free: 8.18 MB / 446.1 MB Notification: Performance of pre-optimization done (n=20): time 1.132e-06/0.5014, allocations: 0 / 0.6061 GB, free: 8.18 MB / 446.1 MB Notification: Performance of matching and sorting (n=23): time 0.001754/0.5032, allocations: 1.136 MB / 0.6072 GB, free: 6.949 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.873e-05/0.5032, allocations: 55.41 kB / 0.6072 GB, free: 6.883 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002354/0.5035, allocations: 296.5 kB / 0.6075 GB, free: 6.582 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.836e-05/0.5035, allocations: 33.7 kB / 0.6076 GB, free: 6.543 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.205e-05/0.5036, allocations: 227.5 kB / 0.6078 GB, free: 6.316 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.847e-05/0.5036, allocations: 90.83 kB / 0.6079 GB, free: 6.227 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.323e-05/0.5037, allocations: 4 kB / 0.6079 GB, free: 6.223 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 8.024e-05/0.5037, allocations: 338.8 kB / 0.6082 GB, free: 5.883 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001358/0.5039, allocations: 104.6 kB / 0.6083 GB, free: 5.777 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001587/0.504, allocations: 183.8 kB / 0.6085 GB, free: 5.559 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001707/0.5042, allocations: 130 kB / 0.6086 GB, free: 5.434 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.352e-06/0.5042, allocations: 8 kB / 0.6086 GB, free: 5.426 MB / 446.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005836/0.5048, allocations: 438.2 kB / 0.609 GB, free: 4.984 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.703e-05/0.5048, allocations: 12.06 kB / 0.609 GB, free: 4.973 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.656e-06/0.5049, allocations: 4 kB / 0.609 GB, free: 4.969 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003099/0.5052, allocations: 90.5 kB / 0.6091 GB, free: 4.871 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002397/0.5054, allocations: 67.91 kB / 0.6092 GB, free: 4.805 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002023/0.5075, allocations: 4.076 MB / 0.6132 GB, free: 328 kB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001761/0.5077, allocations: 8 kB / 0.6132 GB, free: 320 kB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.897e-05/0.5077, allocations: 12 kB / 0.6132 GB, free: 308 kB / 446.1 MB 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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001458/0.5078, allocations: 177.9 kB / 0.6133 GB, free: 120 kB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.583e-05/0.5079, allocations: 27.72 kB / 0.6134 GB, free: 92 kB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.722e-05/0.508, allocations: 42.31 kB / 0.6134 GB, free: 52 kB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.923e-06/0.508, allocations: 0 / 0.6134 GB, free: 52 kB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.225e-06/0.508, allocations: 7.953 kB / 0.6134 GB, free: 44 kB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.508, allocations: 3.984 kB / 0.6134 GB, free: 40 kB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000476/0.5085, allocations: 397.4 kB / 0.6138 GB, free: 15.6 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-06/0.5085, allocations: 96 / 0.6138 GB, free: 15.6 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001781/0.5087, allocations: 39.92 kB / 0.6138 GB, free: 15.56 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002716/0.5089, allocations: 90.48 kB / 0.6139 GB, free: 15.46 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.637e-05/0.509, allocations: 4 kB / 0.6139 GB, free: 15.46 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002962/0.5119, allocations: 4.072 MB / 0.6179 GB, free: 10.99 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.512, allocations: 3.984 kB / 0.6179 GB, free: 10.98 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007691/0.5127, allocations: 0.5521 MB / 0.6184 GB, free: 10.41 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001418/0.5129, allocations: 124.7 kB / 0.6186 GB, free: 10.27 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.637e-05/0.5129, allocations: 7.938 kB / 0.6186 GB, free: 10.26 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001857/0.5131, allocations: 15.98 kB / 0.6186 GB, free: 10.24 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.447e-05/0.5132, allocations: 11.98 kB / 0.6186 GB, free: 10.23 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.738e-05/0.5132, allocations: 19.95 kB / 0.6186 GB, free: 10.21 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0002021/0.5134, allocations: 207.1 kB / 0.6188 GB, free: 10.01 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5134, allocations: 0 / 0.6188 GB, free: 10.01 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0004443/0.5139, allocations: 100 kB / 0.6189 GB, free: 9.914 MB / 462.1 MB 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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001334/0.514, allocations: 106.3 kB / 0.619 GB, free: 9.805 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0008084/0.5148, allocations: 0.6014 MB / 0.6196 GB, free: 9.164 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.5148, allocations: 0 / 0.6196 GB, free: 9.164 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004946/0.5153, allocations: 477.3 kB / 0.6201 GB, free: 8.66 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004766/0.5158, allocations: 72.55 kB / 0.6201 GB, free: 8.586 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00122/0.517, allocations: 0.8737 MB / 0.621 GB, free: 7.688 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004228/0.5175, allocations: 0.8348 MB / 0.6218 GB, free: 6.824 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.000199/0.5177, allocations: 58.94 kB / 0.6219 GB, free: 6.766 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.545e-05/0.5178, allocations: 23.44 kB / 0.6219 GB, free: 6.742 MB / 462.1 MB Notification: Performance of SimCode: time 4.2e-07/0.5178, allocations: 0 / 0.6219 GB, free: 6.742 MB / 462.1 MB Notification: Performance of Templates: time 0.00789/0.5257, allocations: 4.079 MB / 0.6259 GB, free: 2.715 MB / 462.1 MB make -j1 -f Buildings_3.0.0_Buildings.Electrical.DC.Lines.Examples.RCModel.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: