Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.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_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L") translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001459/0.001459, allocations: 105.8 kB / 15.98 MB, free: 5.891 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.001463/0.001464, allocations: 189.6 kB / 16.91 MB, free: 5.746 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.516/1.516, allocations: 205.1 MB / 222.8 MB, free: 4.672 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.688/1.688, allocations: 292.3 MB / 0.5492 GB, free: 13.62 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.001387/0.001388, allocations: 62.3 kB / 0.6717 GB, free: 26.21 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2484/0.2498, allocations: 114.5 MB / 0.7835 GB, free: 13.87 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L): time 0.007348/0.2572, allocations: 6.068 MB / 0.7894 GB, free: 7.773 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.004844/0.2621, allocations: 3.185 MB / 0.7926 GB, free: 4.574 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005308/0.2627, allocations: 23.81 kB / 0.7926 GB, free: 4.551 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.002264/0.2649, allocations: 0.8874 MB / 0.7934 GB, free: 3.664 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.001187/0.2661, allocations: 434 kB / 0.7939 GB, free: 3.238 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001156/0.2673, allocations: 435.1 kB / 0.7943 GB, free: 2.812 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001197/0.2685, allocations: 1.096 MB / 0.7953 GB, free: 1.715 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009615/0.2695, allocations: 0.7133 MB / 0.796 GB, free: 0.9922 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005812/0.2701, allocations: 446.3 kB / 0.7965 GB, free: 0.5547 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005333/0.2706, allocations: 490.2 kB / 0.7969 GB, free: 76 kB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 7.481e-05/0.2707, allocations: 60 kB / 0.797 GB, free: 16 kB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008308/0.2715, allocations: 483 kB / 0.7974 GB, free: 15.54 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.000246/0.2718, allocations: 299.2 kB / 0.7977 GB, free: 15.25 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0003545/0.2722, allocations: 397.9 kB / 0.7981 GB, free: 14.86 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.000898/0.2731, allocations: 0.9081 MB / 0.799 GB, free: 13.95 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 8.055e-06/0.2731, allocations: 7.938 kB / 0.799 GB, free: 13.94 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.493e-06/0.2731, allocations: 3.938 kB / 0.799 GB, free: 13.94 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.081e-05/0.2731, allocations: 0 / 0.799 GB, free: 13.94 MB / 0.6231 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.001561/0.2747, allocations: 1.04 MB / 0.8 GB, free: 12.84 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.358e-05/0.2747, allocations: 12.03 kB / 0.8 GB, free: 12.83 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001451/0.2762, allocations: 215.7 kB / 0.8002 GB, free: 12.62 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006857/0.2769, allocations: 0.5415 MB / 0.8008 GB, free: 12.04 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.341e-05/0.2769, allocations: 45.67 kB / 0.8008 GB, free: 12 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.999e-05/0.277, allocations: 64.31 kB / 0.8009 GB, free: 11.94 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001327/0.2784, allocations: 1.038 MB / 0.8019 GB, free: 10.79 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.023e-05/0.2784, allocations: 7.906 kB / 0.8019 GB, free: 10.78 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.45e-05/0.2785, allocations: 28 kB / 0.8019 GB, free: 10.75 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.029e-05/0.2786, allocations: 77.19 kB / 0.802 GB, free: 10.68 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009422/0.2795, allocations: 0.6918 MB / 0.8027 GB, free: 9.984 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004714/0.2842, allocations: 5.741 MB / 0.8083 GB, free: 3.816 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007962/0.2851, allocations: 0.6014 MB / 0.8089 GB, free: 3.172 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007196/0.2858, allocations: 425.3 kB / 0.8093 GB, free: 2.754 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 3.64e-05/0.2858, allocations: 7.781 kB / 0.8093 GB, free: 2.746 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.77e-05/0.2859, allocations: 34.56 kB / 0.8093 GB, free: 2.703 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=41): time 2.264e-06/0.2859, allocations: 0 / 0.8093 GB, free: 2.703 MB / 0.6231 GB Notification: Performance of matching and sorting (n=42): time 0.004131/0.29, allocations: 2.05 MB / 0.8113 GB, free: 0.5586 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.029e-05/0.2901, allocations: 55.41 kB / 0.8114 GB, free: 0.4922 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000445/0.2905, allocations: 462.7 kB / 0.8118 GB, free: 36 kB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 3.337e-05/0.2906, allocations: 29.7 kB / 0.8118 GB, free: 0 / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002449/0.2908, allocations: 387.1 kB / 0.8122 GB, free: 15.61 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001112/0.291, allocations: 157.8 kB / 0.8124 GB, free: 15.46 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001511/0.2911, allocations: 106.2 kB / 0.8125 GB, free: 15.35 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001457/0.2913, allocations: 366.7 kB / 0.8128 GB, free: 14.98 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003252/0.2916, allocations: 245.2 kB / 0.813 GB, free: 14.74 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004587/0.2921, allocations: 461 kB / 0.8135 GB, free: 14.2 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008573/0.2929, allocations: 0.7558 MB / 0.8142 GB, free: 13.34 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.517e-06/0.2929, allocations: 7.938 kB / 0.8142 GB, free: 13.34 MB / 0.6387 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001735/0.2947, allocations: 1.066 MB / 0.8153 GB, free: 12.25 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.925e-05/0.2947, allocations: 4 kB / 0.8153 GB, free: 12.25 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.314e-05/0.2947, allocations: 16.06 kB / 0.8153 GB, free: 12.23 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009984/0.2957, allocations: 331.1 kB / 0.8156 GB, free: 11.89 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003127/0.2961, allocations: 99.83 kB / 0.8157 GB, free: 11.8 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006662/0.3027, allocations: 7.519 MB / 0.823 GB, free: 3.711 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004523/0.3032, allocations: 32.02 kB / 0.8231 GB, free: 3.68 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.251e-05/0.3033, allocations: 28 kB / 0.8231 GB, free: 3.652 MB / 0.6387 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 (53): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,7,88.9%), (1,5,100.0%), (1,3,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003531/0.3036, allocations: 240.9 kB / 0.8233 GB, free: 3.41 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.19e-05/0.3037, allocations: 67.56 kB / 0.8234 GB, free: 3.344 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001637/0.3054, allocations: 0.912 MB / 0.8243 GB, free: 2.414 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.699e-06/0.3054, allocations: 4 kB / 0.8243 GB, free: 2.41 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.591e-06/0.3054, allocations: 7.938 kB / 0.8243 GB, free: 2.402 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/0.3054, allocations: 3.984 kB / 0.8243 GB, free: 2.398 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002438/0.3078, allocations: 1.704 MB / 0.826 GB, free: 0.6055 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.63e-06/0.3079, allocations: 4 kB / 0.826 GB, free: 0.6016 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001586/0.308, allocations: 39.91 kB / 0.826 GB, free: 0.5625 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009379/0.309, allocations: 331.2 kB / 0.8263 GB, free: 232 kB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.17e-05/0.309, allocations: 16.06 kB / 0.8263 GB, free: 216 kB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006643/0.3157, allocations: 7.51 MB / 0.8337 GB, free: 8.137 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.478e-06/0.3157, allocations: 8 kB / 0.8337 GB, free: 8.129 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001641/0.3174, allocations: 1.007 MB / 0.8347 GB, free: 7.074 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002828/0.3177, allocations: 168.4 kB / 0.8348 GB, free: 6.891 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.461e-05/0.3178, allocations: 11.98 kB / 0.8348 GB, free: 6.879 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002877/0.3181, allocations: 20.27 kB / 0.8349 GB, free: 6.859 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001063/0.3182, allocations: 43.88 kB / 0.8349 GB, free: 6.816 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.918e-05/0.3182, allocations: 16 kB / 0.8349 GB, free: 6.801 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0003624/0.3186, allocations: 310.8 kB / 0.8352 GB, free: 6.5 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3186, allocations: 0 / 0.8352 GB, free: 6.5 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0008131/0.3194, allocations: 195.9 kB / 0.8354 GB, free: 6.309 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (23): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,7,88.9%), (2,2,100.0%), (1,3,100.0%), (1,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.0001601/0.3196, allocations: 111.2 kB / 0.8355 GB, free: 6.188 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001944/0.3215, allocations: 1.246 MB / 0.8367 GB, free: 4.891 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.927e-06/0.3216, allocations: 4 kB / 0.8367 GB, free: 4.887 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.001165/0.3227, allocations: 0.8696 MB / 0.8376 GB, free: 3.965 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009952/0.3237, allocations: 203.6 kB / 0.8378 GB, free: 3.777 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002454/0.3262, allocations: 1.585 MB / 0.8393 GB, free: 2.141 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005781/0.3268, allocations: 0.9881 MB / 0.8403 GB, free: 1.125 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001004/0.3269, allocations: 39.44 kB / 0.8403 GB, free: 1.086 MB / 0.6544 GB Notification: Performance of SimCode: time 2.81e-07/0.3269, allocations: 0 / 0.8403 GB, free: 1.086 MB / 0.6544 GB Notification: Performance of Templates: time 0.01996/0.3469, allocations: 18.44 MB / 0.8583 GB, free: 14.66 MB / 0.6856 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.makefile (rm -f Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.sim & ./Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe 2>&1)