Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Electrical.DC.Lines.Examples.DCLine.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.DCLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.DC.Lines.Examples.DCLine") translateModel(Buildings.Electrical.DC.Lines.Examples.DCLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.DC.Lines.Examples.DCLine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001492/0.001492, allocations: 118 kB / 16.38 MB, free: 6.02 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.001785/0.001785, allocations: 185.1 kB / 17.31 MB, free: 5.617 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.517/1.517, allocations: 205.1 MB / 223.2 MB, free: 12.24 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.921/1.921, allocations: 292.3 MB / 0.5496 GB, free: 17.48 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.001539/0.001539, allocations: 68.12 kB / 0.6729 GB, free: 5.879 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2506/0.2522, allocations: 114.6 MB / 0.7848 GB, free: 3.203 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLine): time 0.5212/0.7735, allocations: 6.237 MB / 0.7909 GB, free: 45.87 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.006858/0.7804, allocations: 4.561 MB / 0.7953 GB, free: 44.02 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001017/0.7814, allocations: 25.62 kB / 0.7954 GB, free: 44.02 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.002435/0.7839, allocations: 0.9124 MB / 0.7963 GB, free: 43.79 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.002851/0.7868, allocations: 0.7681 MB / 0.797 GB, free: 43.44 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008348/0.7877, allocations: 322.1 kB / 0.7973 GB, free: 43.41 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.001412/0.7891, allocations: 1.141 MB / 0.7984 GB, free: 43.15 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008539/0.7899, allocations: 0.6801 MB / 0.7991 GB, free: 43.09 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006684/0.7906, allocations: 471.3 kB / 0.7995 GB, free: 42.89 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007094/0.7913, allocations: 0.4955 MB / 0.8 GB, free: 42.68 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 9.855e-05/0.7915, allocations: 70.56 kB / 0.8001 GB, free: 42.68 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005962/0.7921, allocations: 280.2 kB / 0.8004 GB, free: 42.6 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0002144/0.7923, allocations: 251.4 kB / 0.8006 GB, free: 42.48 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.000379/0.7927, allocations: 412.6 kB / 0.801 GB, free: 42.23 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.001184/0.7939, allocations: 1.072 MB / 0.802 GB, free: 41.84 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.7939, allocations: 1.5 kB / 0.802 GB, free: 41.84 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.545e-06/0.7939, allocations: 4 kB / 0.8021 GB, free: 41.84 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.308e-05/0.7939, allocations: 0 / 0.8021 GB, free: 41.84 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: 142 * Number of variables: 142 Notification: Performance of Generate backend data structure: time 0.001743/0.7957, allocations: 1.094 MB / 0.8031 GB, free: 41.07 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.373e-05/0.7957, allocations: 8.109 kB / 0.8031 GB, free: 41.07 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003317/0.799, allocations: 0.6272 MB / 0.8037 GB, free: 41 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009722/0.8, allocations: 0.5722 MB / 0.8043 GB, free: 40.61 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.07e-05/0.8001, allocations: 39.61 kB / 0.8043 GB, free: 40.59 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.8e-05/0.8002, allocations: 50.16 kB / 0.8044 GB, free: 40.57 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002233/0.8024, allocations: 1.027 MB / 0.8054 GB, free: 40.14 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.007e-05/0.8024, allocations: 0.5938 kB / 0.8054 GB, free: 40.14 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.162e-05/0.8025, allocations: 26.64 kB / 0.8054 GB, free: 40.12 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.319e-05/0.8026, allocations: 50.95 kB / 0.8055 GB, free: 40.11 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002658/0.8053, allocations: 1.005 MB / 0.8064 GB, free: 39.8 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004599/0.8099, allocations: 3.481 MB / 0.8098 GB, free: 37.06 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001536/0.8115, allocations: 490.5 kB / 0.8103 GB, free: 36.91 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006287/0.8121, allocations: 227.8 kB / 0.8105 GB, free: 36.84 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 3.882e-05/0.8121, allocations: 9.891 kB / 0.8105 GB, free: 36.84 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.768e-05/0.8122, allocations: 37.23 kB / 0.8106 GB, free: 36.79 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=31): time 3.497e-06/0.8122, allocations: 5.156 kB / 0.8106 GB, free: 36.79 MB / 0.6544 GB Notification: Performance of matching and sorting (n=43): time 0.007358/0.8196, allocations: 2.012 MB / 0.8125 GB, free: 36.08 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.28e-05/0.8196, allocations: 55.75 kB / 0.8126 GB, free: 36.02 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00079/0.8204, allocations: 0.5733 MB / 0.8132 GB, free: 35.75 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 4.613e-05/0.8205, allocations: 31.98 kB / 0.8132 GB, free: 35.71 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002195/0.8207, allocations: 359 kB / 0.8135 GB, free: 35.43 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001081/0.8208, allocations: 149.5 kB / 0.8137 GB, free: 35.31 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001577/0.821, allocations: 91.73 kB / 0.8138 GB, free: 35.25 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001033/0.8211, allocations: 373.1 kB / 0.8141 GB, free: 34.91 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007032/0.8218, allocations: 260.6 kB / 0.8144 GB, free: 34.84 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007486/0.8225, allocations: 362.1 kB / 0.8147 GB, free: 34.63 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001454/0.824, allocations: 0.6242 MB / 0.8153 GB, free: 34.32 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.689e-06/0.824, allocations: 5.188 kB / 0.8153 GB, free: 34.32 MB / 0.6544 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.002551/0.8266, allocations: 0.9284 MB / 0.8162 GB, free: 33.96 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.573e-05/0.8266, allocations: 6.844 kB / 0.8162 GB, free: 33.96 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.064e-05/0.8266, allocations: 2.719 kB / 0.8162 GB, free: 33.96 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001153/0.8278, allocations: 275.9 kB / 0.8165 GB, free: 33.87 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006224/0.8284, allocations: 116.9 kB / 0.8166 GB, free: 33.86 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005971/0.8344, allocations: 9.105 MB / 0.8255 GB, free: 25.11 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009053/0.8354, allocations: 46.94 kB / 0.8256 GB, free: 25.1 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.322e-05/0.8354, allocations: 20 kB / 0.8256 GB, free: 25.09 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001197/0.8366, allocations: 432.6 kB / 0.826 GB, free: 24.9 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008177/0.8375, allocations: 357.7 kB / 0.8263 GB, free: 24.71 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001596/0.8391, allocations: 0.6148 MB / 0.8269 GB, free: 24.4 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.777e-06/0.8391, allocations: 0 / 0.8269 GB, free: 24.4 MB / 0.6544 GB Notification: Performance of matching and sorting (n=59) (initialization_lambda0): time 0.00278/0.8419, allocations: 1.125 MB / 0.828 GB, free: 23.77 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.382e-05/0.8419, allocations: 6.344 kB / 0.828 GB, free: 23.77 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.216e-06/0.8419, allocations: 5.312 kB / 0.828 GB, free: 23.77 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008376/0.8427, allocations: 225.1 kB / 0.8282 GB, free: 23.68 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000661/0.8434, allocations: 122.3 kB / 0.8284 GB, free: 23.67 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005161/0.8486, allocations: 8.804 MB / 0.837 GB, free: 15.01 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008425/0.8495, allocations: 42.33 kB / 0.837 GB, free: 15 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.955e-05/0.8495, allocations: 19.56 kB / 0.837 GB, free: 15 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (47): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * 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,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,2), (1,2), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.000237/0.8498, allocations: 206.5 kB / 0.8372 GB, free: 14.8 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001248/0.8499, allocations: 70.33 kB / 0.8373 GB, free: 14.77 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001889/0.8501, allocations: 78.88 kB / 0.8374 GB, free: 14.71 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.049e-05/0.8501, allocations: 6.359 kB / 0.8374 GB, free: 14.71 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.896e-06/0.8501, allocations: 0 / 0.8374 GB, free: 14.71 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002287/0.8504, allocations: 185.2 kB / 0.8375 GB, free: 14.56 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.053e-05/0.8504, allocations: 9.641 kB / 0.8376 GB, free: 14.55 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005082/0.851, allocations: 40.73 kB / 0.8376 GB, free: 14.54 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001398/0.8511, allocations: 43.16 kB / 0.8376 GB, free: 14.54 MB / 0.6544 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002733/0.8538, allocations: 0.9274 MB / 0.8385 GB, free: 14.18 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002273/0.8561, allocations: 1.053 MB / 0.8396 GB, free: 13.71 MB / 0.6544 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006976/0.8568, allocations: 261.2 kB / 0.8398 GB, free: 13.65 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0005745/0.8574, allocations: 409.3 kB / 0.8402 GB, free: 13.46 MB / 0.6544 GB Notification: Performance of Backend: time 4.01e-07/0.8574, allocations: 0 / 0.8402 GB, free: 13.46 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.004011/0.8615, allocations: 2.333 MB / 0.8425 GB, free: 11.75 MB / 0.6544 GB Notification: Performance of SimCode: time 0.002656/0.8641, allocations: 1.9 MB / 0.8443 GB, free: 10.58 MB / 0.6544 GB Notification: Performance of Templates: time 0.02664/0.8908, allocations: 16.26 MB / 0.8602 GB, free: 4.93 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Electrical.DC.Lines.Examples.DCLine.makefile (rm -f Buildings_8_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe ; mkfifo Buildings_8_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe >> ../files/Buildings_8_Buildings.Electrical.DC.Lines.Examples.DCLine.sim & ./Buildings_8_Buildings.Electrical.DC.Lines.Examples.DCLine -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe 2>&1)