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.001188/0.001188, allocations: 112.8 kB / 17.09 MB, free: 5.992 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.001178/0.001178, allocations: 194.9 kB / 18.03 MB, free: 5.066 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.339/1.339, allocations: 222.9 MB / 241.7 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7265/0.7265, allocations: 115.3 MB / 407.2 MB, free: 6.145 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001244/0.001244, allocations: 67.5 kB / 0.5583 GB, free: 32.27 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1758/0.1771, allocations: 76.18 MB / 0.6327 GB, free: 4.422 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Lines.Examples.DCLine): time 0.009732/0.1869, allocations: 6.268 MB / 0.6388 GB, free: 14.12 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.007193/0.1941, allocations: 4.538 MB / 0.6433 GB, free: 9.566 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005948/0.1947, allocations: 23.88 kB / 0.6433 GB, free: 9.543 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002526/0.1973, allocations: 0.9129 MB / 0.6442 GB, free: 8.629 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002552/0.1999, allocations: 0.777 MB / 0.6449 GB, free: 7.852 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008467/0.2007, allocations: 334.6 kB / 0.6453 GB, free: 7.527 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001503/0.2022, allocations: 1.129 MB / 0.6464 GB, free: 6.395 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008738/0.2031, allocations: 0.681 MB / 0.647 GB, free: 5.703 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006048/0.2037, allocations: 486.3 kB / 0.6475 GB, free: 5.227 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008308/0.2046, allocations: 498.1 kB / 0.648 GB, free: 4.738 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001087/0.2047, allocations: 72 kB / 0.648 GB, free: 4.668 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005975/0.2053, allocations: 279.5 kB / 0.6483 GB, free: 4.395 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002155/0.2055, allocations: 251.2 kB / 0.6486 GB, free: 4.148 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003751/0.2059, allocations: 417.9 kB / 0.6489 GB, free: 3.738 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001166/0.2071, allocations: 1.071 MB / 0.65 GB, free: 2.664 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.2071, allocations: 0 / 0.65 GB, free: 2.664 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.725e-06/0.2071, allocations: 0 / 0.65 GB, free: 2.664 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.281e-05/0.2071, allocations: 0 / 0.65 GB, free: 2.664 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.001948/0.2091, allocations: 1.098 MB / 0.6511 GB, free: 1.516 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.674e-05/0.2091, allocations: 12.03 kB / 0.6511 GB, free: 1.504 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003163/0.2123, allocations: 0.6203 MB / 0.6517 GB, free: 0.8828 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008502/0.2132, allocations: 0.5813 MB / 0.6523 GB, free: 268 kB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.779e-05/0.2132, allocations: 41.62 kB / 0.6523 GB, free: 224 kB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001032/0.2133, allocations: 56.11 kB / 0.6523 GB, free: 168 kB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002028/0.2154, allocations: 1.018 MB / 0.6533 GB, free: 15.1 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.609e-05/0.2154, allocations: 0 / 0.6533 GB, free: 15.1 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.353e-05/0.2155, allocations: 20 kB / 0.6534 GB, free: 15.08 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.793e-05/0.2155, allocations: 49.28 kB / 0.6534 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0024/0.218, allocations: 1.008 MB / 0.6544 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004497/0.2225, allocations: 3.478 MB / 0.6578 GB, free: 10.24 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001449/0.2239, allocations: 0.4906 MB / 0.6583 GB, free: 9.738 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005762/0.2245, allocations: 224.7 kB / 0.6585 GB, free: 9.516 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.42e-05/0.2246, allocations: 4 kB / 0.6585 GB, free: 9.512 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.243e-05/0.2246, allocations: 42.5 kB / 0.6585 GB, free: 9.461 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=31): time 3.907e-06/0.2246, allocations: 0 / 0.6585 GB, free: 9.461 MB / 0.4981 GB Notification: Performance of matching and sorting (n=43): time 0.00712/0.2317, allocations: 2.021 MB / 0.6605 GB, free: 7.395 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.587e-05/0.2318, allocations: 55.41 kB / 0.6606 GB, free: 7.328 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007959/0.2326, allocations: 0.5627 MB / 0.6611 GB, free: 6.758 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 6.026e-05/0.2327, allocations: 37.7 kB / 0.6611 GB, free: 6.715 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002554/0.233, allocations: 356.2 kB / 0.6615 GB, free: 6.363 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001423/0.2331, allocations: 145.8 kB / 0.6616 GB, free: 6.219 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001928/0.2333, allocations: 94.16 kB / 0.6617 GB, free: 6.121 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001669/0.2335, allocations: 374.8 kB / 0.6621 GB, free: 5.746 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007191/0.2342, allocations: 258.9 kB / 0.6623 GB, free: 5.488 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007385/0.235, allocations: 365.8 kB / 0.6627 GB, free: 5.09 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001443/0.2364, allocations: 0.6186 MB / 0.6633 GB, free: 4.43 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.32e-06/0.2364, allocations: 4 kB / 0.6633 GB, free: 4.426 MB / 0.4981 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.002433/0.2389, allocations: 0.9271 MB / 0.6642 GB, free: 3.473 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.223e-05/0.2389, allocations: 8 kB / 0.6642 GB, free: 3.465 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.001e-05/0.2389, allocations: 4.344 kB / 0.6642 GB, free: 3.461 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001097/0.24, allocations: 272.8 kB / 0.6644 GB, free: 3.176 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006019/0.2406, allocations: 119.8 kB / 0.6646 GB, free: 3.059 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007602/0.2483, allocations: 9.127 MB / 0.6735 GB, free: 9.098 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006718/0.249, allocations: 43.89 kB / 0.6735 GB, free: 9.055 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.549e-05/0.249, allocations: 19.98 kB / 0.6735 GB, free: 9.035 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000946/0.25, allocations: 441 kB / 0.674 GB, free: 8.598 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007477/0.2508, allocations: 353.4 kB / 0.6743 GB, free: 8.211 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00138/0.2522, allocations: 0.6129 MB / 0.6749 GB, free: 7.555 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.695e-06/0.2522, allocations: 0 / 0.6749 GB, free: 7.555 MB / 0.5137 GB Notification: Performance of matching and sorting (n=59) (initialization_lambda0): time 0.002576/0.2547, allocations: 1.117 MB / 0.676 GB, free: 6.355 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.517e-05/0.2548, allocations: 4 kB / 0.676 GB, free: 6.352 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.027e-06/0.2548, allocations: 11.88 kB / 0.676 GB, free: 6.34 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007847/0.2556, allocations: 221.4 kB / 0.6762 GB, free: 6.105 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006046/0.2562, allocations: 123.8 kB / 0.6763 GB, free: 5.984 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006914/0.2631, allocations: 8.795 MB / 0.6849 GB, free: 12.34 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007154/0.2639, allocations: 48 kB / 0.685 GB, free: 12.29 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.708e-05/0.264, allocations: 20.14 kB / 0.685 GB, free: 12.27 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.0002469/0.2642, allocations: 200.2 kB / 0.6852 GB, free: 12.07 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001738/0.2644, allocations: 75.17 kB / 0.6852 GB, free: 12 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002314/0.2646, allocations: 78.38 kB / 0.6853 GB, free: 11.91 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.533e-06/0.2646, allocations: 7.922 kB / 0.6853 GB, free: 11.91 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.2647, allocations: 0 / 0.6853 GB, free: 11.91 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002725/0.2649, allocations: 184.2 kB / 0.6855 GB, free: 11.71 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.769e-05/0.265, allocations: 8 kB / 0.6855 GB, free: 11.7 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005156/0.2656, allocations: 39.95 kB / 0.6855 GB, free: 11.66 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001275/0.2657, allocations: 43.92 kB / 0.6856 GB, free: 11.62 MB / 0.5294 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002682/0.2684, allocations: 0.9304 MB / 0.6865 GB, free: 10.66 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002199/0.2706, allocations: 1.039 MB / 0.6875 GB, free: 9.609 MB / 0.5294 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006515/0.2713, allocations: 276 kB / 0.6878 GB, free: 9.34 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0004876/0.2718, allocations: 407.1 kB / 0.6882 GB, free: 8.949 MB / 0.5294 GB Notification: Performance of Backend: time 3.01e-07/0.2718, allocations: 0 / 0.6882 GB, free: 8.949 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.004053/0.2758, allocations: 2.328 MB / 0.6904 GB, free: 6.465 MB / 0.5294 GB Notification: Performance of SimCode: time 0.002647/0.2785, allocations: 1.899 MB / 0.6923 GB, free: 4.52 MB / 0.5294 GB Notification: Performance of Templates: time 0.0262/0.3047, allocations: 16.39 MB / 0.7083 GB, free: 4.262 MB / 0.545 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)