Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.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_7.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.323/2.323, allocations: 251.3 MB / 266.2 MB, free: 11.53 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001405/0.001404, allocations: 181.3 kB / 325.8 MB, free: 2.793 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.017/3.017, allocations: 205.4 MB / 0.5767 GB, free: 20.78 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009569/0.0009566, allocations: 89.61 kB / 0.6812 GB, free: 13.57 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004726/0.0004728, allocations: 11.44 kB / 0.7953 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2227/0.2232, allocations: 106.3 MB / 0.899 GB, free: 65.43 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R): time 0.008575/0.2318, allocations: 5.958 MB / 0.9049 GB, free: 59.45 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.006052/0.2379, allocations: 2.901 MB / 0.9077 GB, free: 56.53 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008268/0.2388, allocations: 19.88 kB / 0.9077 GB, free: 56.51 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0005964/0.2394, allocations: 134.8 kB / 0.9078 GB, free: 56.38 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.001675/0.2411, allocations: 421.7 kB / 0.9082 GB, free: 55.96 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.00148/0.2427, allocations: 317.6 kB / 0.9086 GB, free: 55.66 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.002086/0.2448, allocations: 1.337 MB / 0.9099 GB, free: 54.32 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002547/0.2474, allocations: 0.9522 MB / 0.9108 GB, free: 53.34 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001014/0.2484, allocations: 398.4 kB / 0.9112 GB, free: 52.95 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009391/0.2494, allocations: 482.2 kB / 0.9116 GB, free: 52.48 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.0001486/0.2496, allocations: 36 kB / 0.9117 GB, free: 52.44 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007208/0.2503, allocations: 199.7 kB / 0.9119 GB, free: 52.25 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0003186/0.2507, allocations: 259.2 kB / 0.9121 GB, free: 51.99 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0002535/0.2509, allocations: 181.3 kB / 0.9123 GB, free: 51.81 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.001248/0.2522, allocations: 0.8924 MB / 0.9131 GB, free: 50.91 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 7.244e-06/0.2522, allocations: 0 / 0.9131 GB, free: 50.91 MB / 0.6042 GB Notification: Performance of FrontEnd: time 3.456e-06/0.2522, allocations: 4 kB / 0.9131 GB, free: 50.91 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.8e-05/0.2523, allocations: 0 / 0.9131 GB, free: 50.91 MB / 0.6042 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.002444/0.2547, allocations: 1.017 MB / 0.9141 GB, free: 49.84 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.385e-05/0.2548, allocations: 8.031 kB / 0.9141 GB, free: 49.83 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002453/0.2572, allocations: 235.6 kB / 0.9144 GB, free: 49.6 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001381/0.2587, allocations: 0.5377 MB / 0.9149 GB, free: 49.02 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.205e-05/0.2588, allocations: 53.67 kB / 0.9149 GB, free: 48.97 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001478/0.2589, allocations: 60.36 kB / 0.915 GB, free: 48.91 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002164/0.2611, allocations: 1.077 MB / 0.9161 GB, free: 47.73 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.932e-05/0.2612, allocations: 3.938 kB / 0.9161 GB, free: 47.73 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001143/0.2613, allocations: 35.98 kB / 0.9161 GB, free: 47.69 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002418/0.2616, allocations: 85.25 kB / 0.9162 GB, free: 47.61 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001897/0.2635, allocations: 0.7465 MB / 0.9169 GB, free: 46.86 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007341/0.2709, allocations: 5.893 MB / 0.9227 GB, free: 40.54 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001593/0.2726, allocations: 0.56 MB / 0.9232 GB, free: 39.97 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006898/0.2733, allocations: 329.9 kB / 0.9235 GB, free: 39.65 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 5.975e-05/0.2734, allocations: 4.438 kB / 0.9235 GB, free: 39.64 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.114e-05/0.2734, allocations: 39 kB / 0.9236 GB, free: 39.6 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=47): time 3.998e-06/0.2734, allocations: 4 kB / 0.9236 GB, free: 39.59 MB / 0.6042 GB Notification: Performance of matching and sorting (n=48): time 0.006141/0.2796, allocations: 1.99 MB / 0.9255 GB, free: 37.51 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.459e-05/0.2797, allocations: 55.84 kB / 0.9256 GB, free: 37.44 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008312/0.2805, allocations: 0.5547 MB / 0.9261 GB, free: 36.88 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.0001056/0.2807, allocations: 33.7 kB / 0.9261 GB, free: 36.84 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002694/0.2809, allocations: 414.9 kB / 0.9265 GB, free: 36.42 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001671/0.2811, allocations: 173.5 kB / 0.9267 GB, free: 36.25 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.209e-05/0.2812, allocations: 16 kB / 0.9267 GB, free: 36.23 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001079/0.2813, allocations: 374.7 kB / 0.9271 GB, free: 35.86 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006295/0.2819, allocations: 269.8 kB / 0.9273 GB, free: 35.59 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007235/0.2827, allocations: 0.4892 MB / 0.9278 GB, free: 35.01 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007966/0.2835, allocations: 342 kB / 0.9281 GB, free: 34.67 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.883e-06/0.2835, allocations: 4 kB / 0.9281 GB, free: 34.67 MB / 0.6042 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002767/0.2863, allocations: 1.075 MB / 0.9292 GB, free: 33.57 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 3.179e-05/0.2864, allocations: 9.25 kB / 0.9292 GB, free: 33.57 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.668e-05/0.2864, allocations: 8 kB / 0.9292 GB, free: 33.56 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0014/0.2878, allocations: 283.5 kB / 0.9295 GB, free: 33.27 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009455/0.2888, allocations: 123.8 kB / 0.9296 GB, free: 33.15 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007721/0.2965, allocations: 6.595 MB / 0.936 GB, free: 26.02 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001027/0.2976, allocations: 36.03 kB / 0.9361 GB, free: 25.98 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.218e-05/0.2977, allocations: 32 kB / 0.9361 GB, free: 25.95 MB / 0.6042 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.0004726/0.2982, allocations: 253.7 kB / 0.9363 GB, free: 25.69 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001787/0.2984, allocations: 71.16 kB / 0.9364 GB, free: 25.62 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002376/0.3008, allocations: 0.8846 MB / 0.9373 GB, free: 24.72 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.287e-05/0.3009, allocations: 8 kB / 0.9373 GB, free: 24.71 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.167e-06/0.3009, allocations: 4 kB / 0.9373 GB, free: 24.71 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.093e-05/0.3009, allocations: 7.922 kB / 0.9373 GB, free: 24.7 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004029/0.3049, allocations: 1.709 MB / 0.939 GB, free: 22.9 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.044e-05/0.305, allocations: 7.875 kB / 0.939 GB, free: 22.89 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005358/0.3056, allocations: 64.08 kB / 0.939 GB, free: 22.83 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001302/0.3069, allocations: 279.2 kB / 0.9393 GB, free: 22.55 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.779e-05/0.307, allocations: 16 kB / 0.9393 GB, free: 22.53 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007833/0.3149, allocations: 6.575 MB / 0.9457 GB, free: 15.42 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.229e-06/0.3149, allocations: 4.031 kB / 0.9457 GB, free: 15.42 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002425/0.3174, allocations: 0.9834 MB / 0.9467 GB, free: 14.39 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004818/0.3179, allocations: 204.1 kB / 0.9469 GB, free: 14.17 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001379/0.3181, allocations: 11.94 kB / 0.9469 GB, free: 14.16 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006581/0.3187, allocations: 27.97 kB / 0.9469 GB, free: 14.13 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001572/0.3189, allocations: 39.94 kB / 0.947 GB, free: 14.09 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.746e-05/0.319, allocations: 16 kB / 0.947 GB, free: 14.07 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0006233/0.3196, allocations: 383 kB / 0.9473 GB, free: 13.7 MB / 0.6042 GB Notification: Performance of sort global known variables: time 4.81e-07/0.3196, allocations: 0 / 0.9473 GB, free: 13.7 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001216/0.3208, allocations: 224 kB / 0.9476 GB, free: 13.48 MB / 0.6042 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.0001997/0.3211, allocations: 111.2 kB / 0.9477 GB, free: 13.36 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.00294/0.324, allocations: 1.26 MB / 0.9489 GB, free: 12.06 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.067e-05/0.3241, allocations: 0 / 0.9489 GB, free: 12.06 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.002747/0.3268, allocations: 0.9013 MB / 0.9498 GB, free: 11.11 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001894/0.3288, allocations: 213 kB / 0.95 GB, free: 10.9 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003154/0.332, allocations: 1.573 MB / 0.9515 GB, free: 9.281 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005647/0.3326, allocations: 1.009 MB / 0.9525 GB, free: 8.242 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.00074/0.3334, allocations: 118 kB / 0.9526 GB, free: 8.125 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000182/0.3336, allocations: 43.44 kB / 0.9527 GB, free: 8.082 MB / 0.6042 GB Notification: Performance of SimCode: time 1.022e-06/0.3336, allocations: 0 / 0.9527 GB, free: 8.082 MB / 0.6042 GB Notification: Performance of Templates: time 0.02793/0.3615, allocations: 10.28 MB / 0.9627 GB, free: 13.92 MB / 0.6198 GB make -j1 -f Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.makefile (rm -f Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.sim & ./Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe 2>&1)