Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.DCLine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Electrical.DC.Lines.Examples.DCLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.DCLine") translateModel(Buildings.Electrical.DC.Lines.Examples.DCLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.DCLine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.437/1.437, allocations: 251.5 MB / 267.4 MB, free: 11.06 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001249/0.001249, allocations: 182.7 kB / 326.5 MB, free: 2.688 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.684/1.684, allocations: 205 MB / 0.5766 GB, free: 21.02 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007627/0.0007628, allocations: 94.33 kB / 0.6804 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003191/0.0003191, allocations: 9.312 kB / 0.7938 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.201/0.2014, allocations: 105.4 MB / 0.8967 GB, free: 68.16 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLine): time 0.005371/0.2068, allocations: 5.922 MB / 0.9025 GB, free: 62.21 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.005073/0.2119, allocations: 4.55 MB / 0.907 GB, free: 57.64 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004813/0.2124, allocations: 23.88 kB / 0.907 GB, free: 57.62 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.00188/0.2143, allocations: 0.8508 MB / 0.9078 GB, free: 56.77 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.001841/0.2162, allocations: 0.7141 MB / 0.9085 GB, free: 56.05 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006161/0.2168, allocations: 283.6 kB / 0.9088 GB, free: 55.77 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.001109/0.2179, allocations: 1.448 MB / 0.9102 GB, free: 54.32 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005525/0.2185, allocations: 473.5 kB / 0.9107 GB, free: 53.85 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003891/0.2189, allocations: 406.3 kB / 0.911 GB, free: 53.45 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004671/0.2194, allocations: 478 kB / 0.9115 GB, free: 52.98 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 6.97e-05/0.2194, allocations: 32 kB / 0.9115 GB, free: 52.95 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004521/0.2199, allocations: 299.4 kB / 0.9118 GB, free: 52.66 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001461/0.2201, allocations: 215.2 kB / 0.912 GB, free: 52.45 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0002448/0.2203, allocations: 362 kB / 0.9124 GB, free: 52.09 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.000555/0.2209, allocations: 0.8143 MB / 0.9132 GB, free: 51.28 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.908e-06/0.2209, allocations: 0 / 0.9132 GB, free: 51.28 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.472e-06/0.2209, allocations: 4 kB / 0.9132 GB, free: 51.27 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.059e-05/0.2209, allocations: 0 / 0.9132 GB, free: 51.27 MB / 0.6042 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.001377/0.2223, allocations: 0.966 MB / 0.9141 GB, free: 50.26 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.612e-05/0.2223, allocations: 11.97 kB / 0.9141 GB, free: 50.25 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002811/0.2251, allocations: 0.6591 MB / 0.9148 GB, free: 49.59 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007159/0.2259, allocations: 0.5424 MB / 0.9153 GB, free: 49 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.185e-05/0.2259, allocations: 37.69 kB / 0.9153 GB, free: 48.96 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.379e-05/0.226, allocations: 56.11 kB / 0.9154 GB, free: 48.91 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001639/0.2276, allocations: 1.025 MB / 0.9164 GB, free: 47.84 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.034e-05/0.2277, allocations: 4 kB / 0.9164 GB, free: 47.84 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.703e-05/0.2278, allocations: 24 kB / 0.9164 GB, free: 47.81 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.009e-05/0.2278, allocations: 41.3 kB / 0.9165 GB, free: 47.77 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001948/0.2298, allocations: 1.02 MB / 0.9174 GB, free: 46.75 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003116/0.2329, allocations: 3.506 MB / 0.9209 GB, free: 42.94 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00126/0.2342, allocations: 0.5256 MB / 0.9214 GB, free: 42.41 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004697/0.2347, allocations: 249.2 kB / 0.9216 GB, free: 42.16 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.316e-05/0.2347, allocations: 0 / 0.9216 GB, free: 42.16 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.357e-05/0.2347, allocations: 38.55 kB / 0.9217 GB, free: 42.11 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=31): time 1.223e-06/0.2347, allocations: 0 / 0.9217 GB, free: 42.11 MB / 0.6042 GB Notification: Performance of matching and sorting (n=43): time 0.006131/0.2409, allocations: 2.236 MB / 0.9238 GB, free: 39.83 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.694e-05/0.2409, allocations: 55.41 kB / 0.9239 GB, free: 39.77 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005167/0.2414, allocations: 0.5665 MB / 0.9244 GB, free: 39.19 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 3.381e-05/0.2415, allocations: 33.7 kB / 0.9245 GB, free: 39.15 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001581/0.2417, allocations: 360.2 kB / 0.9248 GB, free: 38.79 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 8.288e-05/0.2417, allocations: 149.8 kB / 0.925 GB, free: 38.64 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.072e-05/0.2418, allocations: 37.7 kB / 0.925 GB, free: 38.6 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 8.078e-05/0.2419, allocations: 378.7 kB / 0.9254 GB, free: 38.22 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006081/0.2425, allocations: 276.9 kB / 0.9256 GB, free: 37.95 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000605/0.2431, allocations: 381.8 kB / 0.926 GB, free: 37.53 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001207/0.2443, allocations: 0.6694 MB / 0.9266 GB, free: 36.82 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.2444, allocations: 0 / 0.9266 GB, free: 36.82 MB / 0.6042 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.002125/0.2465, allocations: 0.978 MB / 0.9276 GB, free: 35.82 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 7.801e-05/0.2466, allocations: 180.3 kB / 0.9278 GB, free: 35.59 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.366e-06/0.2466, allocations: 4 kB / 0.9278 GB, free: 35.59 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001058/0.2477, allocations: 276.8 kB / 0.928 GB, free: 35.3 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005598/0.2482, allocations: 131.8 kB / 0.9282 GB, free: 35.17 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005054/0.2533, allocations: 8.485 MB / 0.9365 GB, free: 25.89 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006151/0.2539, allocations: 60 kB / 0.9365 GB, free: 25.84 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.657e-05/0.254, allocations: 19.98 kB / 0.9365 GB, free: 25.82 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 8.596e-06/0.254, allocations: 6.344 kB / 0.9365 GB, free: 25.81 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002075/0.2561, allocations: 1.093 MB / 0.9376 GB, free: 24.64 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.119e-06/0.2561, allocations: 0 / 0.9376 GB, free: 24.64 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007087/0.2568, allocations: 225.2 kB / 0.9378 GB, free: 24.41 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005546/0.2574, allocations: 135.8 kB / 0.9379 GB, free: 24.27 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004065/0.2614, allocations: 8.156 MB / 0.9459 GB, free: 15.32 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006665/0.2621, allocations: 63.94 kB / 0.946 GB, free: 15.26 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.416e-05/0.2622, allocations: 20 kB / 0.946 GB, free: 15.24 MB / 0.6042 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.0003599/0.2625, allocations: 317.7 kB / 0.9463 GB, free: 14.92 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.02e-05/0.2626, allocations: 75.14 kB / 0.9464 GB, free: 14.84 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001116/0.2628, allocations: 78.38 kB / 0.9464 GB, free: 14.77 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.2628, allocations: 7.938 kB / 0.9464 GB, free: 14.76 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.325e-05/0.2628, allocations: 4 kB / 0.9465 GB, free: 14.75 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.802e-06/0.2628, allocations: 0 / 0.9465 GB, free: 14.75 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006159/0.2634, allocations: 0.6494 MB / 0.9471 GB, free: 14.05 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.2634, allocations: 0 / 0.9471 GB, free: 14.05 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004616/0.2639, allocations: 99.91 kB / 0.9472 GB, free: 13.96 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009003/0.2648, allocations: 265 kB / 0.9474 GB, free: 13.68 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.081e-05/0.2648, allocations: 8 kB / 0.9474 GB, free: 13.67 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004523/0.2694, allocations: 8.423 MB / 0.9557 GB, free: 4.445 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/0.2694, allocations: 4.125 kB / 0.9557 GB, free: 4.441 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002034/0.2714, allocations: 0.9561 MB / 0.9566 GB, free: 3.449 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002224/0.2717, allocations: 188.2 kB / 0.9568 GB, free: 3.246 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.36e-05/0.2718, allocations: 11.94 kB / 0.9568 GB, free: 3.234 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004733/0.2722, allocations: 47.95 kB / 0.9568 GB, free: 3.188 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001157/0.2724, allocations: 43.94 kB / 0.9569 GB, free: 3.145 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.776e-05/0.2724, allocations: 11.94 kB / 0.9569 GB, free: 3.133 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.000366/0.2728, allocations: 407.1 kB / 0.9573 GB, free: 2.742 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2728, allocations: 0 / 0.9573 GB, free: 2.742 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0009342/0.2737, allocations: 300 kB / 0.9576 GB, free: 2.449 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (31): * Single equations (assignments): 25 * 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 Backend phase and start with SimCode phase: time 0.0001229/0.2738, allocations: 111.2 kB / 0.9577 GB, free: 2.332 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.003205/0.2771, allocations: 2.423 MB / 0.96 GB, free: 15.75 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.2771, allocations: 4.125 kB / 0.96 GB, free: 15.75 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.001387/0.2785, allocations: 1.023 MB / 0.961 GB, free: 14.65 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009833/0.2795, allocations: 213.2 kB / 0.9612 GB, free: 14.45 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002603/0.2821, allocations: 1.621 MB / 0.9628 GB, free: 12.79 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006249/0.2827, allocations: 0.9821 MB / 0.9638 GB, free: 11.78 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001704/0.2829, allocations: 47.42 kB / 0.9638 GB, free: 11.74 MB / 0.6198 GB Notification: Performance of SimCode: time 7.01e-07/0.2829, allocations: 0 / 0.9638 GB, free: 11.74 MB / 0.6198 GB Notification: Performance of Templates: time 0.02862/0.3115, allocations: 26.92 MB / 0.9901 GB, free: 0.8594 MB / 0.6355 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.DCLine.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.DCLine.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.DCLine -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe 2>&1)