Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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: "" <> buildModelFMU(Buildings.Electrical.DC.Lines.Examples.RCModel,fileNamePrefix="Buildings_8_Buildings_Electrical_DC_Lines_Examples_RCModel",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.DC.Lines.Examples.RCModel,fileNamePrefix="Buildings_8_Buildings_Electrical_DC_Lines_Examples_RCModel",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001053/0.001053, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001143/0.001143, allocations: 191.8 kB / 16.25 MB, free: 6.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.316/1.316, allocations: 205.1 MB / 222.1 MB, free: 4.688 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.666/1.666, allocations: 292.3 MB / 0.5486 GB, free: 13.61 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001379/0.001379, allocations: 66.88 kB / 0.6711 GB, free: 26.22 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1838/0.1852, allocations: 114.6 MB / 0.783 GB, free: 13.82 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.RCModel): time 0.005177/0.1904, allocations: 4.366 MB / 0.7872 GB, free: 9.43 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002219/0.1926, allocations: 1.843 MB / 0.789 GB, free: 7.574 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001274/0.1928, allocations: 11.94 kB / 0.789 GB, free: 7.562 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001313/0.1941, allocations: 0.5724 MB / 0.7896 GB, free: 6.988 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0003977/0.1945, allocations: 242.8 kB / 0.7898 GB, free: 6.75 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004441/0.1949, allocations: 226.3 kB / 0.7901 GB, free: 6.531 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0005012/0.1955, allocations: 0.6073 MB / 0.7906 GB, free: 5.922 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006033/0.1961, allocations: 0.5146 MB / 0.7911 GB, free: 5.402 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001951/0.1963, allocations: 239.2 kB / 0.7914 GB, free: 5.168 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003343/0.1966, allocations: 279 kB / 0.7916 GB, free: 4.895 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.872e-05/0.1967, allocations: 39.98 kB / 0.7917 GB, free: 4.855 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003047/0.197, allocations: 251.4 kB / 0.7919 GB, free: 4.609 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001152/0.1971, allocations: 151.6 kB / 0.7921 GB, free: 4.461 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001626/0.1973, allocations: 219 kB / 0.7923 GB, free: 4.246 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0005163/0.1978, allocations: 0.623 MB / 0.7929 GB, free: 3.621 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.055e-06/0.1978, allocations: 0 / 0.7929 GB, free: 3.621 MB / 0.6075 GB Notification: Performance of FrontEnd: time 9.72e-07/0.1978, allocations: 0 / 0.7929 GB, free: 3.621 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.382e-06/0.1978, allocations: 0 / 0.7929 GB, free: 3.621 MB / 0.6075 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.0009899/0.1988, allocations: 0.7291 MB / 0.7936 GB, free: 2.844 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.346e-05/0.1989, allocations: 8.031 kB / 0.7936 GB, free: 2.836 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.69e-05/0.1989, allocations: 78.66 kB / 0.7937 GB, free: 2.75 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008836/0.1998, allocations: 144.2 kB / 0.7938 GB, free: 2.609 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003296/0.2002, allocations: 330.5 kB / 0.7941 GB, free: 2.246 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.326e-05/0.2002, allocations: 25.36 kB / 0.7942 GB, free: 2.223 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.388e-05/0.2003, allocations: 40.38 kB / 0.7942 GB, free: 2.184 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006541/0.2009, allocations: 0.5316 MB / 0.7947 GB, free: 1.613 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.131e-05/0.2009, allocations: 0 / 0.7947 GB, free: 1.613 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.627e-05/0.201, allocations: 16 kB / 0.7947 GB, free: 1.598 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.468e-05/0.201, allocations: 40.52 kB / 0.7948 GB, free: 1.555 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000497/0.2015, allocations: 390.3 kB / 0.7951 GB, free: 1.176 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002058/0.2036, allocations: 2.396 MB / 0.7975 GB, free: 14.56 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000441/0.2041, allocations: 270.3 kB / 0.7977 GB, free: 14.29 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001378/0.2042, allocations: 108.8 kB / 0.7978 GB, free: 14.18 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 1.542e-05/0.2042, allocations: 7.984 kB / 0.7978 GB, free: 14.17 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.182e-05/0.2043, allocations: 38.56 kB / 0.7979 GB, free: 14.12 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=20): time 1.273e-06/0.2043, allocations: 0 / 0.7979 GB, free: 14.12 MB / 0.6231 GB Notification: Performance of matching and sorting (n=23): time 0.001854/0.2061, allocations: 1.128 MB / 0.799 GB, free: 12.9 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.831e-05/0.2062, allocations: 59.34 kB / 0.799 GB, free: 12.83 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002483/0.2064, allocations: 300.4 kB / 0.7993 GB, free: 12.53 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 2.201e-05/0.2064, allocations: 33.7 kB / 0.7994 GB, free: 12.49 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001108/0.2066, allocations: 223.7 kB / 0.7996 GB, free: 12.26 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 5.468e-05/0.2066, allocations: 86.75 kB / 0.7997 GB, free: 12.18 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.364e-05/0.2067, allocations: 61.94 kB / 0.7997 GB, free: 12.11 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 9.122e-05/0.2068, allocations: 346.8 kB / 0.8 GB, free: 11.76 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001416/0.2069, allocations: 96.61 kB / 0.8001 GB, free: 11.67 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001819/0.2071, allocations: 187.8 kB / 0.8003 GB, free: 11.45 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003444/0.2075, allocations: 323.4 kB / 0.8006 GB, free: 11.09 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.2075, allocations: 0 / 0.8006 GB, free: 11.09 MB / 0.6231 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006437/0.2081, allocations: 441.9 kB / 0.801 GB, free: 10.65 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.399e-05/0.2082, allocations: 8 kB / 0.8011 GB, free: 10.64 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.2082, allocations: 4 kB / 0.8011 GB, free: 10.64 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003129/0.2085, allocations: 98.69 kB / 0.8011 GB, free: 10.53 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002482/0.2088, allocations: 63.91 kB / 0.8012 GB, free: 10.47 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002618/0.2114, allocations: 4.399 MB / 0.8055 GB, free: 5.645 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001902/0.2116, allocations: 8.031 kB / 0.8055 GB, free: 5.637 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.018e-05/0.2116, allocations: 16 kB / 0.8055 GB, free: 5.621 MB / 0.6231 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.0001519/0.2118, allocations: 178.3 kB / 0.8057 GB, free: 5.438 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.58e-05/0.2118, allocations: 31.66 kB / 0.8057 GB, free: 5.406 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.784e-05/0.2119, allocations: 42.38 kB / 0.8058 GB, free: 5.367 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-06/0.2119, allocations: 4 kB / 0.8058 GB, free: 5.363 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.958e-06/0.2119, allocations: 0 / 0.8058 GB, free: 5.363 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.2119, allocations: 3.984 kB / 0.8058 GB, free: 5.359 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003704/0.2123, allocations: 401.4 kB / 0.8062 GB, free: 4.918 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.614e-06/0.2123, allocations: 7.875 kB / 0.8062 GB, free: 4.91 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001797/0.2125, allocations: 35.92 kB / 0.8062 GB, free: 4.875 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002668/0.2128, allocations: 94.5 kB / 0.8063 GB, free: 4.773 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.431e-05/0.2128, allocations: 0 / 0.8063 GB, free: 4.773 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002561/0.2154, allocations: 4.391 MB / 0.8106 GB, free: 15.96 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.537e-06/0.2154, allocations: 7.875 kB / 0.8106 GB, free: 15.95 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006889/0.2161, allocations: 0.5582 MB / 0.8111 GB, free: 15.37 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001051/0.2162, allocations: 132.9 kB / 0.8113 GB, free: 15.22 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.882e-05/0.2162, allocations: 11.98 kB / 0.8113 GB, free: 15.21 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001861/0.2164, allocations: 4 kB / 0.8113 GB, free: 15.21 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.998e-05/0.2165, allocations: 19.97 kB / 0.8113 GB, free: 15.19 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.597e-05/0.2165, allocations: 12 kB / 0.8113 GB, free: 15.18 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0001678/0.2167, allocations: 207 kB / 0.8115 GB, free: 14.98 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2167, allocations: 0 / 0.8115 GB, free: 14.98 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0003841/0.2171, allocations: 100 kB / 0.8116 GB, free: 14.88 MB / 0.6387 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.0008984/0.218, allocations: 1.104 MB / 0.8127 GB, free: 13.74 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0007207/0.2187, allocations: 0.629 MB / 0.8133 GB, free: 13.07 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.2187, allocations: 192 / 0.8133 GB, free: 13.07 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0004129/0.2191, allocations: 472 kB / 0.8137 GB, free: 12.57 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004375/0.2196, allocations: 69.36 kB / 0.8138 GB, free: 12.5 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003525/0.2231, allocations: 3.524 MB / 0.8172 GB, free: 8.816 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003158/0.2235, allocations: 0.8427 MB / 0.8181 GB, free: 7.949 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0001793/0.2236, allocations: 62.92 kB / 0.8181 GB, free: 7.887 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001222/0.2238, allocations: 111.4 kB / 0.8182 GB, free: 7.781 MB / 0.6387 GB Notification: Performance of SimCode: time 3.21e-07/0.2238, allocations: 0 / 0.8182 GB, free: 7.781 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.621/1.844, allocations: 7.589 MB / 0.8256 GB, free: 384 kB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003016/1.845, allocations: 216.7 kB / 0.8259 GB, free: 120 kB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.868/4.713, allocations: 0 / 0.8259 GB, free: 120 kB / 0.6387 GB (rm -f Buildings_8_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe ; mkfifo Buildings_8_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe >> ../files/Buildings_8_Buildings.Electrical.DC.Lines.Examples.RCModel.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_DC_Lines_Examples_RCModel_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_DC_Lines_Examples_RCModel.fmu > Buildings_8_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe 2>&1)