Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_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 7.0.3-maint.7.0.x/package.mo", uses=false) 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) 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_maint.7.0.x_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_maint.7.0.x_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.001313/0.001313, allocations: 90.75 kB / 15.06 MB, free: 1.098 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.002375/0.002375, allocations: 172.7 kB / 15.95 MB, free: 208 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.72/1.72, allocations: 205.4 MB / 222.1 MB, free: 5.484 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.625/1.625, allocations: 252 MB / 0.5102 GB, free: 4.75 MB / 414.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.000543/0.0005434, allocations: 16 kB / 0.6243 GB, free: 1.078 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.566/0.5665, allocations: 106.3 MB / 0.7281 GB, free: 11.39 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine): time 0.01103/0.5776, allocations: 9.724 MB / 0.7376 GB, free: 1.633 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.01366/0.5913, allocations: 8.241 MB / 0.7457 GB, free: 9.367 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001951/0.5933, allocations: 55.62 kB / 0.7457 GB, free: 9.312 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001079/0.5944, allocations: 265.8 kB / 0.746 GB, free: 9.051 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.00469/0.5992, allocations: 1.261 MB / 0.7472 GB, free: 7.789 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001774/0.6009, allocations: 473.7 kB / 0.7477 GB, free: 7.328 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.003639/0.6046, allocations: 2.454 MB / 0.7501 GB, free: 4.867 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003364/0.608, allocations: 1.781 MB / 0.7518 GB, free: 3.043 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001807/0.6098, allocations: 0.7896 MB / 0.7526 GB, free: 2.25 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001674/0.6115, allocations: 0.9066 MB / 0.7535 GB, free: 1.34 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001757/0.6117, allocations: 60 kB / 0.7535 GB, free: 1.281 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001261/0.6129, allocations: 459.4 kB / 0.754 GB, free: 0.832 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0005209/0.6135, allocations: 482.4 kB / 0.7544 GB, free: 368 kB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0005017/0.614, allocations: 332.8 kB / 0.7547 GB, free: 28 kB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002125/0.6161, allocations: 1.967 MB / 0.7567 GB, free: 14.05 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.382e-06/0.6161, allocations: 0 / 0.7567 GB, free: 14.05 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.084e-06/0.6161, allocations: 0 / 0.7567 GB, free: 14.05 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.565e-05/0.6162, allocations: 4 kB / 0.7567 GB, free: 14.05 MB / 0.5762 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.003027/0.6192, allocations: 1.726 MB / 0.7583 GB, free: 12.27 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.403e-05/0.6193, allocations: 8.031 kB / 0.7584 GB, free: 12.26 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00993/0.6292, allocations: 2.112 MB / 0.7604 GB, free: 10.14 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002566/0.6318, allocations: 1.075 MB / 0.7615 GB, free: 9.012 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.314e-05/0.6319, allocations: 94.25 kB / 0.7616 GB, free: 8.918 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002212/0.6322, allocations: 115.9 kB / 0.7617 GB, free: 8.805 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00542/0.6376, allocations: 2.498 MB / 0.7641 GB, free: 6.156 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.684e-05/0.6377, allocations: 7.938 kB / 0.7641 GB, free: 6.148 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001513/0.6378, allocations: 51.98 kB / 0.7642 GB, free: 6.098 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003607/0.6382, allocations: 130.1 kB / 0.7643 GB, free: 5.969 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006441/0.6446, allocations: 2.576 MB / 0.7668 GB, free: 3.383 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01477/0.6594, allocations: 10.11 MB / 0.7767 GB, free: 8.605 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005637/0.6652, allocations: 2.007 MB / 0.7786 GB, free: 6.566 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002622/0.6678, allocations: 0.9894 MB / 0.7796 GB, free: 5.574 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 4.908e-05/0.6679, allocations: 4.438 kB / 0.7796 GB, free: 5.57 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.668e-05/0.668, allocations: 43 kB / 0.7796 GB, free: 5.52 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=53): time 3.366e-06/0.668, allocations: 0 / 0.7796 GB, free: 5.52 MB / 0.5919 GB Notification: Performance of matching and sorting (n=81): time 0.02717/0.6951, allocations: 8.773 MB / 0.7882 GB, free: 12.68 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.115e-05/0.6952, allocations: 60.06 kB / 0.7883 GB, free: 12.61 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001571/0.6968, allocations: 1.089 MB / 0.7893 GB, free: 11.51 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 9.782e-05/0.6969, allocations: 41.7 kB / 0.7894 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005514/0.6975, allocations: 0.734 MB / 0.7901 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002713/0.6978, allocations: 276 kB / 0.7904 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.393e-05/0.6979, allocations: 27.94 kB / 0.7904 GB, free: 10.42 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001423/0.698, allocations: 349.9 kB / 0.7907 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002562/0.7006, allocations: 1.087 MB / 0.7918 GB, free: 8.984 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002695/0.7033, allocations: 1.325 MB / 0.7931 GB, free: 7.562 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002622/0.7059, allocations: 1.139 MB / 0.7942 GB, free: 6.422 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.812e-06/0.7059, allocations: 4 kB / 0.7942 GB, free: 6.418 MB / 0.6075 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.008151/0.7141, allocations: 3.307 MB / 0.7974 GB, free: 3.078 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.765e-05/0.7142, allocations: 8.875 kB / 0.7974 GB, free: 3.07 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.648e-05/0.7142, allocations: 8 kB / 0.7974 GB, free: 3.062 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002598/0.7168, allocations: 0.7872 MB / 0.7982 GB, free: 2.25 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001677/0.7185, allocations: 431.2 kB / 0.7986 GB, free: 1.828 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01632/0.7348, allocations: 14.67 MB / 0.8129 GB, free: 2.09 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002264/0.7372, allocations: 303.5 kB / 0.8132 GB, free: 1.793 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000134/0.7373, allocations: 55.94 kB / 0.8133 GB, free: 1.738 MB / 0.6231 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 (linear and non-linear blocks): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 8 {(2,100.0%) 2,(2,100.0%) 2,(3,100.0%) 5,(3,100.0%) 5,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008553/0.7382, allocations: 397.5 kB / 0.8137 GB, free: 1.34 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003051/0.7385, allocations: 150.2 kB / 0.8138 GB, free: 1.191 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008033/0.7465, allocations: 3.242 MB / 0.817 GB, free: 13.91 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.391e-05/0.7466, allocations: 8.188 kB / 0.817 GB, free: 13.9 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.224e-05/0.7466, allocations: 8 kB / 0.817 GB, free: 13.89 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.293e-05/0.7466, allocations: 7.969 kB / 0.817 GB, free: 13.88 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01041/0.757, allocations: 4.936 MB / 0.8218 GB, free: 8.824 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.274e-05/0.7571, allocations: 4.344 kB / 0.8218 GB, free: 8.82 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001451/0.7586, allocations: 363.3 kB / 0.8222 GB, free: 8.465 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002175/0.7608, allocations: 0.6973 MB / 0.8228 GB, free: 7.742 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000104/0.7609, allocations: 35.97 kB / 0.8229 GB, free: 7.707 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01431/0.7752, allocations: 14.31 MB / 0.8369 GB, free: 8.336 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.12e-06/0.7753, allocations: 3.938 kB / 0.8369 GB, free: 8.332 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007444/0.7827, allocations: 3.081 MB / 0.8399 GB, free: 5.168 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008244/0.7836, allocations: 383.2 kB / 0.8402 GB, free: 4.773 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002025/0.7838, allocations: 16 kB / 0.8402 GB, free: 4.758 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001572/0.7854, allocations: 303.5 kB / 0.8405 GB, free: 4.461 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003078/0.7857, allocations: 76.45 kB / 0.8406 GB, free: 4.387 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.762e-05/0.7858, allocations: 43.95 kB / 0.8407 GB, free: 4.344 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.001221/0.787, allocations: 0.7288 MB / 0.8414 GB, free: 3.613 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.354e-06/0.787, allocations: 0 / 0.8414 GB, free: 3.613 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001878/0.7889, allocations: 435.9 kB / 0.8418 GB, free: 3.188 MB / 0.6544 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 (linear and non-linear blocks): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 8 {(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(3,100.0%) 5,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(3,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002889/0.7892, allocations: 131.1 kB / 0.8419 GB, free: 3.047 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.007815/0.797, allocations: 3.656 MB / 0.8455 GB, free: 15.29 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 6.011e-06/0.7971, allocations: 0 / 0.8455 GB, free: 15.29 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.005101/0.8022, allocations: 2.383 MB / 0.8478 GB, free: 12.8 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002791/0.805, allocations: 493.4 kB / 0.8483 GB, free: 12.32 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00846/0.8135, allocations: 3.941 MB / 0.8521 GB, free: 8.32 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001313/0.8149, allocations: 1.388 MB / 0.8535 GB, free: 6.898 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001776/0.8167, allocations: 375.9 kB / 0.8538 GB, free: 6.527 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003394/0.817, allocations: 103.3 kB / 0.8539 GB, free: 6.426 MB / 0.67 GB Notification: Performance of SimCode: time 1.052e-06/0.817, allocations: 4 kB / 0.8539 GB, free: 6.422 MB / 0.67 GB Notification: Performance of Templates: time 0.04666/0.8637, allocations: 28.11 MB / 0.8814 GB, free: 10.71 MB / 0.7012 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe 2>&1) Environment - environmentSimulation: