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.001568/0.001568, allocations: 104.7 kB / 15.98 MB, free: 6.352 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.001616/0.001616, allocations: 195.9 kB / 16.91 MB, free: 6.188 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.538/1.538, allocations: 205.1 MB / 222.8 MB, free: 4.688 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.706/1.706, allocations: 292.3 MB / 0.5492 GB, free: 13.63 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.001375/0.001376, allocations: 61.53 kB / 0.6716 GB, free: 26.52 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2327/0.2341, allocations: 114.6 MB / 0.7835 GB, free: 13.91 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.Resistance): time 0.00474/0.2388, allocations: 3.104 MB / 0.7865 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002069/0.2409, allocations: 1.325 MB / 0.7878 GB, free: 9.453 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001339/0.2411, allocations: 8 kB / 0.7879 GB, free: 9.445 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0009572/0.2421, allocations: 307 kB / 0.7881 GB, free: 9.145 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0003576/0.2425, allocations: 135.4 kB / 0.7883 GB, free: 9.012 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003571/0.2428, allocations: 127.7 kB / 0.7884 GB, free: 8.887 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003484/0.2432, allocations: 306.9 kB / 0.7887 GB, free: 8.586 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004401/0.2437, allocations: 248.6 kB / 0.7889 GB, free: 8.344 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001463/0.2438, allocations: 131.5 kB / 0.789 GB, free: 8.215 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002787/0.2441, allocations: 135.5 kB / 0.7892 GB, free: 8.082 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.006e-05/0.2441, allocations: 23.98 kB / 0.7892 GB, free: 8.059 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002895/0.2444, allocations: 167.6 kB / 0.7894 GB, free: 7.895 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 8.815e-05/0.2445, allocations: 79.8 kB / 0.7894 GB, free: 7.816 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.000116/0.2446, allocations: 111.5 kB / 0.7895 GB, free: 7.707 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003348/0.245, allocations: 263.4 kB / 0.7898 GB, free: 7.449 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.245, allocations: 4 kB / 0.7898 GB, free: 7.445 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.432e-06/0.245, allocations: 0 / 0.7898 GB, free: 7.445 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.234e-06/0.245, allocations: 0 / 0.7898 GB, free: 7.445 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.0008298/0.2459, allocations: 0.5107 MB / 0.7903 GB, free: 6.883 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.2459, allocations: 12.03 kB / 0.7903 GB, free: 6.871 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005789/0.2465, allocations: 80.58 kB / 0.7904 GB, free: 6.793 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002918/0.2468, allocations: 240 kB / 0.7906 GB, free: 6.52 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.53e-05/0.2468, allocations: 12.73 kB / 0.7906 GB, free: 6.508 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.077e-05/0.2469, allocations: 16.38 kB / 0.7906 GB, free: 6.492 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004408/0.2473, allocations: 311 kB / 0.7909 GB, free: 6.164 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.207e-05/0.2473, allocations: 7.984 kB / 0.7909 GB, free: 6.156 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.474e-05/0.2474, allocations: 8 kB / 0.791 GB, free: 6.148 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.352e-05/0.2474, allocations: 20.36 kB / 0.791 GB, free: 6.129 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002943/0.2477, allocations: 200.8 kB / 0.7912 GB, free: 5.934 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001509/0.2492, allocations: 1.46 MB / 0.7926 GB, free: 4.312 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002527/0.2495, allocations: 179.7 kB / 0.7928 GB, free: 4.109 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.779e-05/0.2495, allocations: 28.84 kB / 0.7928 GB, free: 4.078 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 8.956e-06/0.2496, allocations: 4 kB / 0.7928 GB, free: 4.074 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.785e-05/0.2496, allocations: 38.56 kB / 0.7928 GB, free: 4.027 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.563e-06/0.2496, allocations: 0 / 0.7928 GB, free: 4.027 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.000479/0.2501, allocations: 227.4 kB / 0.793 GB, free: 3.777 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.144e-05/0.2501, allocations: 51.41 kB / 0.7931 GB, free: 3.715 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001856/0.2503, allocations: 204.1 kB / 0.7933 GB, free: 3.508 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.649e-05/0.2504, allocations: 25.7 kB / 0.7933 GB, free: 3.477 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 9.376e-05/0.2505, allocations: 175.7 kB / 0.7935 GB, free: 3.301 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.773e-05/0.2505, allocations: 19.66 kB / 0.7935 GB, free: 3.281 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.335e-05/0.2506, allocations: 37.7 kB / 0.7935 GB, free: 3.238 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001193/0.2507, allocations: 326.8 kB / 0.7938 GB, free: 2.91 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.171e-05/0.2507, allocations: 35.98 kB / 0.7939 GB, free: 2.875 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000113/0.2509, allocations: 108.4 kB / 0.794 GB, free: 2.738 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001592/0.251, allocations: 144.4 kB / 0.7941 GB, free: 2.566 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.251, allocations: 0 / 0.7941 GB, free: 2.566 MB / 0.6075 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000297/0.2513, allocations: 186.4 kB / 0.7943 GB, free: 2.375 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.67e-05/0.2514, allocations: 12.03 kB / 0.7943 GB, free: 2.363 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.421e-06/0.2514, allocations: 0 / 0.7943 GB, free: 2.363 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000161/0.2515, allocations: 20.84 kB / 0.7943 GB, free: 2.34 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001187/0.2517, allocations: 35.92 kB / 0.7944 GB, free: 2.305 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001126/0.2528, allocations: 1.419 MB / 0.7958 GB, free: 0.7383 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001266/0.2529, allocations: 15.84 kB / 0.7958 GB, free: 0.7227 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.197e-05/0.253, allocations: 12.12 kB / 0.7958 GB, free: 0.7109 MB / 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.0001383/0.2531, allocations: 145.8 kB / 0.7959 GB, free: 0.5586 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.97e-05/0.2532, allocations: 19.75 kB / 0.7959 GB, free: 0.5391 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.967e-05/0.2532, allocations: 21.39 kB / 0.796 GB, free: 0.5234 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.2532, allocations: 0 / 0.796 GB, free: 0.5234 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.464e-06/0.2532, allocations: 0 / 0.796 GB, free: 0.5234 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.43e-06/0.2532, allocations: 0 / 0.796 GB, free: 0.5234 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005124/0.2537, allocations: 463 kB / 0.7964 GB, free: 12 kB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.993e-06/0.2538, allocations: 0 / 0.7964 GB, free: 12 kB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.707e-05/0.2538, allocations: 8 kB / 0.7964 GB, free: 4 kB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.982e-05/0.2539, allocations: 20.84 kB / 0.7964 GB, free: 15.98 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.405e-06/0.2539, allocations: 0 / 0.7964 GB, free: 15.98 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009941/0.2549, allocations: 1.414 MB / 0.7978 GB, free: 14.43 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.2549, allocations: 160 / 0.7978 GB, free: 14.43 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002183/0.2551, allocations: 220.1 kB / 0.798 GB, free: 14.2 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 7.057e-05/0.2552, allocations: 100.9 kB / 0.7981 GB, free: 14.08 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.799e-05/0.2552, allocations: 0 / 0.7981 GB, free: 14.08 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001071/0.2554, allocations: 8 kB / 0.7981 GB, free: 14.07 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.297e-05/0.2554, allocations: 7.922 kB / 0.7981 GB, free: 14.06 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.392e-06/0.2554, allocations: 4 kB / 0.7981 GB, free: 14.06 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0001212/0.2555, allocations: 151 kB / 0.7983 GB, free: 13.91 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1e-07/0.2555, allocations: 0 / 0.7983 GB, free: 13.91 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.000322/0.2559, allocations: 55.84 kB / 0.7983 GB, free: 13.86 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.0001319/0.256, allocations: 102.2 kB / 0.7984 GB, free: 13.75 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.000367/0.2564, allocations: 219 kB / 0.7986 GB, free: 13.52 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.2564, allocations: 0 / 0.7986 GB, free: 13.52 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0001472/0.2565, allocations: 146.7 kB / 0.7988 GB, free: 13.36 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003707/0.2569, allocations: 27.03 kB / 0.7988 GB, free: 13.34 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006598/0.2576, allocations: 472.4 kB / 0.7993 GB, free: 12.85 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003479/0.258, allocations: 0.7474 MB / 0.8 GB, free: 12.07 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.662e-05/0.258, allocations: 15.62 kB / 0.8 GB, free: 12.06 MB / 0.6231 GB Notification: Performance of SimCode: time 3.3e-07/0.258, allocations: 0 / 0.8 GB, free: 12.06 MB / 0.6231 GB Notification: Performance of Templates: time 0.004772/0.2628, allocations: 2.975 MB / 0.8029 GB, free: 9.098 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)