Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R") translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.937/1.937, allocations: 287.5 MB / 302.6 MB, free: 8.133 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00155/0.00155, allocations: 190.5 kB / 371.2 MB, free: 10.77 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.921/1.921, allocations: 205.4 MB / 0.6298 GB, free: 10.57 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000845/0.0008452, allocations: 91.39 kB / 0.7432 GB, free: 6.555 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004332/0.0004334, allocations: 17.05 kB / 0.8661 GB, free: 140.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2198/0.2203, allocations: 115.3 MB / 0.9787 GB, free: 28.19 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R): time 0.005452/0.2258, allocations: 5.955 MB / 0.9845 GB, free: 22.21 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.003927/0.2297, allocations: 2.886 MB / 0.9873 GB, free: 19.31 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006453/0.2304, allocations: 27.81 kB / 0.9874 GB, free: 19.29 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0005008/0.2309, allocations: 138.8 kB / 0.9875 GB, free: 19.15 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.001277/0.2322, allocations: 413.7 kB / 0.9879 GB, free: 18.74 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009003/0.2331, allocations: 313.1 kB / 0.9882 GB, free: 18.44 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.001176/0.2343, allocations: 1.341 MB / 0.9895 GB, free: 17.09 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001263/0.2356, allocations: 0.9898 MB / 0.9905 GB, free: 16.08 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003994/0.236, allocations: 386.4 kB / 0.9908 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004036/0.2364, allocations: 486.2 kB / 0.9913 GB, free: 15.22 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 6.398e-05/0.2365, allocations: 36 kB / 0.9913 GB, free: 15.19 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004082/0.2369, allocations: 191.8 kB / 0.9915 GB, free: 15 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001782/0.2371, allocations: 263.2 kB / 0.9918 GB, free: 14.74 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001111/0.2372, allocations: 181.2 kB / 0.9919 GB, free: 14.56 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0006021/0.2378, allocations: 0.9041 MB / 0.9928 GB, free: 13.65 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.2378, allocations: 0 / 0.9928 GB, free: 13.65 MB / 0.6198 GB Notification: Performance of FrontEnd: time 8.22e-07/0.2378, allocations: 0 / 0.9928 GB, free: 13.65 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 8.966e-06/0.2378, allocations: 0 / 0.9928 GB, free: 13.65 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.001183/0.239, allocations: 1.005 MB / 0.9938 GB, free: 12.6 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 2.247e-05/0.2391, allocations: 12.02 kB / 0.9938 GB, free: 12.59 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001228/0.2403, allocations: 235.5 kB / 0.994 GB, free: 12.36 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005912/0.2409, allocations: 0.5492 MB / 0.9946 GB, free: 11.77 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.028e-05/0.2409, allocations: 53.67 kB / 0.9946 GB, free: 11.71 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.257e-05/0.241, allocations: 60.36 kB / 0.9947 GB, free: 11.65 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001097/0.2421, allocations: 1.077 MB / 0.9957 GB, free: 10.47 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.359e-05/0.2422, allocations: 11.94 kB / 0.9957 GB, free: 10.46 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.773e-05/0.2422, allocations: 27.98 kB / 0.9958 GB, free: 10.43 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001139/0.2424, allocations: 93.19 kB / 0.9959 GB, free: 10.34 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008804/0.2432, allocations: 0.7504 MB / 0.9966 GB, free: 9.59 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003543/0.2468, allocations: 5.909 MB / 1.002 GB, free: 3.254 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007698/0.2476, allocations: 0.546 MB / 1.003 GB, free: 2.695 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003339/0.2479, allocations: 334 kB / 1.003 GB, free: 2.367 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.57e-05/0.248, allocations: 4.438 kB / 1.003 GB, free: 2.363 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.215e-05/0.248, allocations: 39 kB / 1.003 GB, free: 2.316 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=47): time 1.573e-06/0.248, allocations: 0 / 1.003 GB, free: 2.316 MB / 0.6198 GB Notification: Performance of matching and sorting (n=48): time 0.003005/0.251, allocations: 1.994 MB / 1.005 GB, free: 236 kB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.581e-05/0.251, allocations: 59.84 kB / 1.005 GB, free: 164 kB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006354/0.2517, allocations: 0.5508 MB / 1.006 GB, free: 15.6 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.941e-05/0.2517, allocations: 29.7 kB / 1.006 GB, free: 15.57 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003344/0.2521, allocations: 414.9 kB / 1.006 GB, free: 15.15 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001415/0.2522, allocations: 169.6 kB / 1.006 GB, free: 14.98 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.291e-05/0.2523, allocations: 16 kB / 1.006 GB, free: 14.97 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0002113/0.2525, allocations: 374.7 kB / 1.007 GB, free: 14.59 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004259/0.2529, allocations: 269.8 kB / 1.007 GB, free: 14.33 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006479/0.2536, allocations: 0.4892 MB / 1.007 GB, free: 13.75 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001082/0.2547, allocations: 0.8093 MB / 1.008 GB, free: 12.84 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.2547, allocations: 0 / 1.008 GB, free: 12.84 MB / 0.6355 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001789/0.2565, allocations: 1.087 MB / 1.009 GB, free: 11.74 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.816e-05/0.2565, allocations: 8 kB / 1.009 GB, free: 11.73 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.462e-05/0.2565, allocations: 8 kB / 1.009 GB, free: 11.72 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000866/0.2574, allocations: 275.5 kB / 1.01 GB, free: 11.44 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004541/0.2579, allocations: 127.7 kB / 1.01 GB, free: 11.32 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006654/0.2645, allocations: 6.591 MB / 1.016 GB, free: 4.188 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005407/0.2651, allocations: 39.97 kB / 1.016 GB, free: 4.148 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.771e-05/0.2651, allocations: 36.05 kB / 1.016 GB, free: 4.113 MB / 0.6355 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 (67): * Single equations (assignments): 63 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 6,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003953/0.2656, allocations: 249.5 kB / 1.016 GB, free: 3.859 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001037/0.2657, allocations: 71.16 kB / 1.017 GB, free: 3.789 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001576/0.2672, allocations: 0.8885 MB / 1.017 GB, free: 2.879 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.819e-06/0.2673, allocations: 4 kB / 1.017 GB, free: 2.875 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.01e-06/0.2673, allocations: 4 kB / 1.017 GB, free: 2.871 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.001e-05/0.2673, allocations: 3.984 kB / 1.017 GB, free: 2.867 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002549/0.2698, allocations: 1.72 MB / 1.019 GB, free: 1.059 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.382e-06/0.2699, allocations: 7.922 kB / 1.019 GB, free: 1.051 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002505/0.2701, allocations: 64.02 kB / 1.019 GB, free: 0.9883 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007157/0.2708, allocations: 271.4 kB / 1.019 GB, free: 0.7109 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.329e-05/0.2709, allocations: 15.94 kB / 1.019 GB, free: 0.6953 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005991/0.2769, allocations: 6.58 MB / 1.026 GB, free: 9.578 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.2769, allocations: 0 / 1.026 GB, free: 9.578 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001475/0.2784, allocations: 0.9834 MB / 1.027 GB, free: 8.547 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002662/0.2787, allocations: 200.2 kB / 1.027 GB, free: 8.332 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.386e-05/0.2788, allocations: 11.94 kB / 1.027 GB, free: 8.32 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003423/0.2791, allocations: 27.97 kB / 1.027 GB, free: 8.293 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.169e-05/0.2792, allocations: 43.88 kB / 1.027 GB, free: 8.25 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.054e-05/0.2792, allocations: 16 kB / 1.027 GB, free: 8.234 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0004165/0.2797, allocations: 379.1 kB / 1.027 GB, free: 7.867 MB / 0.6511 GB Notification: Performance of sort global known variables: time 2e-07/0.2797, allocations: 0 / 1.027 GB, free: 7.867 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0008004/0.2805, allocations: 220 kB / 1.028 GB, free: 7.652 MB / 0.6511 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 (31): * Single equations (assignments): 27 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001595/0.2806, allocations: 115.8 kB / 1.028 GB, free: 7.531 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001874/0.2825, allocations: 1.268 MB / 1.029 GB, free: 6.215 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 6.292e-06/0.2825, allocations: 4 kB / 1.029 GB, free: 6.211 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.001159/0.2837, allocations: 0.8896 MB / 1.03 GB, free: 5.27 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001032/0.2848, allocations: 200 kB / 1.03 GB, free: 5.078 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002035/0.2868, allocations: 1.585 MB / 1.032 GB, free: 3.449 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005835/0.2874, allocations: 1.009 MB / 1.033 GB, free: 2.406 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0004001/0.2878, allocations: 126.1 kB / 1.033 GB, free: 2.281 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001077/0.2879, allocations: 43.44 kB / 1.033 GB, free: 2.238 MB / 0.6511 GB Notification: Performance of SimCode: time 2.1e-07/0.2879, allocations: 0 / 1.033 GB, free: 2.238 MB / 0.6511 GB Notification: Performance of Templates: time 0.01605/0.304, allocations: 10.26 MB / 1.043 GB, free: 8.094 MB / 0.6667 GB make -j1 -f Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.makefile (rm -f Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.sim & ./Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe 2>&1)