Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(IBPSA.Electrical.DC.Lines.Examples.DCLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.DCLine") translateModel(IBPSA.Electrical.DC.Lines.Examples.DCLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001222/0.001222, allocations: 110.9 kB / 16.41 MB, free: 6.027 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.001404/0.001404, allocations: 190.3 kB / 17.34 MB, free: 5.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.352/1.352, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7116/0.7116, allocations: 115.3 MB / 406.5 MB, free: 6.16 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002064/0.002064, allocations: 60.36 kB / 0.5577 GB, free: 32.25 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1561/0.1582, allocations: 76.19 MB / 0.6321 GB, free: 4.434 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Lines.Examples.DCLine): time 0.007708/0.1659, allocations: 6.263 MB / 0.6382 GB, free: 14.14 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.00631/0.1723, allocations: 4.534 MB / 0.6426 GB, free: 9.59 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004257/0.1727, allocations: 27.88 kB / 0.6426 GB, free: 9.562 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002369/0.1751, allocations: 0.9166 MB / 0.6435 GB, free: 8.645 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001888/0.177, allocations: 0.7958 MB / 0.6443 GB, free: 7.848 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006841/0.1777, allocations: 321.6 kB / 0.6446 GB, free: 7.535 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001199/0.1789, allocations: 1.133 MB / 0.6457 GB, free: 6.398 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008129/0.1797, allocations: 0.6771 MB / 0.6464 GB, free: 5.711 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000559/0.1803, allocations: 490.3 kB / 0.6468 GB, free: 5.23 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000629/0.1809, allocations: 0.4942 MB / 0.6473 GB, free: 4.734 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001102/0.1811, allocations: 68 kB / 0.6474 GB, free: 4.668 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000467/0.1815, allocations: 287.5 kB / 0.6477 GB, free: 4.387 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002106/0.1817, allocations: 247.2 kB / 0.6479 GB, free: 4.145 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003709/0.1821, allocations: 406 kB / 0.6483 GB, free: 3.746 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001058/0.1832, allocations: 1.086 MB / 0.6493 GB, free: 2.656 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.1832, allocations: 0 / 0.6493 GB, free: 2.656 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.1832, allocations: 0 / 0.6493 GB, free: 2.656 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.268e-05/0.1832, allocations: 4 kB / 0.6494 GB, free: 2.652 MB / 494.1 MB 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.001744/0.185, allocations: 1.083 MB / 0.6504 GB, free: 1.52 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.482e-05/0.185, allocations: 12.02 kB / 0.6504 GB, free: 1.508 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003254/0.1883, allocations: 0.632 MB / 0.651 GB, free: 0.875 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008606/0.1892, allocations: 0.5775 MB / 0.6516 GB, free: 264 kB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.218e-05/0.1892, allocations: 33.69 kB / 0.6516 GB, free: 228 kB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.721e-05/0.1893, allocations: 63.98 kB / 0.6517 GB, free: 164 kB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001912/0.1912, allocations: 1.018 MB / 0.6527 GB, free: 15.1 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.545e-05/0.1913, allocations: 0 / 0.6527 GB, free: 15.1 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.997e-05/0.1913, allocations: 20 kB / 0.6527 GB, free: 15.08 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.033e-05/0.1914, allocations: 49.28 kB / 0.6528 GB, free: 15.03 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002314/0.1937, allocations: 1.004 MB / 0.6537 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003921/0.1976, allocations: 3.478 MB / 0.6571 GB, free: 10.24 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001495/0.1992, allocations: 498.3 kB / 0.6576 GB, free: 9.742 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005545/0.1997, allocations: 228.7 kB / 0.6578 GB, free: 9.516 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.987e-05/0.1998, allocations: 4 kB / 0.6578 GB, free: 9.512 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.735e-05/0.1998, allocations: 38.56 kB / 0.6579 GB, free: 9.465 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=31): time 1.884e-06/0.1998, allocations: 0 / 0.6579 GB, free: 9.465 MB / 0.4981 GB Notification: Performance of matching and sorting (n=43): time 0.007055/0.2069, allocations: 2.025 MB / 0.6598 GB, free: 7.395 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.148e-05/0.2069, allocations: 55.41 kB / 0.6599 GB, free: 7.328 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006872/0.2076, allocations: 0.5705 MB / 0.6605 GB, free: 6.75 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.238e-05/0.2077, allocations: 37.64 kB / 0.6605 GB, free: 6.707 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002348/0.2079, allocations: 348.2 kB / 0.6608 GB, free: 6.363 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001352/0.2081, allocations: 157.8 kB / 0.661 GB, free: 6.207 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001528/0.2082, allocations: 90.16 kB / 0.6611 GB, free: 6.113 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001691/0.2084, allocations: 378.7 kB / 0.6614 GB, free: 5.734 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007193/0.2091, allocations: 258.9 kB / 0.6617 GB, free: 5.477 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007873/0.2099, allocations: 357.8 kB / 0.662 GB, free: 5.086 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001482/0.2114, allocations: 0.6226 MB / 0.6626 GB, free: 4.422 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.947e-06/0.2114, allocations: 4 kB / 0.6626 GB, free: 4.418 MB / 0.4981 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.002389/0.2138, allocations: 0.9274 MB / 0.6635 GB, free: 3.465 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.385e-05/0.2139, allocations: 12.03 kB / 0.6635 GB, free: 3.453 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.377e-06/0.2139, allocations: 4 kB / 0.6635 GB, free: 3.449 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001112/0.215, allocations: 272.8 kB / 0.6638 GB, free: 3.164 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006522/0.2157, allocations: 115.8 kB / 0.6639 GB, free: 3.051 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007656/0.2233, allocations: 9.116 MB / 0.6728 GB, free: 9.102 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006268/0.224, allocations: 47.98 kB / 0.6729 GB, free: 9.055 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.866e-05/0.224, allocations: 16 kB / 0.6729 GB, free: 9.039 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009042/0.2249, allocations: 437 kB / 0.6733 GB, free: 8.605 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007202/0.2257, allocations: 363.7 kB / 0.6736 GB, free: 8.211 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001383/0.2271, allocations: 0.6129 MB / 0.6742 GB, free: 7.555 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.338e-06/0.2271, allocations: 4 kB / 0.6742 GB, free: 7.551 MB / 0.5137 GB Notification: Performance of matching and sorting (n=59) (initialization_lambda0): time 0.002465/0.2295, allocations: 1.113 MB / 0.6753 GB, free: 6.355 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.233e-05/0.2296, allocations: 7.938 kB / 0.6753 GB, free: 6.348 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.2296, allocations: 4 kB / 0.6753 GB, free: 6.344 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007853/0.2304, allocations: 221.2 kB / 0.6756 GB, free: 6.109 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006207/0.231, allocations: 123.8 kB / 0.6757 GB, free: 5.988 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006463/0.2375, allocations: 8.795 MB / 0.6843 GB, free: 12.35 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006029/0.2381, allocations: 43.98 kB / 0.6843 GB, free: 12.3 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.416e-05/0.2382, allocations: 23.92 kB / 0.6843 GB, free: 12.28 MB / 0.5294 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.0002049/0.2384, allocations: 208.2 kB / 0.6845 GB, free: 12.07 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001372/0.2385, allocations: 67.25 kB / 0.6846 GB, free: 12 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001867/0.2387, allocations: 78.38 kB / 0.6847 GB, free: 11.92 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.199e-06/0.2387, allocations: 4 kB / 0.6847 GB, free: 11.92 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.808e-06/0.2387, allocations: 7.938 kB / 0.6847 GB, free: 11.91 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.633e-06/0.2387, allocations: 3.984 kB / 0.6847 GB, free: 11.91 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008443/0.2396, allocations: 0.6455 MB / 0.6853 GB, free: 11.21 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.2396, allocations: 0 / 0.6853 GB, free: 11.21 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005073/0.2401, allocations: 95.84 kB / 0.6854 GB, free: 11.12 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009716/0.2411, allocations: 261 kB / 0.6856 GB, free: 10.84 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.899e-05/0.2412, allocations: 8 kB / 0.6857 GB, free: 10.84 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006911/0.2481, allocations: 9.062 MB / 0.6945 GB, free: 0.9375 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.2481, allocations: 0 / 0.6945 GB, free: 0.9375 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002294/0.2504, allocations: 0.9209 MB / 0.6954 GB, free: 15.98 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002764/0.2507, allocations: 188.1 kB / 0.6956 GB, free: 15.78 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.09e-05/0.2508, allocations: 4 kB / 0.6956 GB, free: 15.77 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005155/0.2513, allocations: 35.95 kB / 0.6956 GB, free: 15.74 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001204/0.2514, allocations: 39.94 kB / 0.6957 GB, free: 15.7 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.219e-05/0.2515, allocations: 12 kB / 0.6957 GB, free: 15.69 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0004944/0.252, allocations: 403.1 kB / 0.6961 GB, free: 15.3 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.673e-06/0.252, allocations: 4 kB / 0.6961 GB, free: 15.3 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001058/0.2531, allocations: 307.9 kB / 0.6964 GB, free: 15 MB / 0.545 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.0001506/0.2532, allocations: 107.6 kB / 0.6965 GB, free: 14.88 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.003886/0.2571, allocations: 2.352 MB / 0.6988 GB, free: 12.38 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.91e-06/0.2571, allocations: 3.984 kB / 0.6988 GB, free: 12.37 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001444/0.2586, allocations: 1.004 MB / 0.6997 GB, free: 11.29 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001075/0.2597, allocations: 232.5 kB / 0.7 GB, free: 11.07 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002683/0.2624, allocations: 1.293 MB / 0.7012 GB, free: 9.75 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006878/0.2631, allocations: 0.9858 MB / 0.7022 GB, free: 8.734 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.000532/0.2636, allocations: 153.3 kB / 0.7023 GB, free: 8.582 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001369/0.2637, allocations: 39.44 kB / 0.7024 GB, free: 8.543 MB / 0.545 GB Notification: Performance of SimCode: time 7.41e-07/0.2638, allocations: 0 / 0.7024 GB, free: 8.543 MB / 0.545 GB Notification: Performance of Templates: time 0.02399/0.2878, allocations: 13.59 MB / 0.7156 GB, free: 11.09 MB / 0.5606 GB make -j1 -f IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.DCLine.makefile (rm -f IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.DCLine.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.DCLine.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.DCLine.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.DCLine.sim & ./IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.DCLine -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.DCLine.pipe 2>&1)