Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_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 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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_maint.7.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.7.0.x_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.01325/0.01325, allocations: 104.4 kB / 15.74 MB, free: 6.441 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001866/0.001866, allocations: 190.2 kB / 16.67 MB, free: 6.355 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.762/1.762, allocations: 205.1 MB / 222.5 MB, free: 4.484 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.575/1.575, allocations: 251.7 MB / 0.5094 GB, free: 3.035 MB / 414.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.001485/0.001485, allocations: 73.75 kB / 0.7258 GB, free: 9.07 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2717/0.2731, allocations: 104.7 MB / 0.828 GB, free: 264 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.Resistance): time 0.004847/0.278, allocations: 3.067 MB / 0.831 GB, free: 13.18 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.002637/0.2807, allocations: 1.341 MB / 0.8323 GB, free: 11.82 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000157/0.2809, allocations: 4 kB / 0.8323 GB, free: 11.82 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.001056/0.2819, allocations: 330.7 kB / 0.8326 GB, free: 11.5 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0004012/0.2824, allocations: 151.3 kB / 0.8328 GB, free: 11.35 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003998/0.2828, allocations: 135.6 kB / 0.8329 GB, free: 11.21 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.000397/0.2832, allocations: 314.7 kB / 0.8332 GB, free: 10.91 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005067/0.2837, allocations: 232.2 kB / 0.8334 GB, free: 10.68 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002038/0.284, allocations: 119.6 kB / 0.8336 GB, free: 10.56 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004255/0.2844, allocations: 135.5 kB / 0.8337 GB, free: 10.43 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 5.426e-05/0.2845, allocations: 23.94 kB / 0.8337 GB, free: 10.41 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003488/0.2848, allocations: 171.6 kB / 0.8339 GB, free: 10.24 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001134/0.2849, allocations: 83.78 kB / 0.8339 GB, free: 10.16 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001566/0.2851, allocations: 103.5 kB / 0.834 GB, free: 10.05 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0005852/0.2857, allocations: 338.9 kB / 0.8344 GB, free: 9.723 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.2857, allocations: 0 / 0.8344 GB, free: 9.723 MB / 0.6544 GB Notification: Performance of FrontEnd: time 5.169e-06/0.2857, allocations: 0 / 0.8344 GB, free: 9.723 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.767e-05/0.2857, allocations: 3.938 kB / 0.8344 GB, free: 9.719 MB / 0.6544 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.001243/0.287, allocations: 0.5211 MB / 0.8349 GB, free: 9.148 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.409e-05/0.287, allocations: 8.031 kB / 0.8349 GB, free: 9.141 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007109/0.2878, allocations: 76.58 kB / 0.835 GB, free: 9.066 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003962/0.2882, allocations: 247.9 kB / 0.8352 GB, free: 8.785 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.915e-05/0.2882, allocations: 8.75 kB / 0.8352 GB, free: 8.777 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.636e-05/0.2882, allocations: 20.38 kB / 0.8352 GB, free: 8.758 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004788/0.2887, allocations: 299.5 kB / 0.8355 GB, free: 8.445 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.634e-05/0.2888, allocations: 7.922 kB / 0.8355 GB, free: 8.438 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.94e-05/0.2888, allocations: 8 kB / 0.8355 GB, free: 8.43 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.833e-05/0.2888, allocations: 20.36 kB / 0.8355 GB, free: 8.41 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003349/0.2892, allocations: 193 kB / 0.8357 GB, free: 8.223 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001712/0.2909, allocations: 1.464 MB / 0.8372 GB, free: 6.594 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003206/0.2912, allocations: 171.7 kB / 0.8373 GB, free: 6.398 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.168e-05/0.2913, allocations: 40.78 kB / 0.8374 GB, free: 6.355 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.089e-05/0.2913, allocations: 0 / 0.8374 GB, free: 6.355 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.468e-05/0.2914, allocations: 30.56 kB / 0.8374 GB, free: 6.316 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=7): time 1.472e-06/0.2914, allocations: 4 kB / 0.8374 GB, free: 6.312 MB / 0.6544 GB Notification: Performance of matching and sorting (n=7): time 0.0005626/0.292, allocations: 219.4 kB / 0.8376 GB, free: 6.07 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.549e-05/0.292, allocations: 51.41 kB / 0.8377 GB, free: 6.008 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003026/0.2923, allocations: 203.9 kB / 0.8379 GB, free: 5.801 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.472e-05/0.2924, allocations: 25.7 kB / 0.8379 GB, free: 5.77 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001583/0.2925, allocations: 163.8 kB / 0.838 GB, free: 5.605 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 3.269e-05/0.2926, allocations: 31.58 kB / 0.8381 GB, free: 5.574 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.097e-05/0.2927, allocations: 45.61 kB / 0.8381 GB, free: 5.523 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001638/0.2929, allocations: 326.8 kB / 0.8384 GB, free: 5.195 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.441e-05/0.2929, allocations: 31.98 kB / 0.8384 GB, free: 5.164 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001127/0.2931, allocations: 100.6 kB / 0.8385 GB, free: 5.035 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001946/0.2933, allocations: 152.4 kB / 0.8387 GB, free: 4.855 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.529e-06/0.2933, allocations: 0 / 0.8387 GB, free: 4.855 MB / 0.6544 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003169/0.2936, allocations: 186.1 kB / 0.8389 GB, free: 4.664 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.297e-05/0.2936, allocations: 12.22 kB / 0.8389 GB, free: 4.652 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.418e-06/0.2936, allocations: 8.062 kB / 0.8389 GB, free: 4.645 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000186/0.2938, allocations: 28.84 kB / 0.8389 GB, free: 4.613 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001116/0.294, allocations: 23.98 kB / 0.8389 GB, free: 4.59 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001206/0.2952, allocations: 1.414 MB / 0.8403 GB, free: 3.035 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001341/0.2953, allocations: 23.78 kB / 0.8403 GB, free: 3.012 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.243e-05/0.2953, allocations: 4 kB / 0.8403 GB, free: 3.008 MB / 0.6544 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.0001644/0.2955, allocations: 153.7 kB / 0.8405 GB, free: 2.848 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.304e-05/0.2956, allocations: 19.81 kB / 0.8405 GB, free: 2.828 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.011e-05/0.2956, allocations: 17.39 kB / 0.8405 GB, free: 2.809 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.131e-06/0.2956, allocations: 4 kB / 0.8405 GB, free: 2.805 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.628e-06/0.2956, allocations: 0 / 0.8405 GB, free: 2.805 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.2956, allocations: 0 / 0.8405 GB, free: 2.805 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005678/0.2962, allocations: 443.2 kB / 0.841 GB, free: 2.312 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.514e-06/0.2962, allocations: 0 / 0.841 GB, free: 2.312 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.022e-05/0.2963, allocations: 8 kB / 0.841 GB, free: 2.305 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.917e-05/0.2964, allocations: 28.84 kB / 0.841 GB, free: 2.273 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.085e-05/0.2964, allocations: 0 / 0.841 GB, free: 2.273 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001139/0.2975, allocations: 1.414 MB / 0.8424 GB, free: 0.7227 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/0.2975, allocations: 4 kB / 0.8424 GB, free: 0.7188 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002485/0.2978, allocations: 212.2 kB / 0.8426 GB, free: 0.4922 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 9.563e-05/0.2979, allocations: 101 kB / 0.8427 GB, free: 384 kB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.55e-05/0.2979, allocations: 4 kB / 0.8427 GB, free: 380 kB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001108/0.298, allocations: 4 kB / 0.8427 GB, free: 376 kB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.875e-05/0.2981, allocations: 11.98 kB / 0.8427 GB, free: 364 kB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.31e-06/0.2981, allocations: 3.938 kB / 0.8427 GB, free: 360 kB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0001471/0.2982, allocations: 147.4 kB / 0.8428 GB, free: 212 kB / 0.6544 GB Notification: Performance of sort global known variables: time 3.21e-07/0.2982, allocations: 0 / 0.8428 GB, free: 212 kB / 0.6544 GB Notification: Performance of remove unused functions: time 0.00037/0.2986, allocations: 47.84 kB / 0.8429 GB, free: 164 kB / 0.6544 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.0001443/0.2988, allocations: 103.3 kB / 0.843 GB, free: 48 kB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.000489/0.2993, allocations: 214.5 kB / 0.8432 GB, free: 15.82 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 3.898e-06/0.2993, allocations: 0 / 0.8432 GB, free: 15.82 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0001725/0.2995, allocations: 150.5 kB / 0.8433 GB, free: 15.66 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003892/0.2999, allocations: 35.19 kB / 0.8434 GB, free: 15.63 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007863/0.3007, allocations: 350.8 kB / 0.8437 GB, free: 15.27 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004173/0.3011, allocations: 0.7514 MB / 0.8444 GB, free: 14.49 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0001033/0.3012, allocations: 17.55 kB / 0.8444 GB, free: 14.47 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.178e-05/0.3013, allocations: 15.44 kB / 0.8445 GB, free: 14.46 MB / 0.67 GB Notification: Performance of SimCode: time 6.52e-07/0.3013, allocations: 4 kB / 0.8445 GB, free: 14.45 MB / 0.67 GB Notification: Performance of Templates: time 0.005383/0.3067, allocations: 1.782 MB / 0.8462 GB, free: 12.69 MB / 0.67 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.Resistance.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.Resistance.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.Resistance.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.Resistance.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.Resistance.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.Resistance -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.Resistance.pipe 2>&1)