Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.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.DCLinesLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized") translateModel(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009341/0.0009344, allocations: 100.1 kB / 15.05 MB, free: 1.105 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.001155/0.001155, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.397/1.397, allocations: 205.4 MB / 222.1 MB, free: 5.66 MB / 174.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.721/1.721, allocations: 292.5 MB / 0.5497 GB, free: 14.63 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.0005609/0.000561, allocations: 16.41 kB / 0.6735 GB, free: 26.03 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.24/0.2406, allocations: 116.3 MB / 0.7871 GB, free: 11.99 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized): time 0.02082/0.2615, allocations: 19.18 MB / 0.8058 GB, free: 8.75 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.02225/0.2837, allocations: 16.05 MB / 0.8215 GB, free: 8.656 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003673/0.2875, allocations: 95.38 kB / 0.8216 GB, free: 8.562 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.002298/0.2898, allocations: 0.5393 MB / 0.8221 GB, free: 8.02 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.01049/0.3003, allocations: 2.838 MB / 0.8249 GB, free: 5.188 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.004112/0.3044, allocations: 0.9353 MB / 0.8258 GB, free: 4.254 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.008313/0.3128, allocations: 3.419 MB / 0.8292 GB, free: 0.8281 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003562/0.3164, allocations: 2.063 MB / 0.8312 GB, free: 14.7 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003686/0.3201, allocations: 1.826 MB / 0.833 GB, free: 12.87 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00369/0.3238, allocations: 1.794 MB / 0.8347 GB, free: 11.07 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.001118/0.3249, allocations: 176 kB / 0.8349 GB, free: 10.9 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001884/0.3268, allocations: 483.5 kB / 0.8353 GB, free: 10.43 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0009696/0.3278, allocations: 0.8839 MB / 0.8362 GB, free: 9.539 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.001241/0.3291, allocations: 0.6912 MB / 0.8369 GB, free: 8.84 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.004457/0.3335, allocations: 3.904 MB / 0.8407 GB, free: 4.926 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 2.886e-06/0.3335, allocations: 0 / 0.8407 GB, free: 4.926 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.094e-06/0.3336, allocations: 4 kB / 0.8407 GB, free: 4.922 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0001363/0.3337, allocations: 0 / 0.8407 GB, free: 4.922 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: 635 * Number of variables: 635 Notification: Performance of Generate backend data structure: time 0.008995/0.3427, allocations: 4.099 MB / 0.8447 GB, free: 0.7109 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.258e-05/0.3428, allocations: 8.031 kB / 0.8447 GB, free: 0.7031 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01622/0.359, allocations: 3.413 MB / 0.848 GB, free: 13.28 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005031/0.3641, allocations: 1.987 MB / 0.85 GB, free: 11.23 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004083/0.3645, allocations: 469.7 kB / 0.8504 GB, free: 10.7 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005775/0.3651, allocations: 232 kB / 0.8506 GB, free: 10.48 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01076/0.3759, allocations: 4.834 MB / 0.8554 GB, free: 5.5 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.641e-05/0.3759, allocations: 4 kB / 0.8554 GB, free: 5.496 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003308/0.3763, allocations: 99.98 kB / 0.8555 GB, free: 5.398 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002134/0.3765, allocations: 172.8 kB / 0.8556 GB, free: 5.227 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01376/0.3903, allocations: 5.304 MB / 0.8608 GB, free: 15.91 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02392/0.4142, allocations: 14.59 MB / 0.8751 GB, free: 144 kB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009969/0.4242, allocations: 3.677 MB / 0.8787 GB, free: 12.45 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000175/0.4245, allocations: 21.3 kB / 0.8787 GB, free: 12.43 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00436/0.4288, allocations: 1.91 MB / 0.8805 GB, free: 10.45 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=163): time 5.45e-06/0.4288, allocations: 0 / 0.8805 GB, free: 10.45 MB / 0.7012 GB Notification: Performance of matching and sorting (n=250): time 0.1281/0.5569, allocations: 34.09 MB / 0.9138 GB, free: 8.137 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002368/0.5572, allocations: 0.4966 MB / 0.9143 GB, free: 7.527 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003017/0.5602, allocations: 2.273 MB / 0.9165 GB, free: 5.242 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0003488/0.5606, allocations: 81.69 kB / 0.9166 GB, free: 5.156 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.001147/0.5618, allocations: 1.43 MB / 0.918 GB, free: 3.711 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007227/0.5625, allocations: 0.824 MB / 0.9188 GB, free: 2.875 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001775/0.5627, allocations: 44 kB / 0.9189 GB, free: 2.832 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001719/0.5629, allocations: 398.7 kB / 0.9192 GB, free: 2.438 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005143/0.568, allocations: 2.108 MB / 0.9213 GB, free: 332 kB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.4802/1.048, allocations: 2.399 MB / 0.9236 GB, free: 124.9 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006153/1.054, allocations: 2.286 MB / 0.9259 GB, free: 124.7 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.034e-05/1.055, allocations: 5.188 kB / 0.9259 GB, free: 124.7 MB / 0.7325 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.01846/1.073, allocations: 6.88 MB / 0.9326 GB, free: 123.4 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001065/1.073, allocations: 147.6 kB / 0.9327 GB, free: 123.2 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.085e-05/1.073, allocations: 6.031 kB / 0.9327 GB, free: 123.2 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01052/1.084, allocations: 2.947 MB / 0.9356 GB, free: 122.7 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003247/1.087, allocations: 0.5661 MB / 0.9362 GB, free: 122.7 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0388/1.126, allocations: 18.14 MB / 0.9539 GB, free: 114 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004408/1.13, allocations: 417.5 kB / 0.9543 GB, free: 114 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003487/1.131, allocations: 89.06 kB / 0.9544 GB, free: 114 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 25 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.varLoad1.T_start,varLoad1.T_start,$PRE.varLoad1.count,varLoad1.count,$PRE.varLoad2.T_start,varLoad2.T_start,$PRE.varLoad2.count,varLoad2.count,$PRE.varLoad3.T_start,varLoad3.T_start,$PRE.varLoad3.count,varLoad3.count,$PRE.varLoad4.T_start,varLoad4.T_start,$PRE.varLoad4.count,varLoad4.count,$PRE.varLoad5.T_start,varLoad5.T_start,$PRE.varLoad5.count,varLoad5.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (162): * Single equations (assignments): 155 * Array equations: 0 * Algorithm blocks: 5 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(10,45.0%) 52} * Non-linear torn systems: 1 {9 63} Notification: Performance of prepare postOptimizeDAE: time 0.001623/1.132, allocations: 0.7056 MB / 0.9551 GB, free: 113.5 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006508/1.133, allocations: 331.9 kB / 0.9554 GB, free: 113.4 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006146/1.134, allocations: 388 kB / 0.9557 GB, free: 113.1 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.766e-05/1.134, allocations: 23.66 kB / 0.9558 GB, free: 113.1 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.758e-05/1.134, allocations: 11.81 kB / 0.9558 GB, free: 113.1 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.681e-05/1.134, allocations: 15.3 kB / 0.9558 GB, free: 113.1 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004116/1.138, allocations: 3.627 MB / 0.9593 GB, free: 111.6 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.055e-05/1.138, allocations: 1.875 kB / 0.9593 GB, free: 111.6 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00249/1.14, allocations: 0.492 MB / 0.9598 GB, free: 111.5 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008852/1.149, allocations: 2.874 MB / 0.9626 GB, free: 110.2 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004147/1.15, allocations: 51.84 kB / 0.9627 GB, free: 110.1 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03258/1.182, allocations: 17.93 MB / 0.9802 GB, free: 96.62 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/1.182, allocations: 4 kB / 0.9802 GB, free: 96.62 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01589/1.198, allocations: 6.527 MB / 0.9866 GB, free: 90.05 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001918/1.2, allocations: 0.7039 MB / 0.9873 GB, free: 89.33 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000476/1.201, allocations: 47.98 kB / 0.9873 GB, free: 89.28 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002969/1.204, allocations: 404.6 kB / 0.9877 GB, free: 88.89 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001051/1.205, allocations: 372.7 kB / 0.988 GB, free: 88.53 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001673/1.205, allocations: 67.97 kB / 0.9881 GB, free: 88.46 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001714/1.207, allocations: 1.513 MB / 0.9896 GB, free: 86.95 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.1e-07/1.207, allocations: 0 / 0.9896 GB, free: 86.95 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002552/1.209, allocations: 1.043 MB / 0.9906 GB, free: 85.91 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,varLoad1.T_start,varLoad1.count,varLoad2.T_start,varLoad2.count,varLoad3.T_start,varLoad3.count,varLoad4.T_start,varLoad4.count,varLoad5.T_start,varLoad5.count) * Number of discrete states: 5 (varLoad1.count,varLoad2.count,varLoad3.count,varLoad4.count,varLoad5.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (118): * Single equations (assignments): 106 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(10,60.0%) 52} * Non-linear torn systems: 1 {10 62} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003192/1.209, allocations: 170.2 kB / 0.9908 GB, free: 85.73 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.02018/1.23, allocations: 6.822 MB / 0.9974 GB, free: 78.81 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.184e-05/1.23, allocations: 4 kB / 0.9974 GB, free: 78.81 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.01534/1.245, allocations: 4.232 MB / 1.002 GB, free: 74.56 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004304/1.249, allocations: 1.001 MB / 1.003 GB, free: 73.59 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01187/1.261, allocations: 7.739 MB / 1.01 GB, free: 65.84 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001414/1.263, allocations: 2.305 MB / 1.012 GB, free: 63.51 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.002235/1.265, allocations: 0.5099 MB / 1.013 GB, free: 62.99 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005291/1.265, allocations: 179.3 kB / 1.013 GB, free: 62.82 MB / 0.7325 GB Notification: Performance of SimCode: time 9.22e-07/1.265, allocations: 0 / 1.013 GB, free: 62.82 MB / 0.7325 GB Notification: Performance of Templates: time 0.09226/1.358, allocations: 70.06 MB / 1.081 GB, free: 9.617 MB / 0.7481 GB make -j1 -f Buildings_8_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe ; mkfifo Buildings_8_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe >> ../files/Buildings_8_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.sim & ./Buildings_8_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe 2>&1) Environment - environmentSimulation: