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 2.776/2.776, allocations: 287.5 MB / 302.4 MB, free: 8.215 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.001439/0.001438, allocations: 184.5 kB / 371 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.238/2.238, allocations: 205.4 MB / 0.6297 GB, free: 10.61 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.000985/0.0009847, allocations: 92.3 kB / 0.743 GB, free: 6.609 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005042/0.0005045, allocations: 14.78 kB / 0.8658 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2376/0.2381, allocations: 115.3 MB / 0.9784 GB, free: 28.36 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R): time 0.00841/0.2466, allocations: 5.947 MB / 0.9842 GB, free: 22.39 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.006171/0.2528, allocations: 2.894 MB / 0.987 GB, free: 19.48 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007445/0.2537, allocations: 23.81 kB / 0.987 GB, free: 19.46 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0005051/0.2542, allocations: 134.8 kB / 0.9872 GB, free: 19.32 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.00142/0.2556, allocations: 417.7 kB / 0.9876 GB, free: 18.91 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001266/0.2569, allocations: 317.2 kB / 0.9879 GB, free: 18.61 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.001652/0.2586, allocations: 1.318 MB / 0.9891 GB, free: 17.28 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00217/0.2608, allocations: 0.9294 MB / 0.9901 GB, free: 16.33 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007478/0.2615, allocations: 386.4 kB / 0.9904 GB, free: 15.95 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007439/0.2623, allocations: 490.1 kB / 0.9909 GB, free: 15.47 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0001237/0.2624, allocations: 36 kB / 0.9909 GB, free: 15.43 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007572/0.2632, allocations: 187.8 kB / 0.9911 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0003098/0.2635, allocations: 275.2 kB / 0.9914 GB, free: 14.98 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0002049/0.2637, allocations: 173.3 kB / 0.9915 GB, free: 14.8 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.001093/0.2648, allocations: 0.9002 MB / 0.9924 GB, free: 13.9 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.763e-06/0.2649, allocations: 4 kB / 0.9924 GB, free: 13.9 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.705e-06/0.2649, allocations: 0 / 0.9924 GB, free: 13.9 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.008e-05/0.2649, allocations: 0 / 0.9924 GB, free: 13.9 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.002244/0.2671, allocations: 1.009 MB / 0.9934 GB, free: 12.84 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.44e-05/0.2672, allocations: 12.03 kB / 0.9934 GB, free: 12.83 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002218/0.2694, allocations: 242.6 kB / 0.9936 GB, free: 12.59 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001104/0.2706, allocations: 0.5288 MB / 0.9942 GB, free: 12.02 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.883e-05/0.2706, allocations: 45.3 kB / 0.9942 GB, free: 11.97 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001461/0.2708, allocations: 67.89 kB / 0.9943 GB, free: 11.91 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002016/0.2728, allocations: 1.081 MB / 0.9953 GB, free: 10.72 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.887e-05/0.2729, allocations: 11.92 kB / 0.9953 GB, free: 10.71 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001122/0.273, allocations: 39.98 kB / 0.9954 GB, free: 10.67 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002346/0.2732, allocations: 81.27 kB / 0.9954 GB, free: 10.59 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00168/0.2749, allocations: 0.7503 MB / 0.9962 GB, free: 9.84 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006915/0.2819, allocations: 5.89 MB / 1.002 GB, free: 3.523 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001499/0.2834, allocations: 0.5687 MB / 1.002 GB, free: 2.941 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006362/0.2841, allocations: 322 kB / 1.003 GB, free: 2.625 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 5.778e-05/0.2842, allocations: 4.438 kB / 1.003 GB, free: 2.621 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.186e-05/0.2842, allocations: 43 kB / 1.003 GB, free: 2.57 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=47): time 3.877e-06/0.2842, allocations: 3.938 kB / 1.003 GB, free: 2.566 MB / 0.6198 GB Notification: Performance of matching and sorting (n=48): time 0.005816/0.29, allocations: 1.979 MB / 1.005 GB, free: 0.4961 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.683e-05/0.2901, allocations: 59.83 kB / 1.005 GB, free: 436 kB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009034/0.291, allocations: 0.5508 MB / 1.005 GB, free: 15.87 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 7.624e-05/0.2911, allocations: 33.7 kB / 1.005 GB, free: 15.83 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.000411/0.2916, allocations: 422.9 kB / 1.006 GB, free: 15.41 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002233/0.2918, allocations: 169.5 kB / 1.006 GB, free: 15.24 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.773e-05/0.2919, allocations: 16 kB / 1.006 GB, free: 15.22 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0002265/0.2921, allocations: 374.8 kB / 1.006 GB, free: 14.85 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007343/0.2928, allocations: 269.8 kB / 1.007 GB, free: 14.59 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009485/0.2938, allocations: 493 kB / 1.007 GB, free: 14.01 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009041/0.2947, allocations: 346 kB / 1.007 GB, free: 13.68 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.816e-06/0.2948, allocations: 4 kB / 1.007 GB, free: 13.67 MB / 0.6355 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.003277/0.298, allocations: 1.075 MB / 1.008 GB, free: 12.57 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 3.33e-05/0.2981, allocations: 8 kB / 1.008 GB, free: 12.57 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.843e-05/0.2981, allocations: 8 kB / 1.008 GB, free: 12.56 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001516/0.2997, allocations: 275.8 kB / 1.009 GB, free: 12.28 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001018/0.3007, allocations: 131.7 kB / 1.009 GB, free: 12.15 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01021/0.311, allocations: 6.599 MB / 1.015 GB, free: 5.012 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001066/0.3121, allocations: 31.97 kB / 1.015 GB, free: 4.98 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.463e-05/0.3122, allocations: 32 kB / 1.015 GB, free: 4.949 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.0005755/0.3128, allocations: 249.6 kB / 1.016 GB, free: 4.695 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001741/0.313, allocations: 71.25 kB / 1.016 GB, free: 4.625 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002739/0.3157, allocations: 0.8885 MB / 1.017 GB, free: 3.715 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.337e-05/0.3158, allocations: 4 kB / 1.017 GB, free: 3.711 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.939e-06/0.3158, allocations: 4 kB / 1.017 GB, free: 3.707 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.234e-06/0.3158, allocations: 0 / 1.017 GB, free: 3.707 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004597/0.3204, allocations: 1.721 MB / 1.018 GB, free: 1.898 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.178e-05/0.3205, allocations: 12.17 kB / 1.018 GB, free: 1.887 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005459/0.321, allocations: 63.89 kB / 1.018 GB, free: 1.824 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001388/0.3224, allocations: 267.4 kB / 1.019 GB, free: 1.551 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.918e-05/0.3225, allocations: 8 kB / 1.019 GB, free: 1.543 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01008/0.3326, allocations: 6.587 MB / 1.025 GB, free: 10.42 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.023e-06/0.3327, allocations: 4.031 kB / 1.025 GB, free: 10.41 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002803/0.3355, allocations: 0.9835 MB / 1.026 GB, free: 9.383 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000468/0.336, allocations: 188.2 kB / 1.026 GB, free: 9.18 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001339/0.3361, allocations: 12 kB / 1.026 GB, free: 9.168 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006458/0.3368, allocations: 27.92 kB / 1.026 GB, free: 9.141 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001685/0.337, allocations: 47.88 kB / 1.026 GB, free: 9.094 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.752e-05/0.337, allocations: 16 kB / 1.026 GB, free: 9.078 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0007254/0.3378, allocations: 379.1 kB / 1.027 GB, free: 8.711 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4e-07/0.3378, allocations: 0 / 1.027 GB, free: 8.711 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001236/0.339, allocations: 224 kB / 1.027 GB, free: 8.492 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.0002172/0.3393, allocations: 111.2 kB / 1.027 GB, free: 8.375 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.003362/0.3427, allocations: 1.275 MB / 1.028 GB, free: 7.051 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 6.422e-06/0.3427, allocations: 0 / 1.028 GB, free: 7.051 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.002167/0.3449, allocations: 0.8858 MB / 1.029 GB, free: 6.113 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001852/0.3468, allocations: 196.3 kB / 1.029 GB, free: 5.926 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003747/0.3505, allocations: 1.6 MB / 1.031 GB, free: 4.285 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000957/0.3516, allocations: 1.009 MB / 1.032 GB, free: 3.246 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0008085/0.3524, allocations: 118 kB / 1.032 GB, free: 3.129 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001863/0.3526, allocations: 43.44 kB / 1.032 GB, free: 3.086 MB / 0.6511 GB Notification: Performance of SimCode: time 1.573e-06/0.3526, allocations: 0 / 1.032 GB, free: 3.086 MB / 0.6511 GB Notification: Performance of Templates: time 0.03184/0.3845, allocations: 10.27 MB / 1.042 GB, free: 8.934 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)