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.001007/0.001007, allocations: 92.62 kB / 16.67 MB, free: 6.266 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.001106/0.001106, allocations: 182.3 kB / 17.58 MB, free: 5.898 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.341/1.341, allocations: 223.3 MB / 241.6 MB, free: 184 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7644/0.7644, allocations: 115.5 MB / 408.2 MB, free: 7.012 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004678/0.000468, allocations: 8 kB / 496.5 MB, free: 15.69 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4018/0.4023, allocations: 77.51 MB / 0.5606 GB, free: 36.32 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Lines.Examples.DCLine): time 0.006302/0.4086, allocations: 5.848 MB / 0.5663 GB, free: 32.27 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.006315/0.415, allocations: 4.469 MB / 0.5707 GB, free: 29.18 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007315/0.4157, allocations: 21.94 kB / 0.5707 GB, free: 29.17 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005769/0.4163, allocations: 146.8 kB / 0.5708 GB, free: 29.09 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002309/0.4187, allocations: 0.7045 MB / 0.5715 GB, free: 28.7 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008973/0.4196, allocations: 293.3 kB / 0.5718 GB, free: 28.55 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002066/0.4216, allocations: 1.436 MB / 0.5732 GB, free: 28 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007821/0.4224, allocations: 0.542 MB / 0.5737 GB, free: 27.73 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007259/0.4232, allocations: 391.6 kB / 0.5741 GB, free: 27.59 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007691/0.4239, allocations: 482.7 kB / 0.5745 GB, free: 27.4 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 8.617e-05/0.424, allocations: 33.69 kB / 0.5746 GB, free: 27.4 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006888/0.4247, allocations: 302.7 kB / 0.5749 GB, free: 27.3 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002307/0.425, allocations: 210.5 kB / 0.5751 GB, free: 27.22 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003834/0.4254, allocations: 388.5 kB / 0.5754 GB, free: 26.98 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001046/0.4264, allocations: 0.8183 MB / 0.5762 GB, free: 26.8 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.4264, allocations: 3.938 kB / 0.5762 GB, free: 26.79 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.4264, allocations: 3.938 kB / 0.5762 GB, free: 26.79 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.557e-05/0.4265, allocations: 1.969 kB / 0.5762 GB, free: 26.79 MB / 446.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.001776/0.4283, allocations: 0.9639 MB / 0.5772 GB, free: 26.12 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.976e-05/0.4283, allocations: 13.94 kB / 0.5772 GB, free: 26.11 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003622/0.4319, allocations: 0.6497 MB / 0.5778 GB, free: 26.07 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001015/0.433, allocations: 0.5449 MB / 0.5784 GB, free: 25.67 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.69e-05/0.433, allocations: 39.11 kB / 0.5784 GB, free: 25.65 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000105/0.4331, allocations: 57.42 kB / 0.5785 GB, free: 25.63 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002263/0.4354, allocations: 1.021 MB / 0.5795 GB, free: 25.21 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.85e-05/0.4354, allocations: 5.375 kB / 0.5795 GB, free: 25.21 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.786e-05/0.4355, allocations: 22.75 kB / 0.5795 GB, free: 25.2 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.388e-05/0.4356, allocations: 45.56 kB / 0.5795 GB, free: 25.19 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002566/0.4382, allocations: 1.018 MB / 0.5805 GB, free: 24.91 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004277/0.4425, allocations: 3.525 MB / 0.584 GB, free: 22.14 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001562/0.444, allocations: 0.5209 MB / 0.5845 GB, free: 21.98 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006168/0.4447, allocations: 245 kB / 0.5847 GB, free: 21.91 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.499e-05/0.4447, allocations: 3.953 kB / 0.5847 GB, free: 21.91 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.012e-05/0.4448, allocations: 38.22 kB / 0.5847 GB, free: 21.86 MB / 446.1 MB Notification: Performance of pre-optimization done (n=31): time 2.204e-06/0.4448, allocations: 0 / 0.5847 GB, free: 21.86 MB / 446.1 MB Notification: Performance of matching and sorting (n=43): time 0.007447/0.4522, allocations: 2.225 MB / 0.5869 GB, free: 20.84 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.538e-05/0.4523, allocations: 56.44 kB / 0.587 GB, free: 20.78 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007107/0.453, allocations: 0.5727 MB / 0.5875 GB, free: 20.43 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.633e-05/0.4531, allocations: 32.64 kB / 0.5876 GB, free: 20.4 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001905/0.4533, allocations: 351.4 kB / 0.5879 GB, free: 20.09 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001022/0.4534, allocations: 148 kB / 0.588 GB, free: 19.96 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.832e-05/0.4534, allocations: 48.2 kB / 0.5881 GB, free: 19.92 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.887e-05/0.4536, allocations: 376.7 kB / 0.5884 GB, free: 19.56 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007013/0.4543, allocations: 275 kB / 0.5887 GB, free: 19.43 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007197/0.455, allocations: 389.4 kB / 0.5891 GB, free: 19.18 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001418/0.4564, allocations: 0.673 MB / 0.5897 GB, free: 18.78 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.604e-06/0.4564, allocations: 0 / 0.5897 GB, free: 18.78 MB / 446.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.002459/0.4589, allocations: 0.9796 MB / 0.5907 GB, free: 18.25 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.817e-05/0.459, allocations: 178.5 kB / 0.5909 GB, free: 18.04 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.678e-06/0.459, allocations: 2.625 kB / 0.5909 GB, free: 18.04 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001163/0.4602, allocations: 282.2 kB / 0.5911 GB, free: 17.87 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006513/0.4608, allocations: 128.7 kB / 0.5913 GB, free: 17.84 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005599/0.4664, allocations: 8.484 MB / 0.5995 GB, free: 9.328 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008208/0.4673, allocations: 56.14 kB / 0.5996 GB, free: 9.305 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.273e-05/0.4674, allocations: 18.31 kB / 0.5996 GB, free: 9.301 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.096e-05/0.4674, allocations: 6.25 kB / 0.5996 GB, free: 9.301 MB / 446.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002456/0.4698, allocations: 1.09 MB / 0.6007 GB, free: 8.566 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.416e-06/0.4699, allocations: 3.906 kB / 0.6007 GB, free: 8.566 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000782/0.4707, allocations: 221.7 kB / 0.6009 GB, free: 8.43 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006322/0.4713, allocations: 137.1 kB / 0.601 GB, free: 8.367 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004395/0.4757, allocations: 8.168 MB / 0.609 GB, free: 15.39 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007888/0.4765, allocations: 59.95 kB / 0.6091 GB, free: 15.34 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.16e-05/0.4766, allocations: 16 kB / 0.6091 GB, free: 15.32 MB / 462.1 MB 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.0005334/0.4771, allocations: 322.5 kB / 0.6094 GB, free: 15 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001258/0.4772, allocations: 63.25 kB / 0.6094 GB, free: 14.93 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001732/0.4774, allocations: 86.38 kB / 0.6095 GB, free: 14.84 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.809e-06/0.4774, allocations: 4 kB / 0.6095 GB, free: 14.84 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.357e-05/0.4775, allocations: 0 / 0.6095 GB, free: 14.84 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.604e-06/0.4775, allocations: 3.984 kB / 0.6095 GB, free: 14.84 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009519/0.4784, allocations: 0.6416 MB / 0.6102 GB, free: 14.14 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.4784, allocations: 0 / 0.6102 GB, free: 14.14 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005253/0.479, allocations: 103.8 kB / 0.6103 GB, free: 14.04 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001044/0.48, allocations: 264.8 kB / 0.6105 GB, free: 13.77 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.789e-05/0.4801, allocations: 11.98 kB / 0.6105 GB, free: 13.75 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006894/0.487, allocations: 8.431 MB / 0.6188 GB, free: 4.52 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.487, allocations: 0 / 0.6188 GB, free: 4.52 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002597/0.4896, allocations: 0.96 MB / 0.6197 GB, free: 3.523 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000349/0.49, allocations: 184.2 kB / 0.6199 GB, free: 3.324 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.819e-05/0.4901, allocations: 15.94 kB / 0.6199 GB, free: 3.309 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005431/0.4906, allocations: 55.94 kB / 0.6199 GB, free: 3.254 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001454/0.4908, allocations: 35.94 kB / 0.62 GB, free: 3.219 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.196e-05/0.4908, allocations: 12 kB / 0.62 GB, free: 3.207 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0005047/0.4913, allocations: 411 kB / 0.6204 GB, free: 2.812 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.4913, allocations: 0 / 0.6204 GB, free: 2.812 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001245/0.4926, allocations: 300 kB / 0.6207 GB, free: 2.52 MB / 462.1 MB 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.0001606/0.4928, allocations: 103.2 kB / 0.6208 GB, free: 2.41 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.00415/0.4969, allocations: 2.422 MB / 0.6231 GB, free: 15.83 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.067e-06/0.4969, allocations: 0 / 0.6231 GB, free: 15.83 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001553/0.4985, allocations: 1.027 MB / 0.6241 GB, free: 14.72 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001235/0.4998, allocations: 206.8 kB / 0.6243 GB, free: 14.52 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002817/0.5026, allocations: 1.663 MB / 0.626 GB, free: 12.83 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006531/0.5033, allocations: 0.9821 MB / 0.6269 GB, free: 11.82 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001975/0.5035, allocations: 43.44 kB / 0.627 GB, free: 11.78 MB / 478.1 MB Notification: Performance of SimCode: time 1.212e-06/0.5035, allocations: 4 kB / 0.627 GB, free: 11.77 MB / 478.1 MB Notification: Performance of Templates: time 0.02986/0.5333, allocations: 26.91 MB / 0.6532 GB, free: 0.9141 MB / 494.1 MB 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)