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.708/1.708, allocations: 288.4 MB / 303.7 MB, free: 8.848 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.001065/0.001065, allocations: 175.8 kB / 372.3 MB, free: 6.43 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.617/1.617, allocations: 205.4 MB / 0.631 GB, free: 13.42 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007248/0.0007247, allocations: 89.88 kB / 0.7444 GB, free: 64.79 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004666/0.0004668, allocations: 19.98 kB / 0.8675 GB, free: 0.5703 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2575/0.258, allocations: 115.3 MB / 0.9801 GB, free: 13.09 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.Resistance): time 0.00427/0.2623, allocations: 2.66 MB / 0.9827 GB, free: 10.41 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001927/0.2642, allocations: 1.248 MB / 0.9839 GB, free: 9.152 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001337/0.2644, allocations: 7.938 kB / 0.9839 GB, free: 9.145 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.000179/0.2646, allocations: 35.7 kB / 0.984 GB, free: 9.109 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0004032/0.265, allocations: 131.4 kB / 0.9841 GB, free: 8.98 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003326/0.2653, allocations: 115.7 kB / 0.9842 GB, free: 8.867 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0003329/0.2657, allocations: 354.9 kB / 0.9846 GB, free: 8.52 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000338/0.266, allocations: 229.4 kB / 0.9848 GB, free: 8.277 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001108/0.2662, allocations: 99.62 kB / 0.9849 GB, free: 8.18 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002486/0.2664, allocations: 131.5 kB / 0.985 GB, free: 8.051 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 2.801e-05/0.2665, allocations: 8 kB / 0.985 GB, free: 8.043 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002833/0.2667, allocations: 195.6 kB / 0.9852 GB, free: 7.852 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 7.817e-05/0.2668, allocations: 71.8 kB / 0.9853 GB, free: 7.781 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.0001163/0.267, allocations: 121.3 kB / 0.9854 GB, free: 7.656 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0002838/0.2672, allocations: 251.6 kB / 0.9856 GB, free: 7.41 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 3.798e-06/0.2673, allocations: 0 / 0.9856 GB, free: 7.41 MB / 0.7136 GB Notification: Performance of FrontEnd: time 9.11e-07/0.2673, allocations: 4 kB / 0.9856 GB, free: 7.406 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 4.769e-06/0.2673, allocations: 0 / 0.9856 GB, free: 7.406 MB / 0.7136 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.0007185/0.268, allocations: 499 kB / 0.9861 GB, free: 6.867 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.304e-05/0.2681, allocations: 8.031 kB / 0.9861 GB, free: 6.859 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005907/0.2687, allocations: 88.58 kB / 0.9862 GB, free: 6.773 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000286/0.2689, allocations: 236 kB / 0.9864 GB, free: 6.504 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.217e-05/0.269, allocations: 16.75 kB / 0.9864 GB, free: 6.488 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.813e-05/0.269, allocations: 16.38 kB / 0.9864 GB, free: 6.473 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004445/0.2695, allocations: 299.5 kB / 0.9867 GB, free: 6.156 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.04e-05/0.2695, allocations: 3.938 kB / 0.9867 GB, free: 6.152 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.531e-05/0.2695, allocations: 12 kB / 0.9867 GB, free: 6.141 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.807e-05/0.2696, allocations: 20.36 kB / 0.9868 GB, free: 6.121 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000299/0.2699, allocations: 196.6 kB / 0.9869 GB, free: 5.93 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001462/0.2713, allocations: 1.468 MB / 0.9884 GB, free: 4.297 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002532/0.2716, allocations: 179.6 kB / 0.9886 GB, free: 4.094 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.35e-05/0.2717, allocations: 32.84 kB / 0.9886 GB, free: 4.059 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 8.736e-06/0.2717, allocations: 0 / 0.9886 GB, free: 4.059 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.273e-05/0.2717, allocations: 42.55 kB / 0.9886 GB, free: 4.008 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 1.062e-06/0.2717, allocations: 0 / 0.9886 GB, free: 4.008 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.0004478/0.2722, allocations: 223.4 kB / 0.9888 GB, free: 3.762 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.92e-05/0.2722, allocations: 55.41 kB / 0.9889 GB, free: 3.695 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002288/0.2725, allocations: 198.2 kB / 0.9891 GB, free: 3.492 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.511e-05/0.2725, allocations: 29.7 kB / 0.9891 GB, free: 3.457 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 8.9e-05/0.2726, allocations: 163.6 kB / 0.9893 GB, free: 3.293 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.854e-05/0.2726, allocations: 27.84 kB / 0.9893 GB, free: 3.266 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.059e-06/0.2726, allocations: 0 / 0.9893 GB, free: 3.266 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001105/0.2727, allocations: 330.8 kB / 0.9896 GB, free: 2.934 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.079e-05/0.2728, allocations: 27.98 kB / 0.9896 GB, free: 2.906 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001108/0.2729, allocations: 110.8 kB / 0.9897 GB, free: 2.77 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001609/0.2731, allocations: 148.4 kB / 0.9899 GB, free: 2.594 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.083e-06/0.2731, allocations: 0 / 0.9899 GB, free: 2.594 MB / 0.7136 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002899/0.2734, allocations: 186.1 kB / 0.9901 GB, free: 2.402 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.734e-05/0.2734, allocations: 4.281 kB / 0.9901 GB, free: 2.398 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.733e-06/0.2734, allocations: 8 kB / 0.9901 GB, free: 2.391 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001548/0.2736, allocations: 24.94 kB / 0.9901 GB, free: 2.363 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001149/0.2737, allocations: 35.86 kB / 0.9901 GB, free: 2.328 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001031/0.2748, allocations: 1.323 MB / 0.9914 GB, free: 0.8711 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001101/0.2749, allocations: 15.84 kB / 0.9914 GB, free: 0.8555 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.115e-05/0.2749, allocations: 4 kB / 0.9914 GB, free: 0.8516 MB / 0.7136 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.0001332/0.275, allocations: 157.7 kB / 0.9916 GB, free: 0.6875 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.896e-05/0.2751, allocations: 23.84 kB / 0.9916 GB, free: 0.6641 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.123e-05/0.2751, allocations: 17.41 kB / 0.9916 GB, free: 0.6445 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.2751, allocations: 0 / 0.9916 GB, free: 0.6445 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.504e-06/0.2752, allocations: 0 / 0.9916 GB, free: 0.6445 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.569e-06/0.2752, allocations: 3.984 kB / 0.9916 GB, free: 0.6406 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004962/0.2757, allocations: 439.2 kB / 0.992 GB, free: 156 kB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.2757, allocations: 0 / 0.992 GB, free: 156 kB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.095e-05/0.2757, allocations: 15.98 kB / 0.9921 GB, free: 140 kB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.715e-05/0.2758, allocations: 28.84 kB / 0.9921 GB, free: 108 kB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.414e-06/0.2758, allocations: 0 / 0.9921 GB, free: 108 kB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009272/0.2768, allocations: 1.315 MB / 0.9934 GB, free: 14.66 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/0.2768, allocations: 3.938 kB / 0.9934 GB, free: 14.66 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002148/0.277, allocations: 208.2 kB / 0.9936 GB, free: 14.43 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 7.24e-05/0.2771, allocations: 93 kB / 0.9937 GB, free: 14.32 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.111e-05/0.2771, allocations: 7.938 kB / 0.9937 GB, free: 14.32 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000103/0.2772, allocations: 4.094 kB / 0.9937 GB, free: 14.31 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.049e-05/0.2772, allocations: 7.984 kB / 0.9937 GB, free: 14.3 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.483e-05/0.2773, allocations: 4 kB / 0.9937 GB, free: 14.3 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0001193/0.2774, allocations: 148.2 kB / 0.9938 GB, free: 14.16 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2774, allocations: 0 / 0.9938 GB, free: 14.16 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.000323/0.2777, allocations: 55.75 kB / 0.9939 GB, free: 14.1 MB / 0.7292 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.0001267/0.2779, allocations: 99.25 kB / 0.994 GB, free: 13.99 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0003333/0.2782, allocations: 210.5 kB / 0.9942 GB, free: 13.77 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 4.197e-06/0.2782, allocations: 0 / 0.9942 GB, free: 13.77 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001397/0.2784, allocations: 146.6 kB / 0.9943 GB, free: 13.62 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003535/0.2787, allocations: 28.55 kB / 0.9943 GB, free: 13.59 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005969/0.2793, allocations: 432.1 kB / 0.9948 GB, free: 13.15 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003131/0.2797, allocations: 0.7516 MB / 0.9955 GB, free: 12.37 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 9.206e-05/0.2798, allocations: 21.55 kB / 0.9955 GB, free: 12.35 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.325e-05/0.2798, allocations: 15.44 kB / 0.9955 GB, free: 12.34 MB / 0.7292 GB Notification: Performance of SimCode: time 3e-07/0.2798, allocations: 0 / 0.9955 GB, free: 12.34 MB / 0.7292 GB Notification: Performance of Templates: time 0.004091/0.2839, allocations: 1.641 MB / 0.9971 GB, free: 10.71 MB / 0.7292 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)