Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Electrical.DC.Lines.Examples.RCModel.conf.json 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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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) Running command: translateModel(Buildings.Electrical.DC.Lines.Examples.RCModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.DC.Lines.Examples.RCModel") translateModel(Buildings.Electrical.DC.Lines.Examples.RCModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.DC.Lines.Examples.RCModel") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001143/0.001143, allocations: 111 kB / 16.38 MB, free: 6.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001119/0.001119, allocations: 186.7 kB / 17.31 MB, free: 5.812 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.568/1.568, allocations: 205.1 MB / 223.2 MB, free: 12.26 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.855/1.855, allocations: 292.3 MB / 0.5496 GB, free: 17.43 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00151/0.00151, allocations: 67.91 kB / 0.6729 GB, free: 5.848 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2105/0.2121, allocations: 114.6 MB / 0.7848 GB, free: 3.18 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.RCModel): time 0.3975/0.6096, allocations: 4.326 MB / 0.789 GB, free: 46.68 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.002338/0.612, allocations: 1.868 MB / 0.7908 GB, free: 46.29 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001603/0.6121, allocations: 13.62 kB / 0.7909 GB, free: 46.29 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.001305/0.6135, allocations: 0.5908 MB / 0.7914 GB, free: 46.15 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0004391/0.614, allocations: 258.7 kB / 0.7917 GB, free: 46.09 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004892/0.6145, allocations: 253 kB / 0.7919 GB, free: 46.07 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.000493/0.615, allocations: 0.6077 MB / 0.7925 GB, free: 46.04 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005667/0.6155, allocations: 459.4 kB / 0.793 GB, free: 46.02 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001852/0.6157, allocations: 251.8 kB / 0.7932 GB, free: 45.98 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003767/0.6161, allocations: 269.6 kB / 0.7935 GB, free: 45.92 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 4.753e-05/0.6162, allocations: 38 kB / 0.7935 GB, free: 45.92 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003324/0.6165, allocations: 252.9 kB / 0.7937 GB, free: 45.88 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.000122/0.6167, allocations: 160.5 kB / 0.7939 GB, free: 45.86 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001599/0.6168, allocations: 222.8 kB / 0.7941 GB, free: 45.79 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0004611/0.6173, allocations: 0.6026 MB / 0.7947 GB, free: 45.69 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.6173, allocations: 0.5 kB / 0.7947 GB, free: 45.69 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.462e-06/0.6173, allocations: 0 / 0.7947 GB, free: 45.69 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 6.763e-06/0.6173, allocations: 0.7812 kB / 0.7947 GB, free: 45.69 MB / 0.6544 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.0009711/0.6183, allocations: 0.7341 MB / 0.7954 GB, free: 45.19 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.697e-05/0.6183, allocations: 10.38 kB / 0.7954 GB, free: 45.19 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000894/0.6192, allocations: 147 kB / 0.7956 GB, free: 45.16 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003581/0.6196, allocations: 336.8 kB / 0.7959 GB, free: 44.93 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.687e-05/0.6196, allocations: 24.84 kB / 0.7959 GB, free: 44.93 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.444e-05/0.6197, allocations: 34.12 kB / 0.7959 GB, free: 44.93 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006324/0.6203, allocations: 0.5366 MB / 0.7965 GB, free: 44.8 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.466e-05/0.6204, allocations: 6.75 kB / 0.7965 GB, free: 44.8 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.799e-05/0.6204, allocations: 16.09 kB / 0.7965 GB, free: 44.8 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.991e-05/0.6204, allocations: 31.56 kB / 0.7965 GB, free: 44.8 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004731/0.6209, allocations: 382.6 kB / 0.7969 GB, free: 44.8 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001885/0.6228, allocations: 2.402 MB / 0.7992 GB, free: 43.01 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004565/0.6233, allocations: 265.1 kB / 0.7995 GB, free: 42.97 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001353/0.6234, allocations: 112.8 kB / 0.7996 GB, free: 42.93 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.437e-05/0.6235, allocations: 2.656 kB / 0.7996 GB, free: 42.93 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.512e-05/0.6235, allocations: 31.92 kB / 0.7996 GB, free: 42.89 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=20): time 1.593e-06/0.6235, allocations: 0 / 0.7996 GB, free: 42.89 MB / 0.6544 GB Notification: Performance of matching and sorting (n=23): time 0.001872/0.6254, allocations: 1.126 MB / 0.8007 GB, free: 42.15 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.781e-05/0.6254, allocations: 54.19 kB / 0.8008 GB, free: 42.09 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002628/0.6257, allocations: 298.8 kB / 0.801 GB, free: 41.93 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.948e-05/0.6257, allocations: 34.3 kB / 0.8011 GB, free: 41.89 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 9.68e-05/0.6258, allocations: 228.7 kB / 0.8013 GB, free: 41.7 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 4.907e-05/0.6258, allocations: 87.2 kB / 0.8014 GB, free: 41.63 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.668e-05/0.6259, allocations: 60.17 kB / 0.8014 GB, free: 41.59 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 6.351e-05/0.626, allocations: 345.3 kB / 0.8018 GB, free: 41.26 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001535/0.6262, allocations: 105.1 kB / 0.8019 GB, free: 41.22 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001802/0.6264, allocations: 192.1 kB / 0.8021 GB, free: 41.08 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003405/0.6267, allocations: 316.6 kB / 0.8024 GB, free: 40.89 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.6267, allocations: 3.688 kB / 0.8024 GB, free: 40.89 MB / 0.6544 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006737/0.6274, allocations: 445 kB / 0.8028 GB, free: 40.68 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.435e-05/0.6274, allocations: 5.281 kB / 0.8028 GB, free: 40.68 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.747e-06/0.6274, allocations: 6.812 kB / 0.8028 GB, free: 40.68 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003343/0.6278, allocations: 95.69 kB / 0.8029 GB, free: 40.64 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002774/0.6281, allocations: 62.83 kB / 0.8029 GB, free: 40.64 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002428/0.6305, allocations: 4.393 MB / 0.8072 GB, free: 36.31 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000211/0.6307, allocations: 8.734 kB / 0.8072 GB, free: 36.3 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.282e-05/0.6308, allocations: 13.69 kB / 0.8073 GB, free: 36.3 MB / 0.6544 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.0001779/0.6309, allocations: 177.9 kB / 0.8074 GB, free: 36.16 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.934e-05/0.631, allocations: 36.84 kB / 0.8075 GB, free: 36.14 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.206e-05/0.6311, allocations: 42.06 kB / 0.8075 GB, free: 36.11 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.988e-06/0.6311, allocations: 0.7656 kB / 0.8075 GB, free: 36.11 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.6311, allocations: 5.703 kB / 0.8075 GB, free: 36.1 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001075/0.6312, allocations: 123.8 kB / 0.8076 GB, free: 35.98 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.674e-05/0.6313, allocations: 5.406 kB / 0.8076 GB, free: 35.98 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001893/0.6314, allocations: 7.656 kB / 0.8076 GB, free: 35.98 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.806e-05/0.6315, allocations: 21.34 kB / 0.8077 GB, free: 35.98 MB / 0.6544 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0008485/0.6324, allocations: 432 kB / 0.8081 GB, free: 35.76 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005234/0.6329, allocations: 0.5224 MB / 0.8086 GB, free: 35.44 MB / 0.6544 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001511/0.6331, allocations: 103.5 kB / 0.8087 GB, free: 35.4 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0002005/0.6333, allocations: 212.1 kB / 0.8089 GB, free: 35.29 MB / 0.6544 GB Notification: Performance of Backend: time 9.42e-07/0.6333, allocations: 4.969 kB / 0.8089 GB, free: 35.28 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001346/0.6346, allocations: 0.7408 MB / 0.8096 GB, free: 34.79 MB / 0.6544 GB Notification: Performance of SimCode: time 0.001379/0.636, allocations: 1.233 MB / 0.8108 GB, free: 33.89 MB / 0.6544 GB Notification: Performance of Templates: time 0.01343/0.6495, allocations: 5.667 MB / 0.8163 GB, free: 33.54 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Electrical.DC.Lines.Examples.RCModel.makefile (rm -f Buildings_8_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe ; mkfifo Buildings_8_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe >> ../files/Buildings_8_Buildings.Electrical.DC.Lines.Examples.RCModel.sim & ./Buildings_8_Buildings.Electrical.DC.Lines.Examples.RCModel -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe 2>&1)