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.001112/0.001113, allocations: 109.5 kB / 16.41 MB, free: 6.496 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.001284/0.001285, allocations: 191.9 kB / 17.34 MB, free: 5.762 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.369/1.369, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7299/0.7299, allocations: 115.3 MB / 406.5 MB, free: 6.211 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001375/0.001375, allocations: 71.52 kB / 0.5577 GB, free: 32.26 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1908/0.1922, allocations: 76.18 MB / 0.6321 GB, free: 4.438 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Lines.Examples.DCLine): time 0.008596/0.2008, allocations: 6.265 MB / 0.6382 GB, free: 14.14 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.006946/0.2078, allocations: 4.542 MB / 0.6426 GB, free: 9.582 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006363/0.2085, allocations: 23.88 kB / 0.6426 GB, free: 9.559 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00245/0.211, allocations: 0.913 MB / 0.6435 GB, free: 8.645 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002153/0.2132, allocations: 0.788 MB / 0.6443 GB, free: 7.855 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007251/0.2139, allocations: 318.5 kB / 0.6446 GB, free: 7.547 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001374/0.2153, allocations: 1.129 MB / 0.6457 GB, free: 6.414 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008848/0.2162, allocations: 0.681 MB / 0.6464 GB, free: 5.723 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006056/0.2168, allocations: 490.2 kB / 0.6468 GB, free: 5.242 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000697/0.2175, allocations: 0.4942 MB / 0.6473 GB, free: 4.746 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.722e-05/0.2176, allocations: 72 kB / 0.6474 GB, free: 4.676 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005326/0.2182, allocations: 275.5 kB / 0.6476 GB, free: 4.406 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002367/0.2184, allocations: 255.2 kB / 0.6479 GB, free: 4.156 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003715/0.2188, allocations: 413.9 kB / 0.6483 GB, free: 3.75 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001101/0.2199, allocations: 1.075 MB / 0.6493 GB, free: 2.672 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.2199, allocations: 0 / 0.6493 GB, free: 2.672 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.003e-06/0.2199, allocations: 0 / 0.6493 GB, free: 2.672 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.076e-05/0.2199, allocations: 4 kB / 0.6493 GB, free: 2.668 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.001828/0.2218, allocations: 1.087 MB / 0.6504 GB, free: 1.531 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.876e-05/0.2218, allocations: 12.03 kB / 0.6504 GB, free: 1.52 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00304/0.2249, allocations: 0.6242 MB / 0.651 GB, free: 0.8945 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009114/0.2258, allocations: 0.5775 MB / 0.6516 GB, free: 284 kB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.594e-05/0.2258, allocations: 45.56 kB / 0.6516 GB, free: 236 kB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.225e-05/0.2259, allocations: 56.12 kB / 0.6517 GB, free: 180 kB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001934/0.2279, allocations: 1.014 MB / 0.6527 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.822e-05/0.2279, allocations: 0 / 0.6527 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.383e-05/0.228, allocations: 24 kB / 0.6527 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.904e-05/0.2281, allocations: 45.28 kB / 0.6527 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002271/0.2303, allocations: 1.008 MB / 0.6537 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004208/0.2346, allocations: 3.478 MB / 0.6571 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001422/0.236, allocations: 498.3 kB / 0.6576 GB, free: 9.758 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005552/0.2366, allocations: 232.6 kB / 0.6578 GB, free: 9.527 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.482e-05/0.2366, allocations: 4 kB / 0.6578 GB, free: 9.523 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.357e-05/0.2366, allocations: 34.56 kB / 0.6579 GB, free: 9.48 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=31): time 3.737e-06/0.2367, allocations: 0 / 0.6579 GB, free: 9.48 MB / 0.4981 GB Notification: Performance of matching and sorting (n=43): time 0.006901/0.2436, allocations: 2.033 MB / 0.6598 GB, free: 7.402 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.652e-05/0.2436, allocations: 59.34 kB / 0.6599 GB, free: 7.332 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007205/0.2444, allocations: 0.5627 MB / 0.6604 GB, free: 6.762 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.41e-05/0.2444, allocations: 29.7 kB / 0.6605 GB, free: 6.727 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002776/0.2447, allocations: 360.2 kB / 0.6608 GB, free: 6.371 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001497/0.2449, allocations: 145.8 kB / 0.661 GB, free: 6.227 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001624/0.245, allocations: 94.16 kB / 0.661 GB, free: 6.129 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001944/0.2452, allocations: 374.7 kB / 0.6614 GB, free: 5.754 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006691/0.2459, allocations: 258.9 kB / 0.6616 GB, free: 5.496 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007124/0.2466, allocations: 361.8 kB / 0.662 GB, free: 5.102 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001325/0.248, allocations: 0.6187 MB / 0.6626 GB, free: 4.441 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.248, allocations: 4 kB / 0.6626 GB, free: 4.438 MB / 0.4981 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.002356/0.2504, allocations: 0.931 MB / 0.6635 GB, free: 3.48 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.268e-05/0.2504, allocations: 6.531 kB / 0.6635 GB, free: 3.477 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.548e-06/0.2504, allocations: 8 kB / 0.6635 GB, free: 3.469 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00111/0.2515, allocations: 276.8 kB / 0.6638 GB, free: 3.18 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006022/0.2521, allocations: 111.8 kB / 0.6639 GB, free: 3.07 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008126/0.2603, allocations: 9.121 MB / 0.6728 GB, free: 9.117 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007399/0.261, allocations: 39.95 kB / 0.6728 GB, free: 9.078 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.128e-05/0.2611, allocations: 20 kB / 0.6729 GB, free: 9.059 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009457/0.262, allocations: 441 kB / 0.6733 GB, free: 8.621 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006835/0.2627, allocations: 361.4 kB / 0.6736 GB, free: 8.227 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001316/0.2641, allocations: 0.6129 MB / 0.6742 GB, free: 7.57 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.458e-06/0.2641, allocations: 3.984 kB / 0.6742 GB, free: 7.566 MB / 0.5137 GB Notification: Performance of matching and sorting (n=59) (initialization_lambda0): time 0.002437/0.2665, allocations: 1.109 MB / 0.6753 GB, free: 6.375 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.423e-05/0.2665, allocations: 15.92 kB / 0.6753 GB, free: 6.359 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.518e-06/0.2666, allocations: 0 / 0.6753 GB, free: 6.359 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000808/0.2674, allocations: 225.2 kB / 0.6755 GB, free: 6.121 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005998/0.268, allocations: 119.8 kB / 0.6757 GB, free: 6.004 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006507/0.2745, allocations: 8.799 MB / 0.6842 GB, free: 12.36 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000675/0.2752, allocations: 39.95 kB / 0.6843 GB, free: 12.32 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.067e-05/0.2753, allocations: 23.98 kB / 0.6843 GB, free: 12.3 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.0002306/0.2755, allocations: 216.2 kB / 0.6845 GB, free: 12.08 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001059/0.2756, allocations: 63.25 kB / 0.6846 GB, free: 12.02 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001857/0.2758, allocations: 78.38 kB / 0.6847 GB, free: 11.93 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.877e-06/0.2758, allocations: 11.94 kB / 0.6847 GB, free: 11.92 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.192e-05/0.2758, allocations: 0 / 0.6847 GB, free: 11.92 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.592e-06/0.2758, allocations: 3.984 kB / 0.6847 GB, free: 11.92 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008416/0.2767, allocations: 0.6377 MB / 0.6853 GB, free: 11.23 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.773e-06/0.2767, allocations: 4 kB / 0.6853 GB, free: 11.23 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004931/0.2772, allocations: 91.84 kB / 0.6854 GB, free: 11.14 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009667/0.2782, allocations: 261 kB / 0.6856 GB, free: 10.86 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.414e-05/0.2782, allocations: 8 kB / 0.6856 GB, free: 10.86 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006975/0.2852, allocations: 9.065 MB / 0.6945 GB, free: 0.9531 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.2852, allocations: 3.938 kB / 0.6945 GB, free: 0.9492 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002309/0.2875, allocations: 0.917 MB / 0.6954 GB, free: 15.99 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003094/0.2879, allocations: 184.2 kB / 0.6956 GB, free: 15.8 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.177e-05/0.288, allocations: 12 kB / 0.6956 GB, free: 15.79 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004843/0.2884, allocations: 39.94 kB / 0.6956 GB, free: 15.75 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001437/0.2886, allocations: 31.95 kB / 0.6956 GB, free: 15.71 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.442e-05/0.2886, allocations: 16 kB / 0.6957 GB, free: 15.7 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0005099/0.2892, allocations: 411 kB / 0.6961 GB, free: 15.3 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.41e-07/0.2892, allocations: 4 kB / 0.6961 GB, free: 15.3 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001133/0.2903, allocations: 304 kB / 0.6963 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.0001566/0.2905, allocations: 100.3 kB / 0.6964 GB, free: 14.9 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.003728/0.2942, allocations: 2.36 MB / 0.6987 GB, free: 12.38 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.709e-06/0.2942, allocations: 0 / 0.6987 GB, free: 12.38 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001478/0.2957, allocations: 0.996 MB / 0.6997 GB, free: 11.31 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001056/0.2968, allocations: 236.8 kB / 0.6999 GB, free: 11.08 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002329/0.2991, allocations: 1.294 MB / 0.7012 GB, free: 9.762 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000615/0.2998, allocations: 0.9819 MB / 0.7022 GB, free: 8.75 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0004835/0.3002, allocations: 153.4 kB / 0.7023 GB, free: 8.598 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001229/0.3004, allocations: 43.44 kB / 0.7024 GB, free: 8.555 MB / 0.545 GB Notification: Performance of SimCode: time 5.91e-07/0.3004, allocations: 0 / 0.7024 GB, free: 8.555 MB / 0.545 GB Notification: Performance of Templates: time 0.02216/0.3225, allocations: 13.58 MB / 0.7156 GB, free: 11.11 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)