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.001574/0.001574, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001712/0.001712, allocations: 197.2 kB / 16.14 MB, free: 6.656 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.672/1.672, allocations: 205.1 MB / 222 MB, free: 4.766 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.705/1.705, allocations: 292.3 MB / 0.5484 GB, free: 13.65 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.001371/0.001371, allocations: 71.58 kB / 0.6708 GB, free: 26.5 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2576/0.259, allocations: 114.5 MB / 0.7827 GB, free: 13.98 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L): time 0.007622/0.2667, allocations: 6.065 MB / 0.7886 GB, free: 7.887 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.005132/0.2719, allocations: 3.224 MB / 0.7918 GB, free: 4.648 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003688/0.2723, allocations: 27.81 kB / 0.7918 GB, free: 4.621 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.002193/0.2745, allocations: 0.8672 MB / 0.7926 GB, free: 3.754 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.00102/0.2755, allocations: 450 kB / 0.7931 GB, free: 3.312 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001036/0.2766, allocations: 436 kB / 0.7935 GB, free: 2.887 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001351/0.2779, allocations: 1.459 MB / 0.7949 GB, free: 1.426 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009112/0.2788, allocations: 0.6289 MB / 0.7955 GB, free: 0.7891 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004796/0.2793, allocations: 386.3 kB / 0.7959 GB, free: 420 kB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005251/0.2799, allocations: 482.2 kB / 0.7963 GB, free: 15.93 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 7.734e-05/0.2799, allocations: 40 kB / 0.7964 GB, free: 15.89 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000926/0.2809, allocations: 0.5924 MB / 0.797 GB, free: 15.3 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0002409/0.2811, allocations: 271.2 kB / 0.7972 GB, free: 15.04 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0003267/0.2815, allocations: 378 kB / 0.7976 GB, free: 14.67 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.001176/0.2827, allocations: 1.172 MB / 0.7987 GB, free: 13.49 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 7.835e-06/0.2827, allocations: 0 / 0.7987 GB, free: 13.49 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.132e-06/0.2827, allocations: 7.938 kB / 0.7987 GB, free: 13.48 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.873e-05/0.2827, allocations: 0 / 0.7987 GB, free: 13.48 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.001789/0.2845, allocations: 1.06 MB / 0.7998 GB, free: 12.37 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.628e-05/0.2846, allocations: 8.031 kB / 0.7998 GB, free: 12.36 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001478/0.286, allocations: 215.7 kB / 0.8 GB, free: 12.15 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007606/0.2868, allocations: 0.5298 MB / 0.8005 GB, free: 11.59 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.753e-05/0.2869, allocations: 45.67 kB / 0.8005 GB, free: 11.54 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001098/0.287, allocations: 64.36 kB / 0.8006 GB, free: 11.48 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001381/0.2884, allocations: 1.045 MB / 0.8016 GB, free: 10.32 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.916e-05/0.2884, allocations: 3.906 kB / 0.8016 GB, free: 10.32 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.619e-05/0.2885, allocations: 31.98 kB / 0.8016 GB, free: 10.29 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.005e-05/0.2886, allocations: 77.14 kB / 0.8017 GB, free: 10.21 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001/0.2896, allocations: 0.6957 MB / 0.8024 GB, free: 9.52 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004791/0.2944, allocations: 5.741 MB / 0.808 GB, free: 3.352 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007898/0.2952, allocations: 0.5995 MB / 0.8086 GB, free: 2.711 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007071/0.2959, allocations: 421.3 kB / 0.809 GB, free: 2.297 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 3.632e-05/0.296, allocations: 7.781 kB / 0.809 GB, free: 2.289 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.203e-05/0.296, allocations: 42.56 kB / 0.809 GB, free: 2.238 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=41): time 2.044e-06/0.296, allocations: 0 / 0.809 GB, free: 2.238 MB / 0.6231 GB Notification: Performance of matching and sorting (n=42): time 0.00405/0.3, allocations: 2.05 MB / 0.811 GB, free: 96 kB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.748e-05/0.3001, allocations: 59.41 kB / 0.8111 GB, free: 24 kB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004426/0.3006, allocations: 454.7 kB / 0.8115 GB, free: 15.57 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 3.432e-05/0.3006, allocations: 37.7 kB / 0.8116 GB, free: 15.53 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002411/0.3009, allocations: 383.1 kB / 0.8119 GB, free: 15.15 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001052/0.301, allocations: 157.8 kB / 0.8121 GB, free: 14.99 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001567/0.3011, allocations: 110.2 kB / 0.8122 GB, free: 14.88 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001302/0.3013, allocations: 362.8 kB / 0.8125 GB, free: 14.52 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003353/0.3016, allocations: 245.2 kB / 0.8128 GB, free: 14.27 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004628/0.3021, allocations: 453 kB / 0.8132 GB, free: 13.74 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008621/0.303, allocations: 0.7597 MB / 0.8139 GB, free: 12.88 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.554e-06/0.303, allocations: 3.938 kB / 0.814 GB, free: 12.88 MB / 0.6387 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001773/0.3047, allocations: 1.069 MB / 0.815 GB, free: 11.79 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.883e-05/0.3048, allocations: 8 kB / 0.815 GB, free: 11.78 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.02e-05/0.3048, allocations: 8 kB / 0.815 GB, free: 11.77 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001023/0.3058, allocations: 331.8 kB / 0.8153 GB, free: 11.44 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002924/0.3061, allocations: 99.81 kB / 0.8154 GB, free: 11.34 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006639/0.3128, allocations: 6.95 MB / 0.8222 GB, free: 3.852 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004169/0.3132, allocations: 28.03 kB / 0.8222 GB, free: 3.824 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.862e-05/0.3133, allocations: 28 kB / 0.8223 GB, free: 3.797 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.0003248/0.3136, allocations: 249.5 kB / 0.8225 GB, free: 3.543 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.639e-05/0.3137, allocations: 59.25 kB / 0.8226 GB, free: 3.484 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001691/0.3154, allocations: 0.912 MB / 0.8234 GB, free: 2.551 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.859e-06/0.3154, allocations: 4 kB / 0.8235 GB, free: 2.547 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.621e-06/0.3154, allocations: 4 kB / 0.8235 GB, free: 2.543 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.472e-06/0.3154, allocations: 3.984 kB / 0.8235 GB, free: 2.539 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002653/0.3181, allocations: 1.712 MB / 0.8251 GB, free: 0.7383 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.366e-06/0.3181, allocations: 0 / 0.8251 GB, free: 0.7383 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001519/0.3183, allocations: 44 kB / 0.8252 GB, free: 0.6953 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009361/0.3192, allocations: 327.2 kB / 0.8255 GB, free: 372 kB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.015e-05/0.3193, allocations: 12 kB / 0.8255 GB, free: 360 kB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006315/0.3256, allocations: 6.951 MB / 0.8323 GB, free: 8.863 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/0.3256, allocations: 4 kB / 0.8323 GB, free: 8.859 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001611/0.3272, allocations: 1.011 MB / 0.8333 GB, free: 7.801 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000269/0.3275, allocations: 172.4 kB / 0.8334 GB, free: 7.613 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.28e-05/0.3276, allocations: 8 kB / 0.8334 GB, free: 7.605 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002628/0.3278, allocations: 23.97 kB / 0.8335 GB, free: 7.582 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001081/0.328, allocations: 39.94 kB / 0.8335 GB, free: 7.543 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.82e-05/0.328, allocations: 15.94 kB / 0.8335 GB, free: 7.527 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0003233/0.3283, allocations: 302.9 kB / 0.8338 GB, free: 7.234 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3283, allocations: 4 kB / 0.8338 GB, free: 7.23 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0007886/0.3291, allocations: 196 kB / 0.834 GB, free: 7.039 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.0001612/0.3293, allocations: 107.2 kB / 0.8341 GB, free: 6.922 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001747/0.3311, allocations: 1.207 MB / 0.8353 GB, free: 5.664 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 4.358e-06/0.3311, allocations: 0 / 0.8353 GB, free: 5.664 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.001153/0.3322, allocations: 0.8696 MB / 0.8361 GB, free: 4.742 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009529/0.3332, allocations: 185 kB / 0.8363 GB, free: 4.566 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002091/0.3353, allocations: 1.519 MB / 0.8378 GB, free: 3.004 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005438/0.3358, allocations: 0.9921 MB / 0.8388 GB, free: 1.984 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0002713/0.3361, allocations: 97.17 kB / 0.8389 GB, free: 1.891 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.281e-05/0.3362, allocations: 39.44 kB / 0.8389 GB, free: 1.852 MB / 0.6544 GB Notification: Performance of SimCode: time 4.01e-07/0.3362, allocations: 0 / 0.8389 GB, free: 1.852 MB / 0.6544 GB Notification: Performance of Templates: time 0.01589/0.3521, allocations: 9.62 MB / 0.8483 GB, free: 8.328 MB / 0.67 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)