Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.Resistance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Electrical.DC.Lines.Examples.Resistance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.Resistance") translateModel(Buildings.Electrical.DC.Lines.Examples.Resistance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.Resistance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.826/1.826, allocations: 288.3 MB / 303.2 MB, free: 8.207 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.001055/0.001055, allocations: 173.1 kB / 371.8 MB, free: 10.28 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.696/1.696, allocations: 205.4 MB / 0.6306 GB, free: 9.898 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.0008239/0.0008237, allocations: 102.8 kB / 0.7439 GB, free: 5.812 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000404/0.000404, allocations: 11.88 kB / 0.8668 GB, free: 142.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2639/0.2643, allocations: 115.3 MB / 0.9794 GB, free: 27.68 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.Resistance): time 0.004205/0.2686, allocations: 2.587 MB / 0.9819 GB, free: 25.08 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002322/0.271, allocations: 1.221 MB / 0.9831 GB, free: 23.85 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001328/0.2711, allocations: 8 kB / 0.9831 GB, free: 23.84 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.00019/0.2714, allocations: 39.75 kB / 0.9832 GB, free: 23.8 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0003968/0.2718, allocations: 99.62 kB / 0.9833 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003688/0.2721, allocations: 103.7 kB / 0.9834 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002949/0.2725, allocations: 167.6 kB / 0.9835 GB, free: 23.44 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003508/0.2728, allocations: 211.9 kB / 0.9837 GB, free: 23.21 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001316/0.273, allocations: 87.69 kB / 0.9838 GB, free: 23.13 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002775/0.2733, allocations: 91.66 kB / 0.9839 GB, free: 23.04 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.045e-05/0.2733, allocations: 8 kB / 0.9839 GB, free: 23.03 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002121/0.2735, allocations: 83.83 kB / 0.984 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 7.402e-05/0.2736, allocations: 59.81 kB / 0.9841 GB, free: 22.89 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.967e-05/0.2737, allocations: 65.58 kB / 0.9841 GB, free: 22.82 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003301/0.274, allocations: 251.6 kB / 0.9844 GB, free: 22.57 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.805e-06/0.274, allocations: 0 / 0.9844 GB, free: 22.57 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.914e-06/0.274, allocations: 0 / 0.9844 GB, free: 22.57 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.152e-05/0.2741, allocations: 4 kB / 0.9844 GB, free: 22.57 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: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0008687/0.2749, allocations: 486.9 kB / 0.9848 GB, free: 22.04 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.714e-05/0.275, allocations: 12.02 kB / 0.9848 GB, free: 22.03 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009446/0.276, allocations: 91.69 kB / 0.9849 GB, free: 21.94 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003276/0.2763, allocations: 239.3 kB / 0.9852 GB, free: 21.67 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.277e-05/0.2763, allocations: 16.38 kB / 0.9852 GB, free: 21.65 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.279e-05/0.2764, allocations: 16 kB / 0.9852 GB, free: 21.64 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005523/0.277, allocations: 294.9 kB / 0.9855 GB, free: 21.32 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.663e-05/0.277, allocations: 0 / 0.9855 GB, free: 21.32 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.852e-05/0.2771, allocations: 15.98 kB / 0.9855 GB, free: 21.3 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.544e-05/0.2771, allocations: 16.36 kB / 0.9855 GB, free: 21.29 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004262/0.2776, allocations: 192.9 kB / 0.9857 GB, free: 21.1 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001621/0.2792, allocations: 1.468 MB / 0.9871 GB, free: 19.47 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003064/0.2795, allocations: 175.7 kB / 0.9873 GB, free: 19.27 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 9.889e-06/0.2795, allocations: 4 kB / 0.9873 GB, free: 19.27 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.009e-05/0.2796, allocations: 30.56 kB / 0.9873 GB, free: 19.23 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 1.754e-06/0.2796, allocations: 0 / 0.9873 GB, free: 19.23 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0005855/0.2802, allocations: 231.5 kB / 0.9875 GB, free: 18.98 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.561e-05/0.2802, allocations: 63.33 kB / 0.9876 GB, free: 18.9 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002436/0.2805, allocations: 186.5 kB / 0.9878 GB, free: 18.71 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.3e-05/0.2805, allocations: 25.7 kB / 0.9878 GB, free: 18.68 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 9.178e-05/0.2806, allocations: 171.5 kB / 0.988 GB, free: 18.51 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.164e-05/0.2806, allocations: 19.72 kB / 0.988 GB, free: 18.49 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.536e-06/0.2807, allocations: 0 / 0.988 GB, free: 18.49 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.362e-05/0.2807, allocations: 330.8 kB / 0.9883 GB, free: 18.16 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.505e-05/0.2808, allocations: 35.97 kB / 0.9883 GB, free: 18.12 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001202/0.281, allocations: 98.59 kB / 0.9884 GB, free: 18 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001179/0.2811, allocations: 47.94 kB / 0.9885 GB, free: 17.95 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/0.2811, allocations: 0 / 0.9885 GB, free: 17.95 MB / 0.6198 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0004063/0.2815, allocations: 198.1 kB / 0.9887 GB, free: 17.75 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.926e-05/0.2816, allocations: 11.95 kB / 0.9887 GB, free: 17.73 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/0.2816, allocations: 0 / 0.9887 GB, free: 17.73 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002038/0.2818, allocations: 28.91 kB / 0.9887 GB, free: 17.7 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001638/0.282, allocations: 31.94 kB / 0.9887 GB, free: 17.67 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001022/0.283, allocations: 1.331 MB / 0.99 GB, free: 16.21 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001775/0.2832, allocations: 11.84 kB / 0.99 GB, free: 16.2 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.881e-05/0.2832, allocations: 8 kB / 0.99 GB, free: 16.19 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (17): * Single equations (assignments): 16 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001436/0.2834, allocations: 157.9 kB / 0.9902 GB, free: 16.03 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.698e-05/0.2834, allocations: 15.77 kB / 0.9902 GB, free: 16.01 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.751e-05/0.2835, allocations: 17.41 kB / 0.9902 GB, free: 16 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.2835, allocations: 4 kB / 0.9902 GB, free: 16 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/0.2835, allocations: 3.984 kB / 0.9902 GB, free: 15.99 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/0.2835, allocations: 0 / 0.9902 GB, free: 15.99 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006115/0.2842, allocations: 439.2 kB / 0.9907 GB, free: 15.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.305e-06/0.2842, allocations: 4 kB / 0.9907 GB, free: 15.5 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.835e-05/0.2842, allocations: 15.92 kB / 0.9907 GB, free: 15.48 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001026/0.2844, allocations: 24.84 kB / 0.9907 GB, free: 15.46 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.123e-05/0.2844, allocations: 0 / 0.9907 GB, free: 15.46 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009091/0.2853, allocations: 1.315 MB / 0.992 GB, free: 14 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.2853, allocations: 0 / 0.992 GB, free: 14 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002465/0.2856, allocations: 208.2 kB / 0.9922 GB, free: 13.78 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 7.185e-05/0.2857, allocations: 97.19 kB / 0.9923 GB, free: 13.67 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.758e-05/0.2857, allocations: 4 kB / 0.9923 GB, free: 13.66 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001746/0.2859, allocations: 8 kB / 0.9923 GB, free: 13.66 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.266e-05/0.2859, allocations: 11.92 kB / 0.9923 GB, free: 13.64 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.336e-06/0.286, allocations: 0 / 0.9923 GB, free: 13.64 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001424/0.2861, allocations: 152.1 kB / 0.9924 GB, free: 13.5 MB / 0.6198 GB Notification: Performance of sort global known variables: time 2.91e-07/0.2861, allocations: 0 / 0.9924 GB, free: 13.5 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0005485/0.2867, allocations: 55.75 kB / 0.9925 GB, free: 13.44 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 5 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001138/0.2868, allocations: 104.1 kB / 0.9926 GB, free: 13.33 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.000406/0.2872, allocations: 210.5 kB / 0.9928 GB, free: 13.11 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.2873, allocations: 0 / 0.9928 GB, free: 13.11 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001687/0.2874, allocations: 142.7 kB / 0.9929 GB, free: 12.96 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004097/0.2879, allocations: 38.27 kB / 0.993 GB, free: 12.93 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007258/0.2886, allocations: 427.3 kB / 0.9934 GB, free: 12.48 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002203/0.2888, allocations: 0.7595 MB / 0.9941 GB, free: 11.7 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001524/0.289, allocations: 33.5 kB / 0.9941 GB, free: 11.66 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.261e-05/0.2891, allocations: 15.44 kB / 0.9942 GB, free: 11.65 MB / 0.6198 GB Notification: Performance of SimCode: time 3.4e-07/0.2891, allocations: 0 / 0.9942 GB, free: 11.65 MB / 0.6198 GB Notification: Performance of Templates: time 0.005681/0.2948, allocations: 1.607 MB / 0.9957 GB, free: 10.07 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.Resistance.makefile (rm -f Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.Resistance.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.Resistance.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.Resistance.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.Resistance.sim & ./Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.Resistance -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.Resistance.pipe 2>&1)