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.593/1.593, allocations: 252 MB / 267.3 MB, free: 10.85 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.001072/0.001072, allocations: 181.6 kB / 327 MB, free: 2.098 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.967/1.967, allocations: 205.4 MB / 0.578 GB, free: 20.12 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.0009533/0.0009533, allocations: 78.38 kB / 0.6826 GB, free: 12.77 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003669/0.0003669, allocations: 9.344 kB / 0.7971 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2411/0.2415, allocations: 106.3 MB / 0.9009 GB, free: 63.41 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.RCModel): time 0.004843/0.2464, allocations: 3.976 MB / 0.9048 GB, free: 59.42 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.003131/0.2496, allocations: 1.851 MB / 0.9066 GB, free: 57.55 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004788/0.2501, allocations: 11.88 kB / 0.9066 GB, free: 57.54 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0003747/0.2505, allocations: 79.41 kB / 0.9067 GB, free: 57.46 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.000883/0.2514, allocations: 242.9 kB / 0.9069 GB, free: 57.23 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008391/0.2523, allocations: 231.5 kB / 0.9071 GB, free: 57 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0009985/0.2533, allocations: 0.8374 MB / 0.908 GB, free: 56.16 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006009/0.2539, allocations: 431.5 kB / 0.9084 GB, free: 55.71 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004005/0.2543, allocations: 203.2 kB / 0.9086 GB, free: 55.51 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006123/0.255, allocations: 255 kB / 0.9088 GB, free: 55.26 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 7.647e-05/0.255, allocations: 20 kB / 0.9088 GB, free: 55.24 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006351/0.2557, allocations: 303.4 kB / 0.9091 GB, free: 54.94 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001916/0.2559, allocations: 135.6 kB / 0.9092 GB, free: 54.81 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0002687/0.2562, allocations: 228.6 kB / 0.9095 GB, free: 54.58 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0009947/0.2572, allocations: 0.5959 MB / 0.91 GB, free: 53.98 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.2572, allocations: 0 / 0.91 GB, free: 53.98 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.864e-06/0.2572, allocations: 0 / 0.91 GB, free: 53.98 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 2.117e-05/0.2572, allocations: 4 kB / 0.9101 GB, free: 53.98 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.001354/0.2586, allocations: 0.6599 MB / 0.9107 GB, free: 53.27 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.91e-05/0.2587, allocations: 8.031 kB / 0.9107 GB, free: 53.26 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001444/0.2588, allocations: 74.72 kB / 0.9108 GB, free: 53.18 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00106/0.2599, allocations: 144.3 kB / 0.9109 GB, free: 53.04 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004518/0.2603, allocations: 338.4 kB / 0.9112 GB, free: 52.66 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.158e-05/0.2604, allocations: 29.38 kB / 0.9113 GB, free: 52.64 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.461e-05/0.2604, allocations: 36.36 kB / 0.9113 GB, free: 52.6 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007632/0.2612, allocations: 0.5276 MB / 0.9118 GB, free: 52.04 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.943e-05/0.2612, allocations: 4 kB / 0.9118 GB, free: 52.03 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.287e-05/0.2613, allocations: 19.98 kB / 0.9118 GB, free: 52.01 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.073e-05/0.2613, allocations: 36.62 kB / 0.9119 GB, free: 51.97 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005681/0.2619, allocations: 390.3 kB / 0.9122 GB, free: 51.59 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002363/0.2643, allocations: 2.407 MB / 0.9146 GB, free: 48.96 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004987/0.2648, allocations: 272.8 kB / 0.9149 GB, free: 48.69 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001518/0.265, allocations: 112.8 kB / 0.915 GB, free: 48.58 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.431e-05/0.265, allocations: 0 / 0.915 GB, free: 48.58 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.757e-05/0.265, allocations: 38.56 kB / 0.915 GB, free: 48.53 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=20): time 1.583e-06/0.265, allocations: 0 / 0.915 GB, free: 48.53 MB / 0.6042 GB Notification: Performance of matching and sorting (n=23): time 0.002048/0.2671, allocations: 1.129 MB / 0.9161 GB, free: 47.3 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.948e-05/0.2671, allocations: 55.41 kB / 0.9162 GB, free: 47.24 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002778/0.2674, allocations: 304.4 kB / 0.9164 GB, free: 46.94 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.515e-05/0.2675, allocations: 29.7 kB / 0.9165 GB, free: 46.9 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001056/0.2676, allocations: 231.6 kB / 0.9167 GB, free: 46.67 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 5.233e-05/0.2676, allocations: 82.83 kB / 0.9168 GB, free: 46.59 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.564e-05/0.2677, allocations: 12 kB / 0.9168 GB, free: 46.58 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.878e-05/0.2677, allocations: 334.8 kB / 0.9171 GB, free: 46.24 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001431/0.2679, allocations: 100.6 kB / 0.9172 GB, free: 46.14 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001694/0.2681, allocations: 200.4 kB / 0.9174 GB, free: 45.91 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003386/0.2684, allocations: 306.3 kB / 0.9177 GB, free: 45.57 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.2684, allocations: 0 / 0.9177 GB, free: 45.57 MB / 0.6042 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007053/0.2691, allocations: 441.7 kB / 0.9181 GB, free: 45.13 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.765e-05/0.2692, allocations: 4 kB / 0.9181 GB, free: 45.12 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.089e-05/0.2692, allocations: 4 kB / 0.9181 GB, free: 45.12 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003613/0.2695, allocations: 110.7 kB / 0.9182 GB, free: 45 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002738/0.2698, allocations: 59.91 kB / 0.9183 GB, free: 44.95 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002291/0.2721, allocations: 4.072 MB / 0.9223 GB, free: 40.47 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002492/0.2724, allocations: 8 kB / 0.9223 GB, free: 40.46 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.106e-05/0.2724, allocations: 16 kB / 0.9223 GB, free: 40.45 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 (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.0002318/0.2727, allocations: 190.4 kB / 0.9225 GB, free: 40.25 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.844e-05/0.2727, allocations: 31.62 kB / 0.9225 GB, free: 40.22 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.904e-05/0.2728, allocations: 38.45 kB / 0.9225 GB, free: 40.18 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.2728, allocations: 3.984 kB / 0.9225 GB, free: 40.18 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.467e-06/0.2728, allocations: 4 kB / 0.9225 GB, free: 40.17 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.2728, allocations: 0 / 0.9225 GB, free: 40.17 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004119/0.2732, allocations: 401.3 kB / 0.9229 GB, free: 39.73 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.2733, allocations: 3.938 kB / 0.9229 GB, free: 39.73 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001884/0.2735, allocations: 31.98 kB / 0.9229 GB, free: 39.7 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002719/0.2737, allocations: 98.48 kB / 0.923 GB, free: 39.59 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.896e-05/0.2738, allocations: 0 / 0.923 GB, free: 39.59 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002137/0.2759, allocations: 4.072 MB / 0.927 GB, free: 35.12 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.2759, allocations: 0 / 0.927 GB, free: 35.12 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007132/0.2767, allocations: 0.5594 MB / 0.9276 GB, free: 34.54 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001212/0.2768, allocations: 128.7 kB / 0.9277 GB, free: 34.39 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.346e-05/0.2768, allocations: 8 kB / 0.9277 GB, free: 34.39 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001917/0.277, allocations: 8 kB / 0.9277 GB, free: 34.38 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.987e-05/0.2771, allocations: 19.97 kB / 0.9277 GB, free: 34.36 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.454e-05/0.2771, allocations: 8 kB / 0.9277 GB, free: 34.35 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001693/0.2773, allocations: 211.1 kB / 0.9279 GB, free: 34.15 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2773, allocations: 64 / 0.9279 GB, free: 34.15 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0004651/0.2778, allocations: 100 kB / 0.928 GB, free: 34.05 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 (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.0008451/0.2786, allocations: 1.103 MB / 0.9291 GB, free: 32.92 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0007418/0.2794, allocations: 0.6137 MB / 0.9297 GB, free: 32.27 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 4.177e-06/0.2794, allocations: 4 kB / 0.9297 GB, free: 32.26 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0003672/0.2798, allocations: 475.8 kB / 0.9302 GB, free: 31.76 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004813/0.2803, allocations: 75.27 kB / 0.9302 GB, free: 31.68 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003571/0.2838, allocations: 3.54 MB / 0.9337 GB, free: 27.98 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002739/0.2841, allocations: 0.8386 MB / 0.9345 GB, free: 27.12 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0002347/0.2844, allocations: 58.94 kB / 0.9346 GB, free: 27.05 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001385/0.2845, allocations: 107.4 kB / 0.9347 GB, free: 26.95 MB / 0.6042 GB Notification: Performance of SimCode: time 5.21e-07/0.2845, allocations: 0 / 0.9347 GB, free: 26.95 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01856/0.3031, allocations: 7.275 MB / 0.9418 GB, free: 19.88 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002764/0.3035, allocations: 231.5 kB / 0.942 GB, free: 19.62 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.358/2.662, allocations: 0 / 0.942 GB, free: 19.62 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)