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.001117/0.001117, allocations: 104.9 kB / 16.35 MB, free: 5.879 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.001162/0.001162, allocations: 192.4 kB / 17.28 MB, free: 5.516 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.361/1.361, allocations: 205.1 MB / 223.2 MB, free: 12.25 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.786/1.786, allocations: 292.3 MB / 0.5496 GB, free: 17.61 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.00146/0.00146, allocations: 64.47 kB / 0.6729 GB, free: 5.789 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.235/0.2365, allocations: 114.6 MB / 0.7848 GB, free: 3.109 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine): time 0.3576/0.5941, allocations: 10.83 MB / 0.7954 GB, free: 43.77 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.01109/0.6052, allocations: 8.849 MB / 0.804 GB, free: 39.11 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001452/0.6067, allocations: 59.72 kB / 0.8041 GB, free: 39.08 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.004133/0.6109, allocations: 1.667 MB / 0.8057 GB, free: 38.09 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.004921/0.6158, allocations: 1.526 MB / 0.8072 GB, free: 37.19 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.002042/0.6179, allocations: 0.6735 MB / 0.8078 GB, free: 36.84 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.004299/0.6222, allocations: 2.288 MB / 0.8101 GB, free: 35.76 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002379/0.6246, allocations: 1.386 MB / 0.8114 GB, free: 35.2 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002086/0.6267, allocations: 0.9744 MB / 0.8124 GB, free: 34.79 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001925/0.6286, allocations: 1.026 MB / 0.8134 GB, free: 34.33 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0003082/0.629, allocations: 142 kB / 0.8135 GB, free: 34.33 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002022/0.631, allocations: 0.8018 MB / 0.8143 GB, free: 34.08 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0006691/0.6317, allocations: 0.5628 MB / 0.8148 GB, free: 33.82 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.001214/0.6329, allocations: 0.886 MB / 0.8157 GB, free: 33.28 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.003742/0.6367, allocations: 2.561 MB / 0.8182 GB, free: 32.39 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 8.005e-06/0.6367, allocations: 1.125 kB / 0.8182 GB, free: 32.39 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.873e-06/0.6367, allocations: 0 / 0.8182 GB, free: 32.39 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.691e-05/0.6368, allocations: 4 kB / 0.8182 GB, free: 32.39 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.004137/0.6409, allocations: 2.023 MB / 0.8202 GB, free: 31.09 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.051e-05/0.641, allocations: 9.406 kB / 0.8202 GB, free: 31.09 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0111/0.6521, allocations: 2.048 MB / 0.8222 GB, free: 30.96 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00292/0.655, allocations: 1.129 MB / 0.8233 GB, free: 30.29 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.054e-05/0.6551, allocations: 81.52 kB / 0.8234 GB, free: 30.25 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00029/0.6554, allocations: 120.1 kB / 0.8235 GB, free: 30.21 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006368/0.6618, allocations: 2.485 MB / 0.8259 GB, free: 29.2 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.115e-05/0.6619, allocations: 8.562 kB / 0.8259 GB, free: 29.2 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001848/0.6621, allocations: 50.94 kB / 0.826 GB, free: 29.16 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003846/0.6625, allocations: 128 kB / 0.8261 GB, free: 29.15 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0072/0.6697, allocations: 2.544 MB / 0.8286 GB, free: 28.52 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01382/0.6835, allocations: 10.03 MB / 0.8384 GB, free: 21.23 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00566/0.6892, allocations: 1.958 MB / 0.8403 GB, free: 20.49 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002487/0.6917, allocations: 0.972 MB / 0.8412 GB, free: 19.99 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 4.399e-05/0.6918, allocations: 7.938 kB / 0.8412 GB, free: 19.99 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.462e-05/0.6918, allocations: 46.59 kB / 0.8413 GB, free: 19.94 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=53): time 2.535e-06/0.6918, allocations: 0 / 0.8413 GB, free: 19.94 MB / 0.6544 GB Notification: Performance of matching and sorting (n=81): time 0.02995/0.7218, allocations: 8.696 MB / 0.8498 GB, free: 15.65 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.458e-05/0.7219, allocations: 60.41 kB / 0.8498 GB, free: 15.58 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001497/0.7234, allocations: 1.102 MB / 0.8509 GB, free: 14.97 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0001437/0.7235, allocations: 41.33 kB / 0.851 GB, free: 14.93 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.000371/0.7239, allocations: 0.7412 MB / 0.8517 GB, free: 14.27 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002059/0.7241, allocations: 279.7 kB / 0.8519 GB, free: 14.02 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000358/0.7245, allocations: 207.5 kB / 0.8521 GB, free: 13.9 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 6.395e-05/0.7246, allocations: 343.1 kB / 0.8525 GB, free: 13.57 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002716/0.7273, allocations: 1.074 MB / 0.8535 GB, free: 13.02 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002759/0.73, allocations: 1.306 MB / 0.8548 GB, free: 12.18 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005932/0.736, allocations: 2.382 MB / 0.8571 GB, free: 10.78 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.708e-06/0.736, allocations: 2.25 kB / 0.8571 GB, free: 10.78 MB / 0.6544 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.008716/0.7448, allocations: 3.27 MB / 0.8603 GB, free: 8.996 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.882e-05/0.7448, allocations: 9.094 kB / 0.8603 GB, free: 8.996 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.406e-05/0.7448, allocations: 7.25 kB / 0.8603 GB, free: 8.996 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002735/0.7476, allocations: 0.7862 MB / 0.8611 GB, free: 8.566 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001901/0.7495, allocations: 424.3 kB / 0.8615 GB, free: 8.395 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01528/0.7648, allocations: 15.92 MB / 0.8771 GB, free: 9.672 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002764/0.7676, allocations: 287.5 kB / 0.8773 GB, free: 9.391 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001595/0.7678, allocations: 52.03 kB / 0.8774 GB, free: 9.34 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.0009747/0.7688, allocations: 409.3 kB / 0.8778 GB, free: 8.93 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003226/0.7691, allocations: 143.6 kB / 0.8779 GB, free: 8.789 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008499/0.7776, allocations: 3.201 MB / 0.881 GB, free: 5.559 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.306e-05/0.7776, allocations: 11.94 kB / 0.881 GB, free: 5.547 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.298e-05/0.7776, allocations: 8 kB / 0.881 GB, free: 5.539 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.1e-05/0.7777, allocations: 3.984 kB / 0.8811 GB, free: 5.535 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0117/0.7894, allocations: 4.905 MB / 0.8858 GB, free: 0.5 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.107e-05/0.7894, allocations: 11.44 kB / 0.8859 GB, free: 0.4922 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001644/0.7911, allocations: 355.3 kB / 0.8862 GB, free: 148 kB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002451/0.7935, allocations: 0.704 MB / 0.8869 GB, free: 15.41 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001089/0.7937, allocations: 27.97 kB / 0.8869 GB, free: 15.39 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01526/0.8089, allocations: 15.53 MB / 0.9021 GB, free: 14.75 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.749e-06/0.809, allocations: 4 kB / 0.9021 GB, free: 14.74 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008197/0.8172, allocations: 3.04 MB / 0.905 GB, free: 11.62 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001235/0.8184, allocations: 391.1 kB / 0.9054 GB, free: 11.22 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002656/0.8187, allocations: 23.08 kB / 0.9054 GB, free: 11.2 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001831/0.8206, allocations: 287.5 kB / 0.9057 GB, free: 10.92 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003206/0.8209, allocations: 84.42 kB / 0.9058 GB, free: 10.84 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.975e-05/0.821, allocations: 39.97 kB / 0.9058 GB, free: 10.8 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.001085/0.8221, allocations: 0.7405 MB / 0.9066 GB, free: 10.05 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8221, allocations: 0 / 0.9066 GB, free: 10.05 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.001859/0.824, allocations: 432 kB / 0.907 GB, free: 9.633 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.0002888/0.8243, allocations: 126 kB / 0.9071 GB, free: 9.504 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.00834/0.8326, allocations: 3.633 MB / 0.9106 GB, free: 5.773 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 7.855e-06/0.8327, allocations: 4 kB / 0.9106 GB, free: 5.77 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.00473/0.8374, allocations: 2.36 MB / 0.9129 GB, free: 3.305 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002618/0.84, allocations: 0.5164 MB / 0.9134 GB, free: 2.844 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007111/0.8472, allocations: 3.439 MB / 0.9168 GB, free: 15.36 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000977/0.8482, allocations: 1.395 MB / 0.9182 GB, free: 13.94 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001468/0.8497, allocations: 382.9 kB / 0.9185 GB, free: 13.57 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003555/0.85, allocations: 107.4 kB / 0.9186 GB, free: 13.47 MB / 0.7169 GB Notification: Performance of SimCode: time 1.322e-06/0.85, allocations: 0 / 0.9186 GB, free: 13.47 MB / 0.7169 GB Notification: Performance of Templates: time 0.04678/0.8968, allocations: 30.25 MB / 0.9482 GB, free: 15.66 MB / 0.7481 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 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe 2>&1)