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.429/1.429, allocations: 252 MB / 267 MB, free: 10.96 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.0009637/0.0009637, allocations: 183.8 kB / 326.6 MB, free: 2.211 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.896/1.896, allocations: 205.4 MB / 0.5776 GB, free: 20.52 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.0007479/0.0007482, allocations: 88.12 kB / 0.6822 GB, free: 13.33 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004065/0.0004065, allocations: 8.094 kB / 0.7965 GB, free: 134.9 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2539/0.2543, allocations: 106.3 MB / 0.9003 GB, free: 64.18 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.RCModel): time 0.004319/0.2587, allocations: 3.814 MB / 0.904 GB, free: 60.35 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.002507/0.2612, allocations: 1.758 MB / 0.9057 GB, free: 58.58 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001871/0.2614, allocations: 11.94 kB / 0.9058 GB, free: 58.57 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.00022/0.2617, allocations: 63.48 kB / 0.9058 GB, free: 58.51 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0004412/0.2621, allocations: 218.9 kB / 0.906 GB, free: 58.29 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004588/0.2626, allocations: 182.3 kB / 0.9062 GB, free: 58.12 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0005021/0.2631, allocations: 0.6814 MB / 0.9069 GB, free: 57.43 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004181/0.2635, allocations: 380.9 kB / 0.9072 GB, free: 57.04 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001697/0.2637, allocations: 199.2 kB / 0.9074 GB, free: 56.84 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003448/0.2641, allocations: 251.1 kB / 0.9077 GB, free: 56.59 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 4.361e-05/0.2641, allocations: 20 kB / 0.9077 GB, free: 56.57 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002205/0.2643, allocations: 131.8 kB / 0.9078 GB, free: 56.45 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 8.862e-05/0.2644, allocations: 127.7 kB / 0.9079 GB, free: 56.32 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 6.163e-05/0.2645, allocations: 101.5 kB / 0.908 GB, free: 56.21 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0003191/0.2648, allocations: 455.1 kB / 0.9085 GB, free: 55.77 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.051e-06/0.2649, allocations: 4 kB / 0.9085 GB, free: 55.77 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.994e-06/0.2649, allocations: 0 / 0.9085 GB, free: 55.77 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 7.494e-06/0.2649, allocations: 0 / 0.9085 GB, free: 55.77 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.0009127/0.2658, allocations: 0.655 MB / 0.9091 GB, free: 55.06 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.153e-05/0.2658, allocations: 8.031 kB / 0.9091 GB, free: 55.05 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.619e-05/0.2659, allocations: 78.52 kB / 0.9092 GB, free: 54.96 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008501/0.2668, allocations: 159.2 kB / 0.9093 GB, free: 54.81 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003241/0.2671, allocations: 321.3 kB / 0.9096 GB, free: 54.45 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.041e-05/0.2671, allocations: 32.98 kB / 0.9097 GB, free: 54.42 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.032e-05/0.2672, allocations: 28 kB / 0.9097 GB, free: 54.39 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006401/0.2678, allocations: 0.5275 MB / 0.9102 GB, free: 53.83 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.329e-05/0.2679, allocations: 4 kB / 0.9102 GB, free: 53.82 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.924e-05/0.2679, allocations: 12 kB / 0.9102 GB, free: 53.81 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.661e-05/0.268, allocations: 36.59 kB / 0.9103 GB, free: 53.77 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004932/0.2685, allocations: 394.2 kB / 0.9106 GB, free: 53.39 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001938/0.2704, allocations: 2.411 MB / 0.913 GB, free: 50.76 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004344/0.2709, allocations: 262.4 kB / 0.9132 GB, free: 50.49 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001331/0.271, allocations: 108.8 kB / 0.9133 GB, free: 50.38 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.414e-05/0.271, allocations: 4 kB / 0.9134 GB, free: 50.38 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.955e-05/0.271, allocations: 34.56 kB / 0.9134 GB, free: 50.34 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=20): time 1.794e-06/0.2711, allocations: 0 / 0.9134 GB, free: 50.34 MB / 0.6042 GB Notification: Performance of matching and sorting (n=23): time 0.001874/0.2729, allocations: 1.129 MB / 0.9145 GB, free: 49.11 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.44e-05/0.273, allocations: 51.41 kB / 0.9145 GB, free: 49.05 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002265/0.2732, allocations: 296.5 kB / 0.9148 GB, free: 48.75 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.809e-05/0.2732, allocations: 33.7 kB / 0.9149 GB, free: 48.71 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 8.814e-05/0.2733, allocations: 227.6 kB / 0.9151 GB, free: 48.48 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 4.012e-05/0.2734, allocations: 86.78 kB / 0.9152 GB, free: 48.4 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.227e-05/0.2734, allocations: 4 kB / 0.9152 GB, free: 48.39 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.694e-05/0.2735, allocations: 338.8 kB / 0.9155 GB, free: 48.05 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001343/0.2736, allocations: 108.6 kB / 0.9156 GB, free: 47.95 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001614/0.2738, allocations: 184.4 kB / 0.9158 GB, free: 47.73 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001663/0.2739, allocations: 129.1 kB / 0.9159 GB, free: 47.6 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.786e-06/0.2739, allocations: 3.953 kB / 0.9159 GB, free: 47.6 MB / 0.6042 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006014/0.2746, allocations: 448.8 kB / 0.9163 GB, free: 47.15 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.651e-05/0.2746, allocations: 7.953 kB / 0.9163 GB, free: 47.14 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.683e-06/0.2746, allocations: 4 kB / 0.9163 GB, free: 47.14 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003148/0.2749, allocations: 94.81 kB / 0.9164 GB, free: 47.04 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002572/0.2752, allocations: 63.89 kB / 0.9165 GB, free: 46.97 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00206/0.2772, allocations: 4.072 MB / 0.9205 GB, free: 42.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002059/0.2775, allocations: 8.031 kB / 0.9205 GB, free: 42.49 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.9e-05/0.2775, allocations: 16 kB / 0.9205 GB, free: 42.47 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.00016/0.2777, allocations: 181.6 kB / 0.9206 GB, free: 42.29 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.971e-05/0.2777, allocations: 31.72 kB / 0.9207 GB, free: 42.25 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.87e-05/0.2778, allocations: 46.31 kB / 0.9207 GB, free: 42.21 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.995e-06/0.2778, allocations: 7.984 kB / 0.9207 GB, free: 42.2 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.925e-06/0.2778, allocations: 0 / 0.9207 GB, free: 42.2 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.2778, allocations: 0 / 0.9207 GB, free: 42.2 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003335/0.2782, allocations: 397.4 kB / 0.9211 GB, free: 41.76 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.2782, allocations: 3.953 kB / 0.9211 GB, free: 41.76 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001842/0.2784, allocations: 35.98 kB / 0.9211 GB, free: 41.72 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002642/0.2786, allocations: 94.44 kB / 0.9212 GB, free: 41.62 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.577e-05/0.2787, allocations: 7.984 kB / 0.9212 GB, free: 41.61 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001956/0.2806, allocations: 4.064 MB / 0.9252 GB, free: 37.15 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.2806, allocations: 0 / 0.9252 GB, free: 37.15 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006523/0.2813, allocations: 0.555 MB / 0.9258 GB, free: 36.57 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001039/0.2814, allocations: 128.9 kB / 0.9259 GB, free: 36.43 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.492e-05/0.2814, allocations: 15.92 kB / 0.9259 GB, free: 36.41 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001938/0.2816, allocations: 4 kB / 0.9259 GB, free: 36.41 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.152e-05/0.2817, allocations: 23.91 kB / 0.9259 GB, free: 36.38 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.435e-05/0.2817, allocations: 8 kB / 0.9259 GB, free: 36.38 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001567/0.2819, allocations: 207.1 kB / 0.9261 GB, free: 36.18 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2819, allocations: 0 / 0.9261 GB, free: 36.18 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.000406/0.2823, allocations: 96 kB / 0.9262 GB, free: 36.08 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.0008373/0.2831, allocations: 1.101 MB / 0.9273 GB, free: 34.95 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.000716/0.2839, allocations: 0.5957 MB / 0.9279 GB, free: 34.31 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.2839, allocations: 4.25 kB / 0.9279 GB, free: 34.31 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0003681/0.2843, allocations: 479.8 kB / 0.9283 GB, free: 33.8 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004499/0.2847, allocations: 78.53 kB / 0.9284 GB, free: 33.72 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00241/0.2871, allocations: 2.044 MB / 0.9304 GB, free: 31.6 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002391/0.2874, allocations: 0.8348 MB / 0.9312 GB, free: 30.74 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0002158/0.2876, allocations: 62.92 kB / 0.9313 GB, free: 30.68 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001219/0.2877, allocations: 111.4 kB / 0.9314 GB, free: 30.57 MB / 0.6042 GB Notification: Performance of SimCode: time 1.052e-06/0.2878, allocations: 0 / 0.9314 GB, free: 30.57 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01752/0.3053, allocations: 7.14 MB / 0.9384 GB, free: 23.63 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001749/0.3055, allocations: 218.4 kB / 0.9386 GB, free: 23.39 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.149/2.455, allocations: 0 / 0.9386 GB, free: 23.39 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)