Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.RCModel.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.RCModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.RCModel") translateModel(IBPSA.Electrical.DC.Lines.Examples.RCModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.RCModel") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00125/0.00125, allocations: 118.7 kB / 17.09 MB, free: 6.012 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.0012/0.0012, allocations: 193.6 kB / 18.02 MB, free: 5.094 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.328/1.328, allocations: 222.9 MB / 241.7 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.739/0.739, allocations: 115.3 MB / 407.2 MB, free: 6.117 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001207/0.001207, allocations: 65.02 kB / 0.5583 GB, free: 32.18 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1861/0.1873, allocations: 76.17 MB / 0.6327 GB, free: 4.43 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Lines.Examples.RCModel): time 0.006813/0.1942, allocations: 4.329 MB / 0.6369 GB, free: 80 kB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.003093/0.1973, allocations: 1.87 MB / 0.6388 GB, free: 14.2 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001884/0.1975, allocations: 8 kB / 0.6388 GB, free: 14.19 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001612/0.1992, allocations: 0.6011 MB / 0.6394 GB, free: 13.59 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005516/0.1997, allocations: 254.6 kB / 0.6396 GB, free: 13.34 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006234/0.2003, allocations: 254.3 kB / 0.6399 GB, free: 13.09 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006615/0.201, allocations: 0.6151 MB / 0.6405 GB, free: 12.48 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006949/0.2017, allocations: 470.8 kB / 0.6409 GB, free: 12.01 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002778/0.202, allocations: 251.1 kB / 0.6411 GB, free: 11.77 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004414/0.2025, allocations: 263 kB / 0.6414 GB, free: 11.51 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 6.434e-05/0.2025, allocations: 36 kB / 0.6414 GB, free: 11.47 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004546/0.203, allocations: 259.4 kB / 0.6417 GB, free: 11.22 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001452/0.2032, allocations: 143.6 kB / 0.6418 GB, free: 11.08 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002068/0.2034, allocations: 222.9 kB / 0.642 GB, free: 10.86 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006805/0.2041, allocations: 0.6152 MB / 0.6426 GB, free: 10.24 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.2041, allocations: 0 / 0.6426 GB, free: 10.24 MB / 494.1 MB Notification: Performance of FrontEnd: time 3.697e-06/0.2041, allocations: 3.984 kB / 0.6426 GB, free: 10.24 MB / 494.1 MB Notification: Performance of Transformations before backend: time 8.266e-06/0.2041, allocations: 4 kB / 0.6426 GB, free: 10.23 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: 91 * Number of variables: 91 Notification: Performance of Generate backend data structure: time 0.001225/0.2053, allocations: 0.7058 MB / 0.6433 GB, free: 9.48 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.479e-05/0.2054, allocations: 12.03 kB / 0.6433 GB, free: 9.469 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009481/0.2063, allocations: 148.2 kB / 0.6435 GB, free: 9.324 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004296/0.2068, allocations: 342.5 kB / 0.6438 GB, free: 8.949 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.329e-05/0.2068, allocations: 25.38 kB / 0.6438 GB, free: 8.926 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.738e-05/0.2069, allocations: 40.36 kB / 0.6439 GB, free: 8.887 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007631/0.2077, allocations: 0.5278 MB / 0.6444 GB, free: 8.316 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.313e-05/0.2077, allocations: 4 kB / 0.6444 GB, free: 8.312 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.344e-05/0.2077, allocations: 15.98 kB / 0.6444 GB, free: 8.297 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.081e-05/0.2078, allocations: 36.62 kB / 0.6444 GB, free: 8.262 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005786/0.2084, allocations: 390.2 kB / 0.6448 GB, free: 7.883 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002558/0.2109, allocations: 2.392 MB / 0.6471 GB, free: 5.27 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005341/0.2115, allocations: 272.5 kB / 0.6474 GB, free: 4.996 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000171/0.2117, allocations: 112.8 kB / 0.6475 GB, free: 4.883 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.355e-05/0.2117, allocations: 0 / 0.6475 GB, free: 4.883 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.445e-05/0.2117, allocations: 38.56 kB / 0.6475 GB, free: 4.836 MB / 494.1 MB Notification: Performance of pre-optimization done (n=20): time 1.243e-06/0.2117, allocations: 3.938 kB / 0.6475 GB, free: 4.832 MB / 494.1 MB Notification: Performance of matching and sorting (n=23): time 0.002247/0.214, allocations: 1.125 MB / 0.6486 GB, free: 3.609 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.338e-05/0.214, allocations: 55.41 kB / 0.6487 GB, free: 3.543 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003239/0.2144, allocations: 296.5 kB / 0.649 GB, free: 3.242 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.743e-05/0.2144, allocations: 29.7 kB / 0.649 GB, free: 3.207 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001457/0.2146, allocations: 227.6 kB / 0.6492 GB, free: 2.98 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.696e-05/0.2146, allocations: 90.73 kB / 0.6493 GB, free: 2.891 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001083/0.2147, allocations: 58.03 kB / 0.6494 GB, free: 2.824 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001563/0.2149, allocations: 346.8 kB / 0.6497 GB, free: 2.477 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001582/0.2151, allocations: 100.6 kB / 0.6498 GB, free: 2.379 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002218/0.2153, allocations: 191.7 kB / 0.65 GB, free: 2.152 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004002/0.2157, allocations: 317 kB / 0.6503 GB, free: 1.809 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.2157, allocations: 0 / 0.6503 GB, free: 1.809 MB / 494.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007276/0.2164, allocations: 450.5 kB / 0.6507 GB, free: 1.355 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.775e-05/0.2165, allocations: 8 kB / 0.6507 GB, free: 1.348 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.787e-06/0.2165, allocations: 4 kB / 0.6507 GB, free: 1.344 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003561/0.2169, allocations: 102.6 kB / 0.6508 GB, free: 1.234 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002768/0.2171, allocations: 63.91 kB / 0.6509 GB, free: 1.172 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003407/0.2206, allocations: 4.391 MB / 0.6552 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002309/0.2208, allocations: 8 kB / 0.6552 GB, free: 12.35 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.285e-05/0.2208, allocations: 12 kB / 0.6552 GB, free: 12.34 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (34): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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,1,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002242/0.2211, allocations: 196 kB / 0.6554 GB, free: 12.14 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.433e-05/0.2211, allocations: 35.56 kB / 0.6554 GB, free: 12.1 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.769e-05/0.2212, allocations: 34.31 kB / 0.6554 GB, free: 12.07 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.2212, allocations: 0 / 0.6554 GB, free: 12.07 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.2212, allocations: 4 kB / 0.6554 GB, free: 12.06 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001243/0.2214, allocations: 124.7 kB / 0.6556 GB, free: 11.92 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.913e-05/0.2214, allocations: 4 kB / 0.6556 GB, free: 11.92 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001971/0.2216, allocations: 15.98 kB / 0.6556 GB, free: 11.9 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.876e-05/0.2217, allocations: 19.97 kB / 0.6556 GB, free: 11.88 MB / 0.4981 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0008247/0.2225, allocations: 425.1 kB / 0.656 GB, free: 11.45 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005601/0.2231, allocations: 0.5253 MB / 0.6565 GB, free: 10.91 MB / 0.4981 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001418/0.2232, allocations: 95.78 kB / 0.6566 GB, free: 10.82 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001866/0.2234, allocations: 211.1 kB / 0.6568 GB, free: 10.62 MB / 0.4981 GB Notification: Performance of Backend: time 4.01e-07/0.2234, allocations: 0 / 0.6568 GB, free: 10.62 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001361/0.2248, allocations: 0.7521 MB / 0.6575 GB, free: 9.82 MB / 0.4981 GB Notification: Performance of SimCode: time 0.001471/0.2263, allocations: 1.228 MB / 0.6587 GB, free: 8.547 MB / 0.4981 GB Notification: Performance of Templates: time 0.01097/0.2373, allocations: 5.747 MB / 0.6644 GB, free: 2.844 MB / 0.4981 GB make -j1 -f IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.RCModel.makefile (rm -f IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.RCModel.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.RCModel.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.RCModel.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.RCModel.sim & ./IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.RCModel -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.RCModel.pipe 2>&1)