Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Electrical.DC.Lines.Examples.Resistance.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.DC.Lines.Examples.Resistance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.DC.Lines.Examples.Resistance") translateModel(Buildings.Electrical.DC.Lines.Examples.Resistance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.DC.Lines.Examples.Resistance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001178/0.001177, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001169/0.001169, allocations: 195.7 kB / 16.53 MB, free: 6.391 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.641/1.641, allocations: 205.1 MB / 222.4 MB, free: 4.582 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.767/1.767, allocations: 292.3 MB / 0.5488 GB, free: 12.85 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.001573/0.001574, allocations: 70.05 kB / 0.6715 GB, free: 26.38 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2736/0.2752, allocations: 114.5 MB / 0.7834 GB, free: 13.49 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.Resistance): time 0.005521/0.2808, allocations: 3.061 MB / 0.7864 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002182/0.283, allocations: 1.333 MB / 0.7877 GB, free: 9.066 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001505/0.2832, allocations: 7.938 kB / 0.7877 GB, free: 9.059 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001009/0.2843, allocations: 334.7 kB / 0.788 GB, free: 8.73 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0003498/0.2846, allocations: 139.3 kB / 0.7881 GB, free: 8.594 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003853/0.285, allocations: 147.6 kB / 0.7883 GB, free: 8.449 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003534/0.2854, allocations: 295.1 kB / 0.7885 GB, free: 8.16 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004607/0.2858, allocations: 232.6 kB / 0.7888 GB, free: 7.934 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001533/0.286, allocations: 127.5 kB / 0.7889 GB, free: 7.809 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000295/0.2863, allocations: 135.5 kB / 0.789 GB, free: 7.676 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.683e-05/0.2864, allocations: 20 kB / 0.789 GB, free: 7.656 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003009/0.2867, allocations: 167.6 kB / 0.7892 GB, free: 7.492 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001042/0.2868, allocations: 83.8 kB / 0.7893 GB, free: 7.41 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001357/0.2869, allocations: 107.5 kB / 0.7894 GB, free: 7.305 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0004489/0.2874, allocations: 338.9 kB / 0.7897 GB, free: 6.973 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.2874, allocations: 0 / 0.7897 GB, free: 6.973 MB / 0.6075 GB Notification: Performance of FrontEnd: time 3.136e-06/0.2874, allocations: 0 / 0.7897 GB, free: 6.973 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.785e-06/0.2874, allocations: 0 / 0.7897 GB, free: 6.973 MB / 0.6075 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.0009355/0.2884, allocations: 0.5185 MB / 0.7902 GB, free: 6.402 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.358e-05/0.2884, allocations: 8.031 kB / 0.7902 GB, free: 6.395 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006209/0.2891, allocations: 80.58 kB / 0.7903 GB, free: 6.316 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003175/0.2894, allocations: 236 kB / 0.7905 GB, free: 6.047 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.346e-05/0.2894, allocations: 16.73 kB / 0.7905 GB, free: 6.031 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.581e-05/0.2895, allocations: 20.38 kB / 0.7905 GB, free: 6.012 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004503/0.2899, allocations: 311 kB / 0.7908 GB, free: 5.684 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.195e-05/0.2899, allocations: 0 / 0.7908 GB, free: 5.684 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.633e-05/0.29, allocations: 8 kB / 0.7908 GB, free: 5.676 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.036e-05/0.29, allocations: 20.36 kB / 0.7909 GB, free: 5.656 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002889/0.2903, allocations: 200.8 kB / 0.7911 GB, free: 5.461 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00144/0.2917, allocations: 1.46 MB / 0.7925 GB, free: 3.84 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002558/0.292, allocations: 171.7 kB / 0.7927 GB, free: 3.645 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.693e-05/0.2921, allocations: 32.84 kB / 0.7927 GB, free: 3.609 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 8.726e-06/0.2921, allocations: 0 / 0.7927 GB, free: 3.609 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.357e-05/0.2921, allocations: 42.61 kB / 0.7927 GB, free: 3.559 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 2.194e-06/0.2921, allocations: 3.984 kB / 0.7927 GB, free: 3.555 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0004733/0.2926, allocations: 219.4 kB / 0.7929 GB, free: 3.312 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.961e-05/0.2927, allocations: 55.41 kB / 0.793 GB, free: 3.246 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001989/0.2929, allocations: 204.1 kB / 0.7932 GB, free: 3.039 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.634e-05/0.2929, allocations: 25.7 kB / 0.7932 GB, free: 3.008 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001027/0.293, allocations: 171.7 kB / 0.7934 GB, free: 2.836 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.092e-05/0.293, allocations: 23.66 kB / 0.7934 GB, free: 2.812 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.176e-05/0.2931, allocations: 37.7 kB / 0.7934 GB, free: 2.77 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001237/0.2932, allocations: 326.8 kB / 0.7937 GB, free: 2.441 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.085e-05/0.2933, allocations: 35.98 kB / 0.7938 GB, free: 2.406 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001031/0.2934, allocations: 108.4 kB / 0.7939 GB, free: 2.27 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001632/0.2936, allocations: 144.4 kB / 0.794 GB, free: 2.098 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.047e-06/0.2936, allocations: 4 kB / 0.794 GB, free: 2.094 MB / 0.6075 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002912/0.2939, allocations: 190.3 kB / 0.7942 GB, free: 1.898 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.747e-05/0.2939, allocations: 4 kB / 0.7942 GB, free: 1.895 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.597e-06/0.2939, allocations: 8.062 kB / 0.7942 GB, free: 1.887 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001735/0.2941, allocations: 24.84 kB / 0.7942 GB, free: 1.859 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001162/0.2942, allocations: 31.92 kB / 0.7943 GB, free: 1.828 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001099/0.2953, allocations: 1.415 MB / 0.7956 GB, free: 272 kB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001203/0.2955, allocations: 20 kB / 0.7957 GB, free: 252 kB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.229e-05/0.2955, allocations: 8 kB / 0.7957 GB, free: 244 kB / 0.6075 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001318/0.2956, allocations: 145.7 kB / 0.7958 GB, free: 88 kB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.81e-05/0.2957, allocations: 15.81 kB / 0.7958 GB, free: 72 kB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.769e-05/0.2957, allocations: 21.39 kB / 0.7959 GB, free: 56 kB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.402e-06/0.2957, allocations: 0 / 0.7959 GB, free: 56 kB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.054e-06/0.2957, allocations: 0 / 0.7959 GB, free: 56 kB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.2957, allocations: 0 / 0.7959 GB, free: 56 kB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004959/0.2962, allocations: 463 kB / 0.7963 GB, free: 15.54 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.2962, allocations: 0 / 0.7963 GB, free: 15.54 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.401e-05/0.2963, allocations: 4 kB / 0.7963 GB, free: 15.54 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.34e-05/0.2964, allocations: 24.84 kB / 0.7963 GB, free: 15.51 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.496e-06/0.2964, allocations: 0 / 0.7963 GB, free: 15.51 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009204/0.2973, allocations: 1.418 MB / 0.7977 GB, free: 13.96 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/0.2973, allocations: 4 kB / 0.7977 GB, free: 13.95 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002149/0.2975, allocations: 212.1 kB / 0.7979 GB, free: 13.73 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 6.815e-05/0.2976, allocations: 96.91 kB / 0.798 GB, free: 13.61 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.926e-05/0.2977, allocations: 4 kB / 0.798 GB, free: 13.61 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001008/0.2978, allocations: 0 / 0.798 GB, free: 13.61 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.399e-05/0.2978, allocations: 11.98 kB / 0.798 GB, free: 13.6 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.833e-06/0.2978, allocations: 8 kB / 0.798 GB, free: 13.59 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0001203/0.2979, allocations: 147 kB / 0.7982 GB, free: 13.45 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2979, allocations: 0 / 0.7982 GB, free: 13.45 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0003261/0.2983, allocations: 51.84 kB / 0.7982 GB, free: 13.39 MB / 0.6231 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001216/0.2984, allocations: 99.25 kB / 0.7983 GB, free: 13.29 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0003578/0.2988, allocations: 218.7 kB / 0.7985 GB, free: 13.06 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.2988, allocations: 0 / 0.7985 GB, free: 13.06 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0001539/0.2989, allocations: 146.7 kB / 0.7987 GB, free: 12.9 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003655/0.2993, allocations: 42.31 kB / 0.7987 GB, free: 12.87 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006203/0.2999, allocations: 367 kB / 0.799 GB, free: 12.48 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002964/0.3002, allocations: 0.7474 MB / 0.7998 GB, free: 11.71 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 9.046e-05/0.3003, allocations: 21.55 kB / 0.7998 GB, free: 11.69 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.619e-05/0.3004, allocations: 15.44 kB / 0.7998 GB, free: 11.68 MB / 0.6231 GB Notification: Performance of SimCode: time 3.1e-07/0.3004, allocations: 0 / 0.7998 GB, free: 11.68 MB / 0.6231 GB Notification: Performance of Templates: time 0.004553/0.3049, allocations: 1.745 MB / 0.8015 GB, free: 9.949 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Electrical.DC.Lines.Examples.Resistance.makefile (rm -f Buildings_8_Buildings.Electrical.DC.Lines.Examples.Resistance.pipe ; mkfifo Buildings_8_Buildings.Electrical.DC.Lines.Examples.Resistance.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.DC.Lines.Examples.Resistance.pipe >> ../files/Buildings_8_Buildings.Electrical.DC.Lines.Examples.Resistance.sim & ./Buildings_8_Buildings.Electrical.DC.Lines.Examples.Resistance -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.DC.Lines.Examples.Resistance.pipe 2>&1)