Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.DCLines.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Electrical.DC.Lines.Examples.DCLines,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.DCLines") translateModel(Buildings.Electrical.DC.Lines.Examples.DCLines,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.DCLines") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.404/1.404, allocations: 252 MB / 267.6 MB, free: 10.91 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001056/0.001056, allocations: 175.4 kB / 327.3 MB, free: 2.227 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.805/1.805, allocations: 205.4 MB / 0.5783 GB, free: 20.54 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009278/0.0009274, allocations: 98.06 kB / 0.6829 GB, free: 13.32 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003234/0.0003237, allocations: 9.844 kB / 0.797 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2157/0.216, allocations: 106.3 MB / 0.9008 GB, free: 64.3 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLines): time 0.01514/0.2312, allocations: 20.23 MB / 0.9206 GB, free: 44 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.01839/0.2497, allocations: 16.52 MB / 0.9367 GB, free: 27.44 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00338/0.2531, allocations: 103.4 kB / 0.9368 GB, free: 27.34 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.001994/0.2551, allocations: 0.5619 MB / 0.9374 GB, free: 26.77 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.008634/0.2638, allocations: 2.852 MB / 0.9401 GB, free: 23.92 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.003595/0.2674, allocations: 0.957 MB / 0.9411 GB, free: 22.96 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.007673/0.2751, allocations: 5.77 MB / 0.9467 GB, free: 17.18 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00319/0.2783, allocations: 2.017 MB / 0.9487 GB, free: 15.09 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003378/0.2817, allocations: 1.871 MB / 0.9505 GB, free: 13.21 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003779/0.2855, allocations: 2.167 MB / 0.9526 GB, free: 11.04 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.0005957/0.2862, allocations: 164 kB / 0.9528 GB, free: 10.88 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001879/0.288, allocations: 0.4955 MB / 0.9533 GB, free: 10.38 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0007714/0.2888, allocations: 0.9224 MB / 0.9542 GB, free: 9.457 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.00108/0.2899, allocations: 0.6873 MB / 0.9548 GB, free: 8.762 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.003197/0.2931, allocations: 3.822 MB / 0.9586 GB, free: 4.93 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.802e-06/0.2931, allocations: 0 / 0.9586 GB, free: 4.93 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.565e-06/0.2932, allocations: 4 kB / 0.9586 GB, free: 4.926 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 9.282e-05/0.2933, allocations: 0 / 0.9586 GB, free: 4.926 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 635 * Number of variables: 635 Notification: Performance of Generate backend data structure: time 0.00701/0.3003, allocations: 3.883 MB / 0.9624 GB, free: 0.9336 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.165e-05/0.3003, allocations: 8.031 kB / 0.9624 GB, free: 0.9258 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0154/0.3157, allocations: 3.362 MB / 0.9657 GB, free: 13.55 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004499/0.3203, allocations: 1.96 MB / 0.9676 GB, free: 11.53 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001877/0.3205, allocations: 176.7 kB / 0.9677 GB, free: 11.35 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005889/0.3211, allocations: 232 kB / 0.968 GB, free: 11.12 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01152/0.3326, allocations: 4.724 MB / 0.9726 GB, free: 6.254 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.884e-05/0.3327, allocations: 0 / 0.9726 GB, free: 6.254 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003316/0.3331, allocations: 108 kB / 0.9727 GB, free: 6.148 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002232/0.3333, allocations: 180.7 kB / 0.9729 GB, free: 5.969 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01333/0.3466, allocations: 5.222 MB / 0.978 GB, free: 0.7305 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02172/0.3684, allocations: 14.1 MB / 0.9917 GB, free: 1.457 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01106/0.3795, allocations: 3.854 MB / 0.9955 GB, free: 13.6 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003566/0.3831, allocations: 1.51 MB / 0.997 GB, free: 12.09 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 9.59e-05/0.3832, allocations: 29.28 kB / 0.997 GB, free: 12.06 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003998/0.3872, allocations: 1.812 MB / 0.9988 GB, free: 10.18 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=163): time 4.148e-06/0.3872, allocations: 4 kB / 0.9988 GB, free: 10.18 MB / 0.6511 GB Notification: Performance of matching and sorting (n=250): time 0.1193/0.5066, allocations: 33.4 MB / 1.031 GB, free: 8.555 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00024/0.5069, allocations: 0.5005 MB / 1.032 GB, free: 7.941 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003254/0.5101, allocations: 2.273 MB / 1.034 GB, free: 5.656 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.000432/0.5106, allocations: 77.7 kB / 1.034 GB, free: 5.574 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.001293/0.5119, allocations: 1.43 MB / 1.036 GB, free: 4.133 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008352/0.5127, allocations: 0.8163 MB / 1.036 GB, free: 3.305 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001672/0.5129, allocations: 48 kB / 1.036 GB, free: 3.258 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001786/0.5131, allocations: 402.6 kB / 1.037 GB, free: 2.859 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004679/0.5178, allocations: 1.917 MB / 1.039 GB, free: 0.9375 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004888/0.5227, allocations: 2.219 MB / 1.041 GB, free: 14.64 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005149/0.5278, allocations: 2.136 MB / 1.043 GB, free: 12.45 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.087e-06/0.5279, allocations: 0 / 1.043 GB, free: 12.45 MB / 0.698 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.01587/0.5438, allocations: 6.173 MB / 1.049 GB, free: 6.184 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002848/0.5441, allocations: 407.2 kB / 1.049 GB, free: 5.668 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.456e-05/0.5441, allocations: 4 kB / 1.049 GB, free: 5.664 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006563/0.5507, allocations: 1.852 MB / 1.051 GB, free: 3.805 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002996/0.5537, allocations: 0.5852 MB / 1.052 GB, free: 3.219 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.456/1.01, allocations: 14.15 MB / 1.066 GB, free: 136.5 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004264/1.014, allocations: 403.8 kB / 1.066 GB, free: 136.5 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004271/1.014, allocations: 89.03 kB / 1.066 GB, free: 136.5 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.694e-05/1.014, allocations: 6.188 kB / 1.066 GB, free: 136.5 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01733/1.032, allocations: 5.755 MB / 1.072 GB, free: 136 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-05/1.032, allocations: 5.109 kB / 1.072 GB, free: 136 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006058/1.038, allocations: 1.819 MB / 1.073 GB, free: 135.6 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003172/1.041, allocations: 0.6122 MB / 1.074 GB, free: 135.6 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01948/1.061, allocations: 13.43 MB / 1.087 GB, free: 128.7 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003747/1.064, allocations: 405.3 kB / 1.088 GB, free: 128.6 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002428/1.065, allocations: 88.72 kB / 1.088 GB, free: 128.6 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 25 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.varLoad1.T_start,varLoad1.T_start,$PRE.varLoad1.count,varLoad1.count,$PRE.varLoad2.T_start,varLoad2.T_start,$PRE.varLoad2.count,varLoad2.count,$PRE.varLoad3.T_start,varLoad3.T_start,$PRE.varLoad3.count,varLoad3.count,$PRE.varLoad4.T_start,varLoad4.T_start,$PRE.varLoad4.count,varLoad4.count,$PRE.varLoad5.T_start,varLoad5.T_start,$PRE.varLoad5.count,varLoad5.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (172): * Single equations (assignments): 165 * Array equations: 0 * Algorithm blocks: 5 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(10,45.0%) 52} * Non-linear torn systems: 1 {10 52} Notification: Performance of prepare postOptimizeDAE: time 0.001579/1.066, allocations: 0.7852 MB / 1.088 GB, free: 128.1 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004691/1.067, allocations: 331.7 kB / 1.089 GB, free: 127.9 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005223/1.067, allocations: 393.6 kB / 1.089 GB, free: 127.7 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.584e-05/1.067, allocations: 21.09 kB / 1.089 GB, free: 127.7 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.717e-05/1.067, allocations: 10.12 kB / 1.089 GB, free: 127.7 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.852e-05/1.067, allocations: 15.7 kB / 1.089 GB, free: 127.7 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004344/1.072, allocations: 3.161 MB / 1.092 GB, free: 126.4 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.183e-05/1.072, allocations: 0 / 1.092 GB, free: 126.4 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0027/1.075, allocations: 0.52 MB / 1.093 GB, free: 126.4 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005861/1.08, allocations: 1.719 MB / 1.094 GB, free: 125.7 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004107/1.081, allocations: 47.69 kB / 1.094 GB, free: 125.7 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01876/1.1, allocations: 13.95 MB / 1.108 GB, free: 114.5 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.716e-06/1.1, allocations: 1.203 kB / 1.108 GB, free: 114.5 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01407/1.114, allocations: 5.79 MB / 1.114 GB, free: 108.7 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001769/1.116, allocations: 0.6609 MB / 1.114 GB, free: 108 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006173/1.116, allocations: 48 kB / 1.114 GB, free: 107.9 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002944/1.119, allocations: 399.6 kB / 1.115 GB, free: 107.6 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007928/1.12, allocations: 313.7 kB / 1.115 GB, free: 107.3 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001665/1.12, allocations: 71.97 kB / 1.115 GB, free: 107.2 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001882/1.122, allocations: 1.505 MB / 1.117 GB, free: 105.7 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.5e-07/1.122, allocations: 0 / 1.117 GB, free: 105.7 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.004412/1.126, allocations: 1.625 MB / 1.118 GB, free: 104.1 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,varLoad1.T_start,varLoad1.count,varLoad2.T_start,varLoad2.count,varLoad3.T_start,varLoad3.count,varLoad4.T_start,varLoad4.count,varLoad5.T_start,varLoad5.count) * Number of discrete states: 5 (varLoad1.count,varLoad2.count,varLoad3.count,varLoad4.count,varLoad5.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (128): * Single equations (assignments): 116 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(10,60.0%) 52} * Non-linear torn systems: 1 {10 52} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003281/1.127, allocations: 168.1 kB / 1.118 GB, free: 103.9 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.02128/1.148, allocations: 10.07 MB / 1.128 GB, free: 93.62 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.271e-05/1.148, allocations: 128 / 1.128 GB, free: 93.62 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.007714/1.156, allocations: 3.488 MB / 1.132 GB, free: 90.11 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005971/1.162, allocations: 1.051 MB / 1.133 GB, free: 89.09 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01281/1.175, allocations: 7.759 MB / 1.14 GB, free: 81.32 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00174/1.177, allocations: 2.312 MB / 1.142 GB, free: 78.97 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001211/1.178, allocations: 199.4 kB / 1.143 GB, free: 78.77 MB / 0.698 GB Notification: Performance of SimCode: time 1.182e-06/1.178, allocations: 0 / 1.143 GB, free: 78.77 MB / 0.698 GB Notification: Performance of Templates: time 0.08779/1.266, allocations: 79.73 MB / 1.221 GB, free: 15.3 MB / 0.7136 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.DCLines.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.DCLines.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.DCLines.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.DCLines.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.DCLines.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.DCLines -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.DCLines.pipe 2>&1)