Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.DCLine.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.DCLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.DCLine") translateModel(Buildings.Electrical.DC.Lines.Examples.DCLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.DCLine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.632/1.632, allocations: 287.5 MB / 302.6 MB, free: 8.145 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.001052/0.001052, allocations: 185.7 kB / 371.2 MB, free: 10.76 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.766/1.766, allocations: 205.4 MB / 0.6298 GB, free: 10.57 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.0009341/0.0009341, allocations: 96.69 kB / 0.7432 GB, free: 6.551 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004273/0.0004273, allocations: 14.83 kB / 0.8661 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2683/0.2687, allocations: 115.3 MB / 0.9787 GB, free: 28.19 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLine): time 0.005561/0.2743, allocations: 5.546 MB / 0.9841 GB, free: 22.62 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.005662/0.28, allocations: 4.249 MB / 0.9882 GB, free: 18.36 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006699/0.2807, allocations: 19.88 kB / 0.9883 GB, free: 18.34 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.000512/0.2813, allocations: 142.9 kB / 0.9884 GB, free: 18.2 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.002121/0.2834, allocations: 0.6288 MB / 0.989 GB, free: 17.57 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007566/0.2842, allocations: 236.4 kB / 0.9892 GB, free: 17.34 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.001392/0.2856, allocations: 1.211 MB / 0.9904 GB, free: 16.12 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006935/0.2863, allocations: 0.5302 MB / 0.9909 GB, free: 15.57 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000739/0.287, allocations: 386.5 kB / 0.9913 GB, free: 15.19 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007948/0.2878, allocations: 466.3 kB / 0.9917 GB, free: 14.73 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 7.898e-05/0.2879, allocations: 32 kB / 0.9918 GB, free: 14.7 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004658/0.2884, allocations: 147.8 kB / 0.9919 GB, free: 14.56 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001866/0.2886, allocations: 203.3 kB / 0.9921 GB, free: 14.36 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001204/0.2887, allocations: 165.3 kB / 0.9923 GB, free: 14.19 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.000606/0.2893, allocations: 0.8142 MB / 0.9931 GB, free: 13.38 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.2893, allocations: 0 / 0.9931 GB, free: 13.38 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.753e-06/0.2894, allocations: 0 / 0.9931 GB, free: 13.38 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 8.316e-06/0.2894, allocations: 0 / 0.9931 GB, free: 13.38 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: 142 * Number of variables: 142 Notification: Performance of Generate backend data structure: time 0.001392/0.2908, allocations: 0.9623 MB / 0.994 GB, free: 12.36 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.414e-05/0.2908, allocations: 12.02 kB / 0.994 GB, free: 12.35 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002848/0.2937, allocations: 0.6514 MB / 0.9947 GB, free: 11.7 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007688/0.2945, allocations: 0.5462 MB / 0.9952 GB, free: 11.11 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.548e-05/0.2945, allocations: 41.62 kB / 0.9952 GB, free: 11.07 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.842e-05/0.2946, allocations: 52.12 kB / 0.9953 GB, free: 11.02 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001769/0.2964, allocations: 1.026 MB / 0.9963 GB, free: 9.949 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.226e-05/0.2964, allocations: 0 / 0.9963 GB, free: 9.949 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.037e-05/0.2965, allocations: 20 kB / 0.9963 GB, free: 9.93 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.695e-05/0.2966, allocations: 57.22 kB / 0.9963 GB, free: 9.871 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002077/0.2987, allocations: 1.008 MB / 0.9973 GB, free: 8.863 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003621/0.3023, allocations: 3.509 MB / 1.001 GB, free: 5.051 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001302/0.3036, allocations: 0.5218 MB / 1.001 GB, free: 4.52 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004903/0.3041, allocations: 249.2 kB / 1.002 GB, free: 4.273 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.212e-05/0.3042, allocations: 0 / 1.002 GB, free: 4.273 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.087e-05/0.3042, allocations: 42.55 kB / 1.002 GB, free: 4.223 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=31): time 2.314e-06/0.3042, allocations: 0 / 1.002 GB, free: 4.223 MB / 0.6198 GB Notification: Performance of matching and sorting (n=43): time 0.006187/0.3104, allocations: 2.223 MB / 1.004 GB, free: 1.953 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.088e-05/0.3104, allocations: 59.41 kB / 1.004 GB, free: 1.883 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005376/0.311, allocations: 0.5587 MB / 1.004 GB, free: 1.316 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.46e-05/0.311, allocations: 37.7 kB / 1.004 GB, free: 1.273 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001641/0.3112, allocations: 352.2 kB / 1.005 GB, free: 0.9258 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 8.853e-05/0.3113, allocations: 153.8 kB / 1.005 GB, free: 0.7734 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.415e-05/0.3113, allocations: 12 kB / 1.005 GB, free: 0.7617 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.678e-05/0.3114, allocations: 370.7 kB / 1.005 GB, free: 400 kB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005811/0.312, allocations: 272.9 kB / 1.005 GB, free: 124 kB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007686/0.3128, allocations: 385.8 kB / 1.006 GB, free: 15.7 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001436/0.3142, allocations: 0.6655 MB / 1.006 GB, free: 14.99 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.3143, allocations: 3.938 kB / 1.006 GB, free: 14.99 MB / 0.6355 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.002488/0.3167, allocations: 0.9703 MB / 1.007 GB, free: 13.99 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001472/0.3169, allocations: 180.2 kB / 1.008 GB, free: 13.77 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.434e-05/0.3169, allocations: 4 kB / 1.008 GB, free: 13.77 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001138/0.3181, allocations: 272.9 kB / 1.008 GB, free: 13.48 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006061/0.3187, allocations: 131.8 kB / 1.008 GB, free: 13.35 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008212/0.3269, allocations: 8.483 MB / 1.016 GB, free: 4.082 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007338/0.3277, allocations: 59.95 kB / 1.016 GB, free: 4.023 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.167e-05/0.3277, allocations: 19.98 kB / 1.016 GB, free: 4.004 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 9.388e-06/0.3278, allocations: 4 kB / 1.016 GB, free: 4 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002471/0.3302, allocations: 1.078 MB / 1.017 GB, free: 2.848 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.3303, allocations: 12.05 kB / 1.017 GB, free: 2.836 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007667/0.331, allocations: 221 kB / 1.018 GB, free: 2.602 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005993/0.3317, allocations: 131.8 kB / 1.018 GB, free: 2.473 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00626/0.3379, allocations: 8.156 MB / 1.026 GB, free: 9.516 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006849/0.3386, allocations: 56.02 kB / 1.026 GB, free: 9.461 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.675e-05/0.3387, allocations: 16 kB / 1.026 GB, free: 9.445 MB / 0.6511 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 (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 3 {1 2,1 2,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0004291/0.3391, allocations: 320.9 kB / 1.026 GB, free: 9.121 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.666e-05/0.3392, allocations: 67.25 kB / 1.026 GB, free: 9.055 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001374/0.3394, allocations: 78.38 kB / 1.026 GB, free: 8.973 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.629e-06/0.3394, allocations: 4 kB / 1.026 GB, free: 8.969 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.137e-06/0.3394, allocations: 0 / 1.026 GB, free: 8.969 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.471e-06/0.3394, allocations: 4 kB / 1.026 GB, free: 8.965 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007673/0.3402, allocations: 0.6572 MB / 1.027 GB, free: 8.258 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.302e-06/0.3402, allocations: 4 kB / 1.027 GB, free: 8.254 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005015/0.3407, allocations: 99.84 kB / 1.027 GB, free: 8.156 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000996/0.3417, allocations: 261 kB / 1.027 GB, free: 7.883 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.313e-05/0.3418, allocations: 8 kB / 1.027 GB, free: 7.875 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007192/0.349, allocations: 8.423 MB / 1.035 GB, free: 14.66 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.541e-06/0.349, allocations: 8.016 kB / 1.035 GB, free: 14.65 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002327/0.3513, allocations: 0.9599 MB / 1.036 GB, free: 13.65 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000294/0.3516, allocations: 180.3 kB / 1.037 GB, free: 13.46 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.951e-05/0.3517, allocations: 19.94 kB / 1.037 GB, free: 13.44 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004763/0.3522, allocations: 43.95 kB / 1.037 GB, free: 13.39 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001453/0.3524, allocations: 35.94 kB / 1.037 GB, free: 13.36 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.367e-05/0.3524, allocations: 16 kB / 1.037 GB, free: 13.34 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0005065/0.3529, allocations: 403.1 kB / 1.037 GB, free: 12.96 MB / 0.6667 GB Notification: Performance of sort global known variables: time 3.61e-07/0.3529, allocations: 0 / 1.037 GB, free: 12.96 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.001113/0.3541, allocations: 300 kB / 1.037 GB, free: 12.66 MB / 0.6667 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 (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 3 {1 2,1 2,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001806/0.3542, allocations: 103.2 kB / 1.037 GB, free: 12.55 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.003983/0.3582, allocations: 2.418 MB / 1.04 GB, free: 9.977 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.3583, allocations: 3.938 kB / 1.04 GB, free: 9.973 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.001435/0.3597, allocations: 1.027 MB / 1.041 GB, free: 8.867 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001125/0.3608, allocations: 204.6 kB / 1.041 GB, free: 8.672 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002606/0.3635, allocations: 1.535 MB / 1.043 GB, free: 7.109 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006175/0.3641, allocations: 0.9821 MB / 1.043 GB, free: 6.102 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0006707/0.3648, allocations: 149.4 kB / 1.044 GB, free: 5.953 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001294/0.3649, allocations: 43.42 kB / 1.044 GB, free: 5.91 MB / 0.6667 GB Notification: Performance of SimCode: time 6.01e-07/0.3649, allocations: 0 / 1.044 GB, free: 5.91 MB / 0.6667 GB Notification: Performance of Templates: time 0.02209/0.387, allocations: 12.51 MB / 1.056 GB, free: 9.531 MB / 0.6823 GB make -j1 -f Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.DCLine.makefile (rm -f Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.DCLine.sim & ./Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.DCLine -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe 2>&1)