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.001112/0.001112, allocations: 105.2 kB / 16.36 MB, free: 6.312 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.001143/0.001143, allocations: 189.5 kB / 17.3 MB, free: 5.871 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.535/1.535, allocations: 205.1 MB / 223.2 MB, free: 12.22 MB / 190.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.834/1.834, allocations: 292.3 MB / 0.5496 GB, free: 17.52 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.002876/0.002876, allocations: 63.91 kB / 0.6729 GB, free: 5.832 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3035/0.3064, allocations: 114.6 MB / 0.7848 GB, free: 3.16 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.Resistance): time 0.00482/0.3113, allocations: 3.065 MB / 0.7878 GB, free: 80 kB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.4204/0.7317, allocations: 1.325 MB / 0.7891 GB, free: 47.27 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00015/0.7319, allocations: 3.938 kB / 0.7891 GB, free: 47.27 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0009062/0.7329, allocations: 335.9 kB / 0.7894 GB, free: 47.25 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0003178/0.7332, allocations: 139.9 kB / 0.7895 GB, free: 47.25 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003009/0.7335, allocations: 135.2 kB / 0.7897 GB, free: 47.24 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.000271/0.7338, allocations: 310 kB / 0.79 GB, free: 47.23 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003527/0.7341, allocations: 237.7 kB / 0.7902 GB, free: 47.23 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001173/0.7343, allocations: 124.7 kB / 0.7903 GB, free: 47.21 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002555/0.7345, allocations: 137.8 kB / 0.7904 GB, free: 47.2 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.934e-05/0.7346, allocations: 21.75 kB / 0.7905 GB, free: 47.2 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002552/0.7348, allocations: 167.1 kB / 0.7906 GB, free: 47.19 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 8.122e-05/0.7349, allocations: 79.06 kB / 0.7907 GB, free: 47.18 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001041/0.735, allocations: 114.8 kB / 0.7908 GB, free: 47.15 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0003303/0.7354, allocations: 331.4 kB / 0.7911 GB, free: 47.11 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.392e-06/0.7354, allocations: 6.562 kB / 0.7911 GB, free: 47.11 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.704e-06/0.7354, allocations: 0 / 0.7911 GB, free: 47.11 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.932e-06/0.7354, allocations: 0 / 0.7911 GB, free: 47.11 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.0007313/0.7361, allocations: 0.5128 MB / 0.7916 GB, free: 46.68 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.764e-05/0.7362, allocations: 7.875 kB / 0.7916 GB, free: 46.68 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000536/0.7367, allocations: 84.2 kB / 0.7917 GB, free: 46.67 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002517/0.737, allocations: 242.9 kB / 0.7919 GB, free: 46.46 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.655e-05/0.737, allocations: 13.72 kB / 0.792 GB, free: 46.46 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.782e-05/0.737, allocations: 23.66 kB / 0.792 GB, free: 46.46 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000381/0.7374, allocations: 306.4 kB / 0.7923 GB, free: 46.38 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.146e-05/0.7374, allocations: 0 / 0.7923 GB, free: 46.38 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.338e-05/0.7375, allocations: 8.281 kB / 0.7923 GB, free: 46.38 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.986e-05/0.7375, allocations: 20.7 kB / 0.7923 GB, free: 46.37 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002744/0.7378, allocations: 196.6 kB / 0.7925 GB, free: 46.37 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001142/0.7389, allocations: 1.461 MB / 0.7939 GB, free: 45.18 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002215/0.7392, allocations: 179.6 kB / 0.7941 GB, free: 45.07 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.25e-05/0.7392, allocations: 31.69 kB / 0.7941 GB, free: 45.06 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 8.436e-06/0.7392, allocations: 0 / 0.7941 GB, free: 45.06 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.189e-05/0.7393, allocations: 37.5 kB / 0.7941 GB, free: 45.02 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=7): time 1.072e-06/0.7393, allocations: 0.7188 kB / 0.7941 GB, free: 45.02 MB / 0.6544 GB Notification: Performance of matching and sorting (n=7): time 0.0004392/0.7397, allocations: 229.4 kB / 0.7944 GB, free: 44.88 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.109e-05/0.7398, allocations: 51.97 kB / 0.7944 GB, free: 44.82 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001607/0.7399, allocations: 195.5 kB / 0.7946 GB, free: 44.72 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.212e-05/0.7399, allocations: 29.11 kB / 0.7946 GB, free: 44.69 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 6.647e-05/0.74, allocations: 164 kB / 0.7948 GB, free: 44.56 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.603e-05/0.74, allocations: 29.62 kB / 0.7948 GB, free: 44.54 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.997e-05/0.7401, allocations: 33.81 kB / 0.7948 GB, free: 44.53 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 5.717e-05/0.7402, allocations: 332.5 kB / 0.7952 GB, free: 44.21 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.241e-05/0.7402, allocations: 35.03 kB / 0.7952 GB, free: 44.21 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.628e-05/0.7403, allocations: 99.64 kB / 0.7953 GB, free: 44.13 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001338/0.7404, allocations: 152.7 kB / 0.7954 GB, free: 44.05 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.7404, allocations: 0.8438 kB / 0.7954 GB, free: 44.05 MB / 0.6544 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002507/0.7407, allocations: 193.2 kB / 0.7956 GB, free: 44 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.502e-05/0.7407, allocations: 6.688 kB / 0.7956 GB, free: 44 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.052e-06/0.7407, allocations: 5.156 kB / 0.7956 GB, free: 44 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001616/0.7409, allocations: 22.7 kB / 0.7957 GB, free: 43.99 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001237/0.741, allocations: 34.12 kB / 0.7957 GB, free: 43.99 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008405/0.7419, allocations: 1.416 MB / 0.7971 GB, free: 42.64 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001213/0.742, allocations: 18.19 kB / 0.7971 GB, free: 42.62 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.27e-05/0.742, allocations: 7.719 kB / 0.7971 GB, free: 42.62 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.0001104/0.7422, allocations: 147.6 kB / 0.7972 GB, free: 42.51 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.858e-05/0.7422, allocations: 23.12 kB / 0.7973 GB, free: 42.5 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.106e-05/0.7422, allocations: 24.14 kB / 0.7973 GB, free: 42.5 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.7423, allocations: 0 / 0.7973 GB, free: 42.5 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.7423, allocations: 0 / 0.7973 GB, free: 42.5 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 5.672e-05/0.7423, allocations: 99.56 kB / 0.7974 GB, free: 42.39 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.722e-05/0.7423, allocations: 1.922 kB / 0.7974 GB, free: 42.39 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001059/0.7425, allocations: 6.969 kB / 0.7974 GB, free: 42.39 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.996e-05/0.7425, allocations: 6.875 kB / 0.7974 GB, free: 42.39 MB / 0.6544 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001933/0.7427, allocations: 191.8 kB / 0.7976 GB, free: 42.27 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001614/0.7429, allocations: 287.7 kB / 0.7979 GB, free: 42.06 MB / 0.6544 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.349e-05/0.7429, allocations: 29.53 kB / 0.7979 GB, free: 42.06 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 9.261e-05/0.743, allocations: 146.5 kB / 0.798 GB, free: 41.98 MB / 0.6544 GB Notification: Performance of Backend: time 7.21e-07/0.743, allocations: 0 / 0.798 GB, free: 41.98 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0007868/0.7438, allocations: 361.2 kB / 0.7984 GB, free: 41.8 MB / 0.6544 GB Notification: Performance of SimCode: time 0.00068/0.7445, allocations: 0.8339 MB / 0.7992 GB, free: 41.12 MB / 0.6544 GB Notification: Performance of Templates: time 0.005866/0.7504, allocations: 2.539 MB / 0.8017 GB, free: 40.97 MB / 0.6544 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)