Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.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.AC.OnePhase.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine") translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001451/0.001451, allocations: 102.7 kB / 16.36 MB, free: 6.301 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.002754/0.002754, allocations: 192.5 kB / 17.29 MB, free: 5.875 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.464/1.464, allocations: 205.1 MB / 223.2 MB, free: 12.23 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.778/1.778, 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.001446/0.001446, allocations: 74.88 kB / 0.6729 GB, free: 5.84 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2476/0.2491, allocations: 114.6 MB / 0.7848 GB, free: 3.164 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine): time 0.3899/0.639, allocations: 10.82 MB / 0.7954 GB, free: 44.37 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.01189/0.651, allocations: 8.85 MB / 0.804 GB, free: 39.28 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001742/0.6528, allocations: 61.41 kB / 0.8041 GB, free: 39.26 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.004062/0.6569, allocations: 1.667 MB / 0.8057 GB, free: 38.27 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.005487/0.6624, allocations: 1.53 MB / 0.8072 GB, free: 37.36 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.002292/0.6647, allocations: 0.6753 MB / 0.8078 GB, free: 37.01 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.004605/0.6693, allocations: 2.281 MB / 0.8101 GB, free: 35.93 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002732/0.6721, allocations: 1.391 MB / 0.8114 GB, free: 35.37 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002771/0.6749, allocations: 0.983 MB / 0.8124 GB, free: 34.95 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002617/0.6775, allocations: 1.018 MB / 0.8134 GB, free: 34.5 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0004207/0.678, allocations: 138 kB / 0.8135 GB, free: 34.5 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002377/0.6804, allocations: 0.8023 MB / 0.8143 GB, free: 34.25 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.000861/0.6812, allocations: 0.5621 MB / 0.8148 GB, free: 33.99 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.001595/0.6828, allocations: 0.8872 MB / 0.8157 GB, free: 33.45 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.004961/0.6878, allocations: 2.564 MB / 0.8182 GB, free: 32.55 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.883e-06/0.6878, allocations: 0 / 0.8182 GB, free: 32.55 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.785e-06/0.6879, allocations: 1.406 kB / 0.8182 GB, free: 32.55 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 8.119e-05/0.6879, allocations: 0 / 0.8182 GB, free: 32.55 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: 315 * Number of variables: 315 Notification: Performance of Generate backend data structure: time 0.004922/0.6929, allocations: 2.032 MB / 0.8202 GB, free: 31.25 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.948e-05/0.6929, allocations: 9.469 kB / 0.8202 GB, free: 31.25 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01219/0.7051, allocations: 2.044 MB / 0.8222 GB, free: 31.13 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003241/0.7084, allocations: 1.213 MB / 0.8234 GB, free: 30.45 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.588e-05/0.7085, allocations: 89.56 kB / 0.8235 GB, free: 30.4 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003265/0.7088, allocations: 116.1 kB / 0.8236 GB, free: 30.36 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006554/0.7154, allocations: 2.478 MB / 0.826 GB, free: 29.36 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.525e-05/0.7155, allocations: 16.56 kB / 0.826 GB, free: 29.35 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001761/0.7157, allocations: 54.02 kB / 0.8261 GB, free: 29.31 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003948/0.7161, allocations: 128.7 kB / 0.8262 GB, free: 29.3 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008173/0.7243, allocations: 2.535 MB / 0.8287 GB, free: 28.68 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01491/0.7392, allocations: 10.04 MB / 0.8385 GB, free: 21.38 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0063/0.7456, allocations: 1.951 MB / 0.8404 GB, free: 20.52 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002749/0.7483, allocations: 0.9706 MB / 0.8413 GB, free: 20.03 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 6.399e-05/0.7484, allocations: 5.781 kB / 0.8413 GB, free: 20.03 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.888e-05/0.7485, allocations: 38.34 kB / 0.8414 GB, free: 19.98 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=53): time 2.094e-06/0.7485, allocations: 0 / 0.8414 GB, free: 19.98 MB / 0.6544 GB Notification: Performance of matching and sorting (n=81): time 0.0308/0.7793, allocations: 8.708 MB / 0.8499 GB, free: 15.68 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.185e-05/0.7793, allocations: 63.06 kB / 0.8499 GB, free: 15.61 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001574/0.7809, allocations: 1.103 MB / 0.851 GB, free: 15 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0001925/0.7811, allocations: 42.42 kB / 0.8511 GB, free: 14.96 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004216/0.7816, allocations: 0.7385 MB / 0.8518 GB, free: 14.3 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002644/0.7818, allocations: 275.1 kB / 0.852 GB, free: 14.06 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004071/0.7822, allocations: 199.1 kB / 0.8522 GB, free: 13.95 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 8.246e-05/0.7823, allocations: 344.6 kB / 0.8526 GB, free: 13.62 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002977/0.7853, allocations: 1.073 MB / 0.8536 GB, free: 13.07 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00305/0.7884, allocations: 1.314 MB / 0.8549 GB, free: 12.22 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006135/0.7945, allocations: 2.375 MB / 0.8572 GB, free: 10.82 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.666e-06/0.7946, allocations: 2.344 kB / 0.8572 GB, free: 10.82 MB / 0.6544 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.008842/0.8034, allocations: 3.277 MB / 0.8604 GB, free: 9.035 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 3.191e-05/0.8035, allocations: 8.5 kB / 0.8604 GB, free: 9.035 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.536e-05/0.8035, allocations: 7.906 kB / 0.8604 GB, free: 9.035 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002635/0.8062, allocations: 0.7858 MB / 0.8612 GB, free: 8.605 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001944/0.8081, allocations: 422.5 kB / 0.8616 GB, free: 8.438 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01439/0.8225, allocations: 15.93 MB / 0.8771 GB, free: 9.723 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002763/0.8253, allocations: 295.5 kB / 0.8774 GB, free: 9.434 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001697/0.8255, allocations: 47.97 kB / 0.8775 GB, free: 9.387 MB / 0.67 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (82): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,2,100.0%), (2,2,100.0%), (3,5,100.0%), (3,5,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0009295/0.8264, allocations: 405.4 kB / 0.8779 GB, free: 8.98 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003351/0.8268, allocations: 142.8 kB / 0.878 GB, free: 8.84 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008988/0.8358, allocations: 3.201 MB / 0.8811 GB, free: 5.613 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.331e-05/0.8358, allocations: 11.94 kB / 0.8811 GB, free: 5.602 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.223e-05/0.8359, allocations: 10.44 kB / 0.8811 GB, free: 5.594 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.421e-05/0.8359, allocations: 3.984 kB / 0.8811 GB, free: 5.59 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.012/0.8479, allocations: 4.913 MB / 0.8859 GB, free: 0.5469 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.867e-06/0.8479, allocations: 0 / 0.8859 GB, free: 0.5469 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001744/0.8497, allocations: 363.7 kB / 0.8863 GB, free: 196 kB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00251/0.8522, allocations: 0.6959 MB / 0.887 GB, free: 15.47 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001739/0.8524, allocations: 31.97 kB / 0.887 GB, free: 15.44 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01579/0.8682, allocations: 15.53 MB / 0.9022 GB, free: 14.8 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.609e-06/0.8682, allocations: 4 kB / 0.9022 GB, free: 14.8 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008755/0.877, allocations: 3.043 MB / 0.9051 GB, free: 11.67 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001055/0.8781, allocations: 383.1 kB / 0.9055 GB, free: 11.28 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003154/0.8784, allocations: 19.98 kB / 0.9055 GB, free: 11.26 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002041/0.8805, allocations: 291.5 kB / 0.9058 GB, free: 10.97 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002766/0.8807, allocations: 84.42 kB / 0.9059 GB, free: 10.89 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001061/0.8809, allocations: 41.34 kB / 0.9059 GB, free: 10.85 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.001065/0.8819, allocations: 0.7405 MB / 0.9067 GB, free: 10.11 MB / 0.7012 GB Notification: Performance of sort global known variables: time 2.41e-07/0.8819, allocations: 0 / 0.9067 GB, free: 10.11 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.001835/0.8838, allocations: 432 kB / 0.9071 GB, free: 9.688 MB / 0.7012 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (46): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (3,5,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (3,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002968/0.8841, allocations: 127.7 kB / 0.9072 GB, free: 9.555 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.008885/0.893, allocations: 3.629 MB / 0.9107 GB, free: 5.824 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 1.143e-05/0.893, allocations: 4 kB / 0.9107 GB, free: 5.82 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.005423/0.8985, allocations: 2.364 MB / 0.913 GB, free: 3.352 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002703/0.9012, allocations: 0.517 MB / 0.9135 GB, free: 2.895 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008325/0.9096, allocations: 3.552 MB / 0.917 GB, free: 15.29 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001151/0.9107, allocations: 1.395 MB / 0.9184 GB, free: 13.86 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006459/0.9114, allocations: 123.3 kB / 0.9185 GB, free: 13.75 MB / 0.7169 GB Notification: Performance of SimCode: time 9.62e-07/0.9114, allocations: 0 / 0.9185 GB, free: 13.75 MB / 0.7169 GB Notification: Performance of Templates: time 0.08233/0.9937, allocations: 75 MB / 0.9917 GB, free: 2.887 MB / 0.7794 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.makefile (rm -f Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.sim & ./Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe 2>&1)