Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.DC.Lines.Examples.DCLine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Electrical.DC.Lines.Examples.DCLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.DC.Lines.Examples.DCLine") translateModel(Buildings.Electrical.DC.Lines.Examples.DCLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.DC.Lines.Examples.DCLine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.661/1.661, allocations: 292.3 MB / 308.1 MB, free: 4.215 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.001227/0.001228, allocations: 180.5 kB / 376.9 MB, free: 1.77 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.748/1.748, allocations: 205.1 MB / 0.6354 GB, free: 9.738 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.001003/0.001003, allocations: 101.1 kB / 0.748 GB, free: 61.35 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001005/0.001005, allocations: 59.89 kB / 0.8704 GB, free: 13.07 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2588/0.2598, allocations: 114.5 MB / 0.9822 GB, free: 10.38 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLine): time 0.008934/0.2688, allocations: 6.264 MB / 0.9883 GB, free: 4.078 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.006615/0.2754, allocations: 4.543 MB / 0.9928 GB, free: 15.52 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007222/0.2762, allocations: 23.88 kB / 0.9928 GB, free: 15.5 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.002447/0.2787, allocations: 0.8642 MB / 0.9936 GB, free: 14.63 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.002434/0.2811, allocations: 0.7036 MB / 0.9943 GB, free: 13.92 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008514/0.282, allocations: 287.6 kB / 0.9946 GB, free: 13.64 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.002006/0.284, allocations: 1.452 MB / 0.996 GB, free: 12.18 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007617/0.2848, allocations: 477.8 kB / 0.9965 GB, free: 11.71 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007344/0.2855, allocations: 430.3 kB / 0.9969 GB, free: 11.29 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008804/0.2864, allocations: 498.1 kB / 0.9974 GB, free: 10.8 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 0.0001311/0.2866, allocations: 51.94 kB / 0.9974 GB, free: 10.75 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007037/0.2873, allocations: 315.4 kB / 0.9977 GB, free: 10.44 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.0002099/0.2875, allocations: 223.2 kB / 0.9979 GB, free: 10.22 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.0003976/0.2879, allocations: 385.9 kB / 0.9983 GB, free: 9.844 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0009657/0.2889, allocations: 1.059 MB / 0.9993 GB, free: 8.781 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.2889, allocations: 4 kB / 0.9993 GB, free: 8.777 MB / 0.7292 GB Notification: Performance of FrontEnd: time 6.61e-07/0.2889, allocations: 0 / 0.9993 GB, free: 8.777 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 9.618e-06/0.2889, allocations: 0 / 0.9993 GB, free: 8.777 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 142 * Number of variables: 142 Notification: Performance of Generate backend data structure: time 0.001798/0.2907, allocations: 1.091 MB / 1 GB, free: 7.637 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.645e-05/0.2908, allocations: 8.031 kB / 1 GB, free: 7.629 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003023/0.2938, allocations: 0.6319 MB / 1.001 GB, free: 6.996 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009142/0.2947, allocations: 0.5424 MB / 1.002 GB, free: 6.414 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.179e-05/0.2948, allocations: 41.69 kB / 1.002 GB, free: 6.371 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.636e-05/0.2949, allocations: 56.12 kB / 1.002 GB, free: 6.316 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001925/0.2968, allocations: 1.018 MB / 1.003 GB, free: 5.254 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.702e-05/0.2969, allocations: 3.938 kB / 1.003 GB, free: 5.25 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.7e-05/0.2969, allocations: 24 kB / 1.003 GB, free: 5.227 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.055e-05/0.297, allocations: 45.3 kB / 1.003 GB, free: 5.184 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002337/0.2994, allocations: 1.008 MB / 1.004 GB, free: 4.172 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005489/0.3049, allocations: 3.494 MB / 1.007 GB, free: 380 kB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001476/0.3064, allocations: 0.4934 MB / 1.008 GB, free: 15.87 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005431/0.3069, allocations: 228.6 kB / 1.008 GB, free: 15.64 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 3.908e-05/0.307, allocations: 7.984 kB / 1.008 GB, free: 15.63 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.924e-05/0.307, allocations: 34.56 kB / 1.008 GB, free: 15.59 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=31): time 3.377e-06/0.307, allocations: 4 kB / 1.008 GB, free: 15.59 MB / 0.7448 GB Notification: Performance of matching and sorting (n=43): time 0.006861/0.3139, allocations: 2.016 MB / 1.01 GB, free: 13.53 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.158e-05/0.3139, allocations: 55.41 kB / 1.01 GB, free: 13.46 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007546/0.3147, allocations: 0.5627 MB / 1.01 GB, free: 12.89 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.779e-05/0.3147, allocations: 33.7 kB / 1.01 GB, free: 12.85 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002543/0.315, allocations: 364.1 kB / 1.011 GB, free: 12.49 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001255/0.3151, allocations: 149.8 kB / 1.011 GB, free: 12.34 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001575/0.3153, allocations: 86.25 kB / 1.011 GB, free: 12.25 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001587/0.3155, allocations: 374.7 kB / 1.011 GB, free: 11.88 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000678/0.3162, allocations: 262.9 kB / 1.012 GB, free: 11.61 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007179/0.3169, allocations: 377.7 kB / 1.012 GB, free: 11.2 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001386/0.3183, allocations: 0.6225 MB / 1.013 GB, free: 10.54 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.3183, allocations: 0 / 1.013 GB, free: 10.54 MB / 0.7448 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.002348/0.3207, allocations: 0.9351 MB / 1.014 GB, free: 9.578 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.383e-05/0.3207, allocations: 6.656 kB / 1.014 GB, free: 9.574 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.112e-05/0.3207, allocations: 11.92 kB / 1.014 GB, free: 9.562 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001107/0.3218, allocations: 269 kB / 1.014 GB, free: 9.281 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005898/0.3224, allocations: 115.8 kB / 1.014 GB, free: 9.168 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.5132/0.8356, allocations: 8.443 MB / 1.022 GB, free: 96.5 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008456/0.8365, allocations: 39.27 kB / 1.022 GB, free: 96.5 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.668e-05/0.8366, allocations: 22.19 kB / 1.022 GB, free: 96.5 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009877/0.8375, allocations: 435.6 kB / 1.023 GB, free: 96.42 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006951/0.8383, allocations: 358.3 kB / 1.023 GB, free: 96.31 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00137/0.8396, allocations: 0.6086 MB / 1.024 GB, free: 96.2 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.553e-06/0.8397, allocations: 1.312 kB / 1.024 GB, free: 96.2 MB / 0.7448 GB Notification: Performance of matching and sorting (n=59) (initialization_lambda0): time 0.002598/0.8423, allocations: 1.125 MB / 1.025 GB, free: 95.84 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.513e-05/0.8423, allocations: 7.625 kB / 1.025 GB, free: 95.84 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.244e-06/0.8423, allocations: 2.25 kB / 1.025 GB, free: 95.84 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007788/0.8431, allocations: 225 kB / 1.025 GB, free: 95.8 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000596/0.8437, allocations: 122.3 kB / 1.025 GB, free: 95.8 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00477/0.8485, allocations: 8.162 MB / 1.033 GB, free: 88.35 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006611/0.8492, allocations: 38.2 kB / 1.033 GB, free: 88.35 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.921e-05/0.8492, allocations: 23.39 kB / 1.033 GB, free: 88.35 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (47): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,2), (1,2), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0002107/0.8494, allocations: 211 kB / 1.033 GB, free: 88.17 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001038/0.8495, allocations: 67.62 kB / 1.033 GB, free: 88.17 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001989/0.8497, allocations: 79.67 kB / 1.033 GB, free: 88.16 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.989e-06/0.8498, allocations: 5.625 kB / 1.033 GB, free: 88.16 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.316e-05/0.8498, allocations: 2.625 kB / 1.033 GB, free: 88.16 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.224e-06/0.8498, allocations: 4.953 kB / 1.033 GB, free: 88.16 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008695/0.8507, allocations: 0.6417 MB / 1.034 GB, free: 87.96 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.8507, allocations: 0.6562 kB / 1.034 GB, free: 87.96 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000476/0.8512, allocations: 91.7 kB / 1.034 GB, free: 87.96 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008971/0.8521, allocations: 262.6 kB / 1.034 GB, free: 87.92 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.192e-05/0.8521, allocations: 3.188 kB / 1.034 GB, free: 87.92 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004912/0.857, allocations: 8.401 MB / 1.043 GB, free: 80.43 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.8571, allocations: 3.781 kB / 1.043 GB, free: 80.43 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003279/0.8603, allocations: 1.897 MB / 1.044 GB, free: 79.61 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002816/0.8606, allocations: 180.5 kB / 1.045 GB, free: 79.48 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.706e-05/0.8607, allocations: 12.09 kB / 1.045 GB, free: 79.48 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004818/0.8612, allocations: 34.91 kB / 1.045 GB, free: 79.48 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001589/0.8614, allocations: 41.03 kB / 1.045 GB, free: 79.48 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.955e-05/0.8614, allocations: 12.84 kB / 1.045 GB, free: 79.48 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0005446/0.862, allocations: 407.9 kB / 1.045 GB, free: 79.39 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.31e-07/0.862, allocations: 0 / 1.045 GB, free: 79.39 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.001491/0.8635, allocations: 302.4 kB / 1.045 GB, free: 79.39 MB / 0.7448 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 (31): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,2), (1,2), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001497/0.8636, allocations: 110 kB / 1.045 GB, free: 79.3 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.004118/0.8678, allocations: 2.343 MB / 1.048 GB, free: 77.96 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.8678, allocations: 1.062 kB / 1.048 GB, free: 77.96 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.001328/0.8691, allocations: 1.003 MB / 1.049 GB, free: 77.29 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001176/0.8703, allocations: 211.6 kB / 1.049 GB, free: 77.28 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003222/0.8735, allocations: 1.837 MB / 1.051 GB, free: 76.36 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007406/0.8743, allocations: 0.9988 MB / 1.052 GB, free: 75.65 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.000812/0.8751, allocations: 150.3 kB / 1.052 GB, free: 75.62 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001621/0.8753, allocations: 48.02 kB / 1.052 GB, free: 75.62 MB / 0.7448 GB Notification: Performance of SimCode: time 8.42e-07/0.8753, allocations: 0 / 1.052 GB, free: 75.62 MB / 0.7448 GB Notification: Performance of Templates: time 0.02703/0.9023, allocations: 13.23 MB / 1.065 GB, free: 75.15 MB / 0.7448 GB make -j1 -f Buildings_8_Buildings.Electrical.DC.Lines.Examples.DCLine.makefile (rm -f Buildings_8_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe ; mkfifo Buildings_8_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe >> ../files/Buildings_8_Buildings.Electrical.DC.Lines.Examples.DCLine.sim & ./Buildings_8_Buildings.Electrical.DC.Lines.Examples.DCLine -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe 2>&1)