Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.RCModel.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.DC.Lines.Examples.RCModel,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_DC_Lines_Examples_RCModel",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.DC.Lines.Examples.RCModel,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_DC_Lines_Examples_RCModel",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.635/1.635, allocations: 251.9 MB / 266.9 MB, free: 11.02 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001102/0.001103, allocations: 182.3 kB / 326.5 MB, free: 2.238 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.851/1.851, allocations: 205.4 MB / 0.5775 GB, free: 20.54 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009294/0.0009293, allocations: 100.3 kB / 0.6821 GB, free: 13.36 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003258/0.0003259, allocations: 8.75 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.187/0.1874, allocations: 106.3 MB / 0.9002 GB, free: 64.37 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.RCModel): time 0.004104/0.1915, allocations: 3.694 MB / 0.9038 GB, free: 60.66 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.002527/0.1941, allocations: 1.735 MB / 0.9055 GB, free: 58.91 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003285/0.1944, allocations: 11.94 kB / 0.9055 GB, free: 58.9 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0002299/0.1947, allocations: 67.58 kB / 0.9055 GB, free: 58.84 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0006208/0.1953, allocations: 195.4 kB / 0.9057 GB, free: 58.64 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005862/0.1959, allocations: 181.7 kB / 0.9059 GB, free: 58.47 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0003795/0.1963, allocations: 363.2 kB / 0.9062 GB, free: 58.11 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003464/0.1966, allocations: 384.8 kB / 0.9066 GB, free: 57.71 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001513/0.1968, allocations: 175.4 kB / 0.9068 GB, free: 57.54 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002719/0.1971, allocations: 187.3 kB / 0.907 GB, free: 57.36 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 3.708e-05/0.1971, allocations: 20 kB / 0.907 GB, free: 57.34 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002151/0.1974, allocations: 111.9 kB / 0.9071 GB, free: 57.23 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 7.785e-05/0.1974, allocations: 115.7 kB / 0.9072 GB, free: 57.11 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 6.507e-05/0.1975, allocations: 97.52 kB / 0.9073 GB, free: 57.01 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0003436/0.1979, allocations: 467 kB / 0.9077 GB, free: 56.55 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.304e-06/0.1979, allocations: 0 / 0.9077 GB, free: 56.55 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.202e-06/0.1979, allocations: 0 / 0.9077 GB, free: 56.55 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.861e-06/0.1979, allocations: 0 / 0.9077 GB, free: 56.55 MB / 0.6042 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.0008895/0.1988, allocations: 0.6516 MB / 0.9084 GB, free: 55.85 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.734e-05/0.1988, allocations: 8.031 kB / 0.9084 GB, free: 55.84 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.124e-05/0.1989, allocations: 86.5 kB / 0.9085 GB, free: 55.75 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008742/0.1998, allocations: 163.2 kB / 0.9086 GB, free: 55.59 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003598/0.2002, allocations: 321.3 kB / 0.9089 GB, free: 55.23 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.783e-05/0.2002, allocations: 25 kB / 0.9089 GB, free: 55.21 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.726e-05/0.2002, allocations: 32 kB / 0.909 GB, free: 55.18 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005827/0.2008, allocations: 0.5275 MB / 0.9095 GB, free: 54.61 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.267e-05/0.2009, allocations: 4 kB / 0.9095 GB, free: 54.61 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.709e-05/0.2009, allocations: 16 kB / 0.9095 GB, free: 54.59 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.451e-05/0.2009, allocations: 32.58 kB / 0.9095 GB, free: 54.56 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004691/0.2014, allocations: 386.3 kB / 0.9099 GB, free: 54.18 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001972/0.2034, allocations: 2.407 MB / 0.9123 GB, free: 51.55 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000436/0.2038, allocations: 272.5 kB / 0.9125 GB, free: 51.28 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.259e-05/0.2039, allocations: 0 / 0.9125 GB, free: 51.28 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.063e-05/0.2039, allocations: 38.56 kB / 0.9126 GB, free: 51.23 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=20): time 1.203e-06/0.2039, allocations: 0 / 0.9126 GB, free: 51.23 MB / 0.6042 GB Notification: Performance of matching and sorting (n=23): time 0.001781/0.2057, allocations: 1.128 MB / 0.9137 GB, free: 50.01 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.607e-05/0.2057, allocations: 55.41 kB / 0.9137 GB, free: 49.94 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002327/0.206, allocations: 296.5 kB / 0.914 GB, free: 49.64 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.95e-05/0.206, allocations: 29.7 kB / 0.914 GB, free: 49.61 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 8.754e-05/0.2061, allocations: 235.6 kB / 0.9142 GB, free: 49.38 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 4.45e-05/0.2061, allocations: 74.84 kB / 0.9143 GB, free: 49.3 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.483e-05/0.2062, allocations: 12 kB / 0.9143 GB, free: 49.29 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.985e-05/0.2062, allocations: 338.8 kB / 0.9146 GB, free: 48.95 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001316/0.2064, allocations: 96.61 kB / 0.9147 GB, free: 48.85 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001863/0.2066, allocations: 200.3 kB / 0.9149 GB, free: 48.62 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001651/0.2067, allocations: 129.1 kB / 0.9151 GB, free: 48.49 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.2068, allocations: 0 / 0.9151 GB, free: 48.49 MB / 0.6042 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005959/0.2074, allocations: 441 kB / 0.9155 GB, free: 48.05 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.814e-05/0.2074, allocations: 4 kB / 0.9155 GB, free: 48.05 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.786e-06/0.2074, allocations: 4 kB / 0.9155 GB, free: 48.04 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003498/0.2078, allocations: 110.5 kB / 0.9156 GB, free: 47.93 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002491/0.208, allocations: 59.91 kB / 0.9156 GB, free: 47.87 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001972/0.21, allocations: 4.107 MB / 0.9197 GB, free: 43.36 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002155/0.2102, allocations: 8 kB / 0.9197 GB, free: 43.35 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.769e-05/0.2103, allocations: 12.25 kB / 0.9197 GB, free: 43.34 MB / 0.6042 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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001776/0.2104, allocations: 189.7 kB / 0.9199 GB, free: 43.14 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.049e-05/0.2105, allocations: 31.58 kB / 0.9199 GB, free: 43.11 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.643e-05/0.2106, allocations: 38.31 kB / 0.9199 GB, free: 43.07 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.405e-06/0.2106, allocations: 4 kB / 0.9199 GB, free: 43.07 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.071e-06/0.2106, allocations: 0 / 0.9199 GB, free: 43.07 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.2106, allocations: 0 / 0.9199 GB, free: 43.07 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003213/0.2109, allocations: 397.4 kB / 0.9203 GB, free: 42.63 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.2109, allocations: 8 kB / 0.9203 GB, free: 42.62 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001733/0.2111, allocations: 31.97 kB / 0.9203 GB, free: 42.59 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002605/0.2114, allocations: 98.39 kB / 0.9204 GB, free: 42.48 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.547e-05/0.2114, allocations: 12 kB / 0.9204 GB, free: 42.47 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001808/0.2132, allocations: 4.084 MB / 0.9244 GB, free: 37.99 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.2132, allocations: 0 / 0.9244 GB, free: 37.99 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006053/0.2139, allocations: 0.5595 MB / 0.925 GB, free: 37.41 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001085/0.214, allocations: 128.7 kB / 0.9251 GB, free: 37.26 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.698e-05/0.214, allocations: 7.953 kB / 0.9251 GB, free: 37.25 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001873/0.2142, allocations: 12 kB / 0.9251 GB, free: 37.24 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.034e-05/0.2143, allocations: 24.03 kB / 0.9251 GB, free: 37.22 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.267e-05/0.2143, allocations: 4 kB / 0.9252 GB, free: 37.21 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001611/0.2144, allocations: 211.1 kB / 0.9254 GB, free: 37.01 MB / 0.6042 GB Notification: Performance of sort global known variables: time 2.1e-07/0.2144, allocations: 0 / 0.9254 GB, free: 37.01 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003925/0.2148, allocations: 96 kB / 0.9254 GB, free: 36.92 MB / 0.6042 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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000759/0.2156, allocations: 1.104 MB / 0.9265 GB, free: 35.78 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0006281/0.2162, allocations: 0.6017 MB / 0.9271 GB, free: 35.14 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.2163, allocations: 0 / 0.9271 GB, free: 35.14 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0003483/0.2166, allocations: 476.2 kB / 0.9276 GB, free: 34.64 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003482/0.217, allocations: 68.56 kB / 0.9276 GB, free: 34.57 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002443/0.2194, allocations: 3.698 MB / 0.9312 GB, free: 30.77 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002217/0.2197, allocations: 0.8386 MB / 0.9321 GB, free: 29.9 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001929/0.2199, allocations: 58.92 kB / 0.9321 GB, free: 29.84 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001125/0.22, allocations: 115.4 kB / 0.9322 GB, free: 29.73 MB / 0.6042 GB Notification: Performance of SimCode: time 4.5e-07/0.22, allocations: 0 / 0.9322 GB, free: 29.73 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04575/0.2657, allocations: 7.113 MB / 0.9392 GB, free: 22.82 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002168/0.266, allocations: 210.5 kB / 0.9394 GB, free: 22.58 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.971/2.237, allocations: 7.938 kB / 0.9394 GB, free: 22.57 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.RCModel.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Electrical_DC_Lines_Examples_RCModel_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Electrical_DC_Lines_Examples_RCModel.fmu > Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe 2>&1)