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.828/2.828, allocations: 287.3 MB / 302.3 MB, free: 8.219 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.002216/0.002215, allocations: 185 kB / 370.8 MB, free: 10.87 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.165/2.165, allocations: 205.4 MB / 0.6295 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.001522/0.001522, allocations: 89.97 kB / 0.7428 GB, free: 6.637 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006304/0.0006304, allocations: 15.23 kB / 0.8656 GB, free: 140.3 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2275/0.2282, allocations: 115.3 MB / 0.9782 GB, free: 28.41 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.Resistance): time 0.00416/0.2324, allocations: 2.595 MB / 0.9807 GB, free: 25.8 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002665/0.2351, allocations: 1.229 MB / 0.9819 GB, free: 24.56 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002283/0.2354, allocations: 4 kB / 0.9819 GB, free: 24.56 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0002017/0.2356, allocations: 31.78 kB / 0.982 GB, free: 24.53 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0004431/0.2361, allocations: 111.6 kB / 0.9821 GB, free: 24.42 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004584/0.2366, allocations: 99.73 kB / 0.9822 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0003169/0.2369, allocations: 167.6 kB / 0.9823 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003285/0.2372, allocations: 204.7 kB / 0.9825 GB, free: 23.94 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001392/0.2374, allocations: 87.75 kB / 0.9826 GB, free: 23.85 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002588/0.2377, allocations: 95.59 kB / 0.9827 GB, free: 23.76 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.483e-05/0.2377, allocations: 8 kB / 0.9827 GB, free: 23.75 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002637/0.238, allocations: 83.81 kB / 0.9828 GB, free: 23.67 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 7.855e-05/0.2381, allocations: 59.88 kB / 0.9828 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.937e-05/0.2381, allocations: 69.58 kB / 0.9829 GB, free: 23.54 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003611/0.2385, allocations: 243.7 kB / 0.9831 GB, free: 23.3 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.645e-06/0.2385, allocations: 0 / 0.9831 GB, free: 23.3 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.804e-06/0.2385, allocations: 0 / 0.9831 GB, free: 23.3 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.3e-06/0.2386, allocations: 0 / 0.9831 GB, free: 23.3 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.0008118/0.2394, allocations: 486.9 kB / 0.9836 GB, free: 22.77 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.123e-05/0.2394, allocations: 20.02 kB / 0.9836 GB, free: 22.75 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008551/0.2403, allocations: 87.67 kB / 0.9837 GB, free: 22.66 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003786/0.2407, allocations: 240.7 kB / 0.9839 GB, free: 22.39 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.336e-05/0.2407, allocations: 16.31 kB / 0.9839 GB, free: 22.38 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.161e-05/0.2408, allocations: 19.94 kB / 0.984 GB, free: 22.36 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005916/0.2414, allocations: 299.2 kB / 0.9842 GB, free: 22.04 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.563e-05/0.2415, allocations: 0 / 0.9842 GB, free: 22.04 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.638e-05/0.2415, allocations: 8 kB / 0.9843 GB, free: 22.03 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.034e-05/0.2416, allocations: 24.31 kB / 0.9843 GB, free: 22 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004485/0.242, allocations: 189 kB / 0.9845 GB, free: 21.82 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001724/0.2438, allocations: 1.46 MB / 0.9859 GB, free: 20.2 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003166/0.2441, allocations: 179.7 kB / 0.9861 GB, free: 20 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.659e-05/0.2442, allocations: 4.094 kB / 0.9861 GB, free: 19.99 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.911e-05/0.2442, allocations: 34.56 kB / 0.9861 GB, free: 19.95 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 2.725e-06/0.2442, allocations: 0 / 0.9861 GB, free: 19.95 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0006413/0.2448, allocations: 231.4 kB / 0.9863 GB, free: 19.7 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.073e-05/0.2449, allocations: 51.41 kB / 0.9864 GB, free: 19.63 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002257/0.2451, allocations: 194.3 kB / 0.9865 GB, free: 19.43 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.725e-05/0.2452, allocations: 33.64 kB / 0.9866 GB, free: 19.39 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 8.813e-05/0.2453, allocations: 171.5 kB / 0.9867 GB, free: 19.22 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.337e-05/0.2453, allocations: 19.72 kB / 0.9868 GB, free: 19.2 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.348e-06/0.2453, allocations: 0 / 0.9868 GB, free: 19.2 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.777e-05/0.2454, allocations: 326.8 kB / 0.9871 GB, free: 18.88 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.167e-05/0.2455, allocations: 39.97 kB / 0.9871 GB, free: 18.84 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001209/0.2456, allocations: 92.58 kB / 0.9872 GB, free: 18.71 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001261/0.2458, allocations: 51.92 kB / 0.9872 GB, free: 18.66 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.277e-06/0.2458, allocations: 0 / 0.9872 GB, free: 18.66 MB / 0.6198 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0004306/0.2462, allocations: 194 kB / 0.9874 GB, free: 18.46 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.07e-05/0.2463, allocations: 8 kB / 0.9874 GB, free: 18.46 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.546e-06/0.2463, allocations: 4 kB / 0.9874 GB, free: 18.45 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002017/0.2465, allocations: 25.12 kB / 0.9875 GB, free: 18.43 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001935/0.2467, allocations: 31.92 kB / 0.9875 GB, free: 18.39 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00105/0.2478, allocations: 1.323 MB / 0.9888 GB, free: 16.94 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002095/0.248, allocations: 19.84 kB / 0.9888 GB, free: 16.92 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.665e-05/0.248, allocations: 12 kB / 0.9888 GB, free: 16.91 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.0001579/0.2482, allocations: 141.8 kB / 0.989 GB, free: 16.76 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.763e-05/0.2483, allocations: 15.77 kB / 0.989 GB, free: 16.75 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.473e-05/0.2483, allocations: 25.34 kB / 0.989 GB, free: 16.73 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/0.2483, allocations: 0 / 0.989 GB, free: 16.73 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.71e-06/0.2483, allocations: 0 / 0.989 GB, free: 16.73 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.2483, allocations: 7.938 kB / 0.989 GB, free: 16.72 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006862/0.249, allocations: 443.2 kB / 0.9894 GB, free: 16.23 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.498e-06/0.2491, allocations: 8.062 kB / 0.9894 GB, free: 16.22 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.427e-05/0.2491, allocations: 4 kB / 0.9894 GB, free: 16.21 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001263/0.2493, allocations: 28.78 kB / 0.9895 GB, free: 16.18 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.181e-05/0.2493, allocations: 3.984 kB / 0.9895 GB, free: 16.18 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009637/0.2503, allocations: 1.315 MB / 0.9908 GB, free: 14.73 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.2503, allocations: 4.031 kB / 0.9908 GB, free: 14.72 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002929/0.2506, allocations: 220.4 kB / 0.991 GB, free: 14.49 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 7.852e-05/0.2507, allocations: 89 kB / 0.9911 GB, free: 14.38 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.961e-05/0.2507, allocations: 4 kB / 0.9911 GB, free: 14.38 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001826/0.2509, allocations: 4 kB / 0.9911 GB, free: 14.38 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.566e-05/0.251, allocations: 7.984 kB / 0.9911 GB, free: 14.37 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.438e-06/0.251, allocations: 0 / 0.9911 GB, free: 14.37 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001511/0.2512, allocations: 156.1 kB / 0.9912 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.71e-07/0.2512, allocations: 7.938 kB / 0.9912 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0004672/0.2517, allocations: 55.75 kB / 0.9913 GB, free: 14.15 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.0001115/0.2518, allocations: 95.25 kB / 0.9914 GB, free: 14.05 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0004541/0.2522, allocations: 211 kB / 0.9916 GB, free: 13.83 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.997e-06/0.2523, allocations: 4.125 kB / 0.9916 GB, free: 13.83 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.000181/0.2525, allocations: 138.7 kB / 0.9917 GB, free: 13.68 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004054/0.2529, allocations: 28.8 kB / 0.9917 GB, free: 13.65 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007591/0.2537, allocations: 439.4 kB / 0.9922 GB, free: 13.2 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002255/0.2539, allocations: 0.7516 MB / 0.9929 GB, free: 12.42 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.000156/0.2541, allocations: 25.55 kB / 0.9929 GB, free: 12.39 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.204e-05/0.2541, allocations: 11.44 kB / 0.9929 GB, free: 12.38 MB / 0.6198 GB Notification: Performance of SimCode: time 9.92e-07/0.2541, allocations: 0 / 0.9929 GB, free: 12.38 MB / 0.6198 GB Notification: Performance of Templates: time 0.006027/0.2602, allocations: 1.616 MB / 0.9945 GB, free: 10.79 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)