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.001489/0.001489, allocations: 109.4 kB / 16.41 MB, free: 6.445 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.001629/0.001629, allocations: 189.2 kB / 17.34 MB, free: 5.738 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.375/1.375, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7652/0.7652, allocations: 122.9 MB / 414.1 MB, free: 15.75 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00126/0.00126, allocations: 61.89 kB / 0.5685 GB, free: 28.69 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1611/0.1624, allocations: 77.94 MB / 0.6446 GB, free: 9.004 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Lines.Examples.RCModel): time 0.005917/0.1684, allocations: 4.345 MB / 0.6488 GB, free: 4.641 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003115/0.1715, allocations: 1.854 MB / 0.6506 GB, free: 2.777 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002256/0.1718, allocations: 11.94 kB / 0.6506 GB, free: 2.766 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001633/0.1734, allocations: 0.6023 MB / 0.6512 GB, free: 2.164 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005695/0.174, allocations: 250.6 kB / 0.6515 GB, free: 1.918 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006831/0.1747, allocations: 263.4 kB / 0.6517 GB, free: 1.66 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006897/0.1754, allocations: 0.6073 MB / 0.6523 GB, free: 1.051 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007722/0.1762, allocations: 458.8 kB / 0.6528 GB, free: 0.6016 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000301/0.1765, allocations: 251.1 kB / 0.653 GB, free: 364 kB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005098/0.177, allocations: 267 kB / 0.6532 GB, free: 96 kB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 6.296e-05/0.1771, allocations: 36 kB / 0.6533 GB, free: 60 kB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004967/0.1776, allocations: 255.4 kB / 0.6535 GB, free: 15.81 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001711/0.1778, allocations: 147.6 kB / 0.6537 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002333/0.178, allocations: 226.9 kB / 0.6539 GB, free: 15.44 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0007752/0.1788, allocations: 0.611 MB / 0.6545 GB, free: 14.83 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.1788, allocations: 4 kB / 0.6545 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.733e-06/0.1788, allocations: 0 / 0.6545 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.009e-05/0.1789, allocations: 0 / 0.6545 GB, free: 14.82 MB / 0.4981 GB 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.001383/0.1802, allocations: 0.7246 MB / 0.6552 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.425e-05/0.1803, allocations: 20.56 kB / 0.6552 GB, free: 14.03 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009838/0.1813, allocations: 152.5 kB / 0.6554 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005314/0.1818, allocations: 346.6 kB / 0.6557 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.68e-05/0.1819, allocations: 29.31 kB / 0.6557 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.776e-05/0.1819, allocations: 32.38 kB / 0.6557 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000818/0.1828, allocations: 0.5356 MB / 0.6563 GB, free: 12.87 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.785e-05/0.1828, allocations: 0 / 0.6563 GB, free: 12.87 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.912e-05/0.1828, allocations: 15.98 kB / 0.6563 GB, free: 12.85 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.492e-05/0.1829, allocations: 32.64 kB / 0.6563 GB, free: 12.82 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005839/0.1835, allocations: 390.2 kB / 0.6567 GB, free: 12.44 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002594/0.1861, allocations: 2.4 MB / 0.659 GB, free: 9.82 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005102/0.1866, allocations: 258.5 kB / 0.6593 GB, free: 9.559 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001593/0.1868, allocations: 112.8 kB / 0.6594 GB, free: 9.445 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.444e-05/0.1868, allocations: 0 / 0.6594 GB, free: 9.445 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.508e-05/0.1868, allocations: 34.56 kB / 0.6594 GB, free: 9.402 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=20): time 1.002e-06/0.1869, allocations: 0 / 0.6594 GB, free: 9.402 MB / 0.4981 GB Notification: Performance of matching and sorting (n=23): time 0.002143/0.189, allocations: 1.134 MB / 0.6605 GB, free: 8.172 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.876e-05/0.1891, allocations: 55.41 kB / 0.6606 GB, free: 8.105 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002987/0.1894, allocations: 308.4 kB / 0.6609 GB, free: 7.793 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.509e-05/0.1894, allocations: 29.7 kB / 0.6609 GB, free: 7.758 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001534/0.1896, allocations: 228.2 kB / 0.6611 GB, free: 7.531 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 6.564e-05/0.1896, allocations: 91.25 kB / 0.6612 GB, free: 7.441 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001159/0.1897, allocations: 65.98 kB / 0.6613 GB, free: 7.367 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001252/0.1899, allocations: 338.8 kB / 0.6616 GB, free: 7.027 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001629/0.19, allocations: 104.6 kB / 0.6617 GB, free: 6.926 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002098/0.1903, allocations: 195.7 kB / 0.6619 GB, free: 6.695 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003796/0.1906, allocations: 321.4 kB / 0.6622 GB, free: 6.348 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.1907, allocations: 0 / 0.6622 GB, free: 6.348 MB / 0.4981 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007101/0.1914, allocations: 446 kB / 0.6626 GB, free: 5.898 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.831e-05/0.1914, allocations: 8 kB / 0.6626 GB, free: 5.891 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.635e-06/0.1914, allocations: 4 kB / 0.6626 GB, free: 5.887 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003656/0.1918, allocations: 98.72 kB / 0.6627 GB, free: 5.781 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002594/0.1921, allocations: 59.91 kB / 0.6628 GB, free: 5.723 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003241/0.1953, allocations: 4.403 MB / 0.6671 GB, free: 0.8945 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002238/0.1955, allocations: 11.98 kB / 0.6671 GB, free: 0.8828 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.595e-05/0.1956, allocations: 12 kB / 0.6671 GB, free: 0.8711 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.0001932/0.1958, allocations: 186.7 kB / 0.6673 GB, free: 0.6797 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.891e-05/0.1958, allocations: 35.75 kB / 0.6673 GB, free: 0.6445 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.453e-05/0.1959, allocations: 38.31 kB / 0.6673 GB, free: 0.6055 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.1959, allocations: 7.938 kB / 0.6673 GB, free: 0.5977 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.253e-06/0.196, allocations: 0 / 0.6673 GB, free: 0.5977 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.196, allocations: 0 / 0.6673 GB, free: 0.5977 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004076/0.1964, allocations: 393.4 kB / 0.6677 GB, free: 168 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.1964, allocations: 4 kB / 0.6677 GB, free: 164 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001912/0.1966, allocations: 47.84 kB / 0.6678 GB, free: 116 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002918/0.1969, allocations: 86.5 kB / 0.6679 GB, free: 20 kB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.836e-05/0.1969, allocations: 8 kB / 0.6679 GB, free: 12 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002889/0.1998, allocations: 4.391 MB / 0.6722 GB, free: 11.2 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.1998, allocations: 0 / 0.6722 GB, free: 11.2 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007654/0.2006, allocations: 0.559 MB / 0.6727 GB, free: 10.62 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001223/0.2007, allocations: 124.9 kB / 0.6728 GB, free: 10.48 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.748e-05/0.2008, allocations: 4.125 kB / 0.6728 GB, free: 10.47 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000201/0.201, allocations: 19.98 kB / 0.6728 GB, free: 10.45 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.671e-05/0.201, allocations: 15.98 kB / 0.6729 GB, free: 10.44 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.496e-05/0.2011, allocations: 4 kB / 0.6729 GB, free: 10.43 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001964/0.2013, allocations: 211.1 kB / 0.6731 GB, free: 10.23 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.3e-07/0.2013, allocations: 0 / 0.6731 GB, free: 10.23 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0004475/0.2017, allocations: 99.94 kB / 0.6732 GB, free: 10.13 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (RC_dyn.Vc) * 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 (18): * Single equations (assignments): 15 * 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 Backend phase and start with SimCode phase: time 0.0001259/0.2019, allocations: 111.7 kB / 0.6733 GB, free: 10.01 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0007985/0.2027, allocations: 0.6173 MB / 0.6739 GB, free: 9.355 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.2027, allocations: 0 / 0.6739 GB, free: 9.355 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0004656/0.2032, allocations: 463.9 kB / 0.6743 GB, free: 8.863 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000479/0.2036, allocations: 83.02 kB / 0.6744 GB, free: 8.789 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001055/0.2047, allocations: 0.7188 MB / 0.6751 GB, free: 8.047 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003655/0.2051, allocations: 0.835 MB / 0.6759 GB, free: 7.184 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0001708/0.2053, allocations: 62.92 kB / 0.676 GB, free: 7.121 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.773e-05/0.2053, allocations: 19.44 kB / 0.676 GB, free: 7.102 MB / 0.5137 GB Notification: Performance of SimCode: time 2.3e-07/0.2053, allocations: 4 kB / 0.676 GB, free: 7.098 MB / 0.5137 GB Notification: Performance of Templates: time 0.00806/0.2134, allocations: 4.476 MB / 0.6804 GB, free: 2.664 MB / 0.5137 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)