Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.DCLine.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 7.0.3-maint.7.0.x/package.mo", uses=false) 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) 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.DCLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.DCLine") translateModel(Buildings.Electrical.DC.Lines.Examples.DCLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.DCLine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001406/0.001406, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001813/0.001813, allocations: 191.1 kB / 16.13 MB, free: 6.707 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.556/1.556, allocations: 205.1 MB / 222 MB, free: 4.781 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.594/1.594, allocations: 251.6 MB / 0.5088 GB, free: 3.375 MB / 414.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.001493/0.001493, allocations: 67.86 kB / 0.6216 GB, free: 2.039 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6422/0.6437, allocations: 104.7 MB / 0.7238 GB, free: 13.2 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLine): time 0.008549/0.6523, allocations: 6.263 MB / 0.7299 GB, free: 6.906 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.006951/0.6593, allocations: 4.551 MB / 0.7344 GB, free: 2.34 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008067/0.6601, allocations: 19.88 kB / 0.7344 GB, free: 2.32 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.002404/0.6626, allocations: 0.8549 MB / 0.7352 GB, free: 1.465 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.002736/0.6653, allocations: 0.7074 MB / 0.7359 GB, free: 0.7539 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009/0.6663, allocations: 294.9 kB / 0.7362 GB, free: 480 kB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001925/0.6682, allocations: 1.444 MB / 0.7376 GB, free: 15.02 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007081/0.6689, allocations: 479.5 kB / 0.7381 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006328/0.6696, allocations: 426.3 kB / 0.7385 GB, free: 14.13 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007172/0.6703, allocations: 0.4981 MB / 0.7389 GB, free: 13.63 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.000105/0.6704, allocations: 44 kB / 0.739 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007137/0.6711, allocations: 315.4 kB / 0.7393 GB, free: 13.28 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002415/0.6714, allocations: 223.2 kB / 0.7395 GB, free: 13.06 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004173/0.6718, allocations: 385.9 kB / 0.7399 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001074/0.6729, allocations: 1.055 MB / 0.7409 GB, free: 11.62 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.96e-06/0.6729, allocations: 4 kB / 0.7409 GB, free: 11.62 MB / 0.5606 GB Notification: Performance of FrontEnd: time 3.146e-06/0.6729, allocations: 3.984 kB / 0.7409 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.607e-05/0.6729, allocations: 0 / 0.7409 GB, free: 11.61 MB / 0.5606 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.002128/0.6751, allocations: 1.091 MB / 0.742 GB, free: 10.47 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.088e-05/0.6751, allocations: 8.031 kB / 0.742 GB, free: 10.46 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003217/0.6783, allocations: 0.6358 MB / 0.7426 GB, free: 9.824 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009273/0.6793, allocations: 0.5424 MB / 0.7431 GB, free: 9.242 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.261e-05/0.6793, allocations: 37.69 kB / 0.7432 GB, free: 9.203 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.469e-05/0.6794, allocations: 56.11 kB / 0.7432 GB, free: 9.148 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002033/0.6815, allocations: 1.018 MB / 0.7442 GB, free: 8.086 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.67e-05/0.6815, allocations: 0 / 0.7442 GB, free: 8.086 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.208e-05/0.6816, allocations: 20 kB / 0.7442 GB, free: 8.066 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.123e-05/0.6817, allocations: 49.28 kB / 0.7443 GB, free: 8.02 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002285/0.684, allocations: 1.012 MB / 0.7453 GB, free: 7.008 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004657/0.6886, allocations: 3.494 MB / 0.7487 GB, free: 3.207 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001381/0.69, allocations: 490.4 kB / 0.7491 GB, free: 2.719 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005169/0.6906, allocations: 233.2 kB / 0.7494 GB, free: 2.488 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 4.834e-05/0.6906, allocations: 4 kB / 0.7494 GB, free: 2.484 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.017e-05/0.6907, allocations: 46.48 kB / 0.7494 GB, free: 2.43 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=31): time 2.194e-06/0.6907, allocations: 0 / 0.7494 GB, free: 2.43 MB / 0.5606 GB Notification: Performance of matching and sorting (n=43): time 0.006473/0.6971, allocations: 2.013 MB / 0.7514 GB, free: 380 kB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.771e-05/0.6972, allocations: 55.41 kB / 0.7514 GB, free: 312 kB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007789/0.698, allocations: 0.5665 MB / 0.752 GB, free: 15.73 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.57e-05/0.6981, allocations: 37.7 kB / 0.752 GB, free: 15.68 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002541/0.6983, allocations: 352.2 kB / 0.7524 GB, free: 15.34 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001303/0.6985, allocations: 149.8 kB / 0.7525 GB, free: 15.19 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001763/0.6987, allocations: 94.14 kB / 0.7526 GB, free: 15.09 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001676/0.6988, allocations: 378.7 kB / 0.753 GB, free: 14.71 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006379/0.6995, allocations: 254.9 kB / 0.7532 GB, free: 14.46 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000696/0.7002, allocations: 361.8 kB / 0.7535 GB, free: 14.06 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001318/0.7015, allocations: 0.6148 MB / 0.7541 GB, free: 13.41 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.108e-06/0.7015, allocations: 4 kB / 0.7542 GB, free: 13.4 MB / 0.5762 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.002436/0.704, allocations: 0.9349 MB / 0.7551 GB, free: 12.44 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.815e-05/0.704, allocations: 8 kB / 0.7551 GB, free: 12.43 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.073e-05/0.704, allocations: 4 kB / 0.7551 GB, free: 12.43 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001187/0.7052, allocations: 277.1 kB / 0.7553 GB, free: 12.14 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006133/0.7058, allocations: 111.8 kB / 0.7554 GB, free: 12.03 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00762/0.7135, allocations: 8.458 MB / 0.7637 GB, free: 2.781 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007147/0.7142, allocations: 47.94 kB / 0.7638 GB, free: 2.734 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.412e-05/0.7143, allocations: 16 kB / 0.7638 GB, free: 2.719 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009378/0.7152, allocations: 433.1 kB / 0.7642 GB, free: 2.293 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007089/0.7159, allocations: 357.4 kB / 0.7645 GB, free: 1.902 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001327/0.7173, allocations: 0.6129 MB / 0.7651 GB, free: 1.246 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.137e-06/0.7173, allocations: 4 kB / 0.7651 GB, free: 1.242 MB / 0.5762 GB Notification: Performance of matching and sorting (n=59) (initialization_lambda0): time 0.002473/0.7198, allocations: 1.121 MB / 0.7662 GB, free: 40 kB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.447e-05/0.7198, allocations: 8 kB / 0.7662 GB, free: 32 kB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.7198, allocations: 4 kB / 0.7662 GB, free: 28 kB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008243/0.7206, allocations: 217 kB / 0.7664 GB, free: 15.8 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006008/0.7213, allocations: 123.8 kB / 0.7666 GB, free: 15.68 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006733/0.728, allocations: 8.161 MB / 0.7745 GB, free: 6.719 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007139/0.7287, allocations: 43.95 kB / 0.7746 GB, free: 6.676 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.603e-05/0.7288, allocations: 20 kB / 0.7746 GB, free: 6.656 MB / 0.5919 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.0002612/0.7291, allocations: 216.9 kB / 0.7748 GB, free: 6.438 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001247/0.7292, allocations: 71.14 kB / 0.7749 GB, free: 6.367 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001829/0.7294, allocations: 78.38 kB / 0.7749 GB, free: 6.285 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/0.7294, allocations: 4 kB / 0.7749 GB, free: 6.281 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.369e-05/0.7294, allocations: 4 kB / 0.7749 GB, free: 6.277 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.7294, allocations: 0 / 0.7749 GB, free: 6.277 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008521/0.7303, allocations: 0.6572 MB / 0.7756 GB, free: 5.57 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.786e-06/0.7303, allocations: 0 / 0.7756 GB, free: 5.57 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005002/0.7308, allocations: 83.91 kB / 0.7757 GB, free: 5.488 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009849/0.7318, allocations: 264.8 kB / 0.7759 GB, free: 5.211 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.777e-05/0.7318, allocations: 8 kB / 0.7759 GB, free: 5.203 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007243/0.7391, allocations: 8.4 MB / 0.7841 GB, free: 12 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.7391, allocations: 0 / 0.7841 GB, free: 12 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002316/0.7415, allocations: 0.9054 MB / 0.785 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003485/0.7418, allocations: 192.1 kB / 0.7852 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001175/0.742, allocations: 4 kB / 0.7852 GB, free: 10.85 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005135/0.7425, allocations: 43.95 kB / 0.7852 GB, free: 10.81 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00017/0.7427, allocations: 39.88 kB / 0.7853 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.566e-05/0.7427, allocations: 16 kB / 0.7853 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0005512/0.7433, allocations: 403.1 kB / 0.7857 GB, free: 10.37 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7433, allocations: 0 / 0.7857 GB, free: 10.37 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001389/0.7447, allocations: 304 kB / 0.786 GB, free: 10.07 MB / 0.6075 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.0002207/0.7449, allocations: 107.2 kB / 0.7861 GB, free: 9.957 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.004212/0.7491, allocations: 2.342 MB / 0.7884 GB, free: 7.461 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 6.542e-06/0.7491, allocations: 0 / 0.7884 GB, free: 7.461 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.001528/0.7507, allocations: 1.004 MB / 0.7893 GB, free: 6.379 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001173/0.7519, allocations: 209.3 kB / 0.7895 GB, free: 6.172 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003133/0.755, allocations: 1.567 MB / 0.7911 GB, free: 4.578 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009167/0.756, allocations: 0.9821 MB / 0.792 GB, free: 3.57 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0008424/0.7568, allocations: 153.3 kB / 0.7922 GB, free: 3.418 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001683/0.757, allocations: 43.44 kB / 0.7922 GB, free: 3.379 MB / 0.6075 GB Notification: Performance of SimCode: time 1.252e-06/0.757, allocations: 4 kB / 0.7922 GB, free: 3.375 MB / 0.6075 GB Notification: Performance of Templates: time 0.02571/0.7827, allocations: 12.82 MB / 0.8047 GB, free: 6.695 MB / 0.6231 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.DCLine.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.DCLine.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.DCLine -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe 2>&1)