Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.Resistance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Electrical.DC.Lines.Examples.Resistance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.Resistance") translateModel(Buildings.Electrical.DC.Lines.Examples.Resistance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.Resistance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.784/2.784, allocations: 287.5 MB / 302.4 MB, free: 8.297 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.001469/0.001469, allocations: 170.1 kB / 371 MB, free: 10.89 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.172/2.172, allocations: 205.4 MB / 0.6297 GB, free: 10.63 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.0009583/0.0009578, allocations: 90.27 kB / 0.743 GB, free: 6.629 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004997/0.0004998, allocations: 10.44 kB / 0.8658 GB, free: 140.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2395/0.2401, allocations: 115.3 MB / 0.9783 GB, free: 28.39 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.Resistance): time 0.004284/0.2444, allocations: 2.657 MB / 0.9809 GB, free: 25.72 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002584/0.2471, allocations: 1.229 MB / 0.9821 GB, free: 24.48 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001882/0.2473, allocations: 4 kB / 0.9821 GB, free: 24.48 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0002123/0.2475, allocations: 43.7 kB / 0.9822 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0004519/0.248, allocations: 111.4 kB / 0.9823 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004558/0.2485, allocations: 96.55 kB / 0.9824 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0004106/0.2489, allocations: 350.9 kB / 0.9827 GB, free: 23.89 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003341/0.2493, allocations: 211.9 kB / 0.9829 GB, free: 23.66 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001469/0.2494, allocations: 99.62 kB / 0.983 GB, free: 23.56 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003203/0.2497, allocations: 127.5 kB / 0.9831 GB, free: 23.44 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 4.177e-05/0.2498, allocations: 8 kB / 0.9831 GB, free: 23.43 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003265/0.2501, allocations: 87.88 kB / 0.9832 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 9.259e-05/0.2503, allocations: 63.8 kB / 0.9833 GB, free: 23.28 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.929e-05/0.2503, allocations: 69.58 kB / 0.9834 GB, free: 23.21 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.000354/0.2507, allocations: 255.6 kB / 0.9836 GB, free: 22.96 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.671e-06/0.2507, allocations: 0 / 0.9836 GB, free: 22.96 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.284e-06/0.2507, allocations: 0 / 0.9836 GB, free: 22.96 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.741e-06/0.2507, allocations: 3.938 kB / 0.9836 GB, free: 22.95 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.000834/0.2516, allocations: 490.9 kB / 0.9841 GB, free: 22.42 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.337e-05/0.2516, allocations: 16.02 kB / 0.9841 GB, free: 22.41 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007836/0.2524, allocations: 79.69 kB / 0.9842 GB, free: 22.33 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003197/0.2528, allocations: 236.6 kB / 0.9844 GB, free: 22.06 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.14e-05/0.2528, allocations: 12.38 kB / 0.9844 GB, free: 22.05 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.066e-05/0.2529, allocations: 16 kB / 0.9844 GB, free: 22.03 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005735/0.2534, allocations: 299.2 kB / 0.9847 GB, free: 21.71 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.508e-05/0.2535, allocations: 4 kB / 0.9847 GB, free: 21.71 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.741e-05/0.2535, allocations: 7.984 kB / 0.9847 GB, free: 21.7 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.601e-05/0.2536, allocations: 20.33 kB / 0.9847 GB, free: 21.68 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004366/0.254, allocations: 200.9 kB / 0.9849 GB, free: 21.48 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001767/0.2558, allocations: 1.464 MB / 0.9864 GB, free: 19.86 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003198/0.2562, allocations: 171.7 kB / 0.9865 GB, free: 19.66 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.885e-05/0.2563, allocations: 36.84 kB / 0.9866 GB, free: 19.62 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.064e-05/0.2563, allocations: 0 / 0.9866 GB, free: 19.62 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.948e-05/0.2563, allocations: 30.62 kB / 0.9866 GB, free: 19.59 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 1.823e-06/0.2563, allocations: 4 kB / 0.9866 GB, free: 19.58 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0005935/0.2569, allocations: 235.4 kB / 0.9868 GB, free: 19.32 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.671e-05/0.257, allocations: 51.41 kB / 0.9869 GB, free: 19.26 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002226/0.2572, allocations: 198.3 kB / 0.9871 GB, free: 19.06 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.454e-05/0.2572, allocations: 29.7 kB / 0.9871 GB, free: 19.02 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 8.867e-05/0.2573, allocations: 167.5 kB / 0.9872 GB, free: 18.86 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.187e-05/0.2574, allocations: 23.7 kB / 0.9873 GB, free: 18.83 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.398e-06/0.2574, allocations: 4 kB / 0.9873 GB, free: 18.83 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.435e-05/0.2574, allocations: 322.8 kB / 0.9876 GB, free: 18.5 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.893e-05/0.2575, allocations: 31.98 kB / 0.9876 GB, free: 18.47 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001212/0.2577, allocations: 104.5 kB / 0.9877 GB, free: 18.34 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001227/0.2578, allocations: 55.92 kB / 0.9878 GB, free: 18.29 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.2578, allocations: 0 / 0.9878 GB, free: 18.29 MB / 0.6198 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0004493/0.2583, allocations: 198 kB / 0.9879 GB, free: 18.08 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.803e-05/0.2583, allocations: 4 kB / 0.9879 GB, free: 18.08 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.284e-06/0.2583, allocations: 4 kB / 0.988 GB, free: 18.07 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002026/0.2585, allocations: 29.12 kB / 0.988 GB, free: 18.04 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001865/0.2587, allocations: 27.98 kB / 0.988 GB, free: 18.02 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001029/0.2598, allocations: 1.315 MB / 0.9893 GB, free: 16.57 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000197/0.26, allocations: 19.84 kB / 0.9893 GB, free: 16.55 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.504e-05/0.26, allocations: 4 kB / 0.9893 GB, free: 16.55 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.0001639/0.2602, allocations: 149.8 kB / 0.9895 GB, free: 16.39 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.783e-05/0.2603, allocations: 19.77 kB / 0.9895 GB, free: 16.37 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.478e-05/0.2603, allocations: 13.41 kB / 0.9895 GB, free: 16.36 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.2603, allocations: 4.094 kB / 0.9895 GB, free: 16.36 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.02e-06/0.2603, allocations: 4 kB / 0.9895 GB, free: 16.36 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.189e-06/0.2604, allocations: 8.016 kB / 0.9895 GB, free: 16.35 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000623/0.261, allocations: 447.2 kB / 0.9899 GB, free: 15.85 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.995e-06/0.261, allocations: 0 / 0.9899 GB, free: 15.85 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.969e-05/0.2611, allocations: 11.98 kB / 0.9899 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000124/0.2612, allocations: 16.84 kB / 0.99 GB, free: 15.82 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.103e-05/0.2612, allocations: 11.94 kB / 0.99 GB, free: 15.81 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009616/0.2622, allocations: 1.308 MB / 0.9912 GB, free: 14.36 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/0.2622, allocations: 4.062 kB / 0.9913 GB, free: 14.36 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002808/0.2625, allocations: 216.5 kB / 0.9915 GB, free: 14.13 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 8.437e-05/0.2626, allocations: 97 kB / 0.9915 GB, free: 14.02 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.855e-05/0.2627, allocations: 0 / 0.9915 GB, free: 14.02 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001684/0.2629, allocations: 8 kB / 0.9916 GB, free: 14.01 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.363e-05/0.2629, allocations: 3.984 kB / 0.9916 GB, free: 14 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.054e-05/0.2629, allocations: 11.95 kB / 0.9916 GB, free: 13.99 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001485/0.2631, allocations: 148.1 kB / 0.9917 GB, free: 13.85 MB / 0.6198 GB Notification: Performance of sort global known variables: time 4.11e-07/0.2631, allocations: 0 / 0.9917 GB, free: 13.85 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0004481/0.2635, allocations: 55.75 kB / 0.9918 GB, free: 13.79 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.0001256/0.2637, allocations: 95.25 kB / 0.9919 GB, free: 13.69 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0004438/0.2641, allocations: 210.7 kB / 0.9921 GB, free: 13.47 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.2642, allocations: 0 / 0.9921 GB, free: 13.47 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001838/0.2643, allocations: 154.6 kB / 0.9922 GB, free: 13.31 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004901/0.2648, allocations: 30.11 kB / 0.9922 GB, free: 13.28 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007639/0.2656, allocations: 433.1 kB / 0.9926 GB, free: 12.84 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002333/0.2659, allocations: 0.7439 MB / 0.9934 GB, free: 12.07 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001572/0.266, allocations: 21.55 kB / 0.9934 GB, free: 12.04 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.28e-05/0.2661, allocations: 19.38 kB / 0.9934 GB, free: 12.02 MB / 0.6198 GB Notification: Performance of SimCode: time 9.72e-07/0.2661, allocations: 0 / 0.9934 GB, free: 12.02 MB / 0.6198 GB Notification: Performance of Templates: time 0.005967/0.2721, allocations: 1.623 MB / 0.995 GB, free: 10.42 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.Resistance.makefile (rm -f Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.Resistance.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.Resistance.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.Resistance.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.Resistance.sim & ./Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.Resistance -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.Resistance.pipe 2>&1)