Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.DCLine.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.DCLine,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_DC_Lines_Examples_DCLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.DC.Lines.Examples.DCLine,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_DC_Lines_Examples_DCLine",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.459/1.459, allocations: 252 MB / 267.3 MB, free: 10.82 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.00147/0.001469, allocations: 174 kB / 327 MB, free: 2.086 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.151/2.151, allocations: 205.4 MB / 0.578 GB, free: 20.1 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.0009131/0.0009131, allocations: 104.1 kB / 0.6826 GB, free: 12.74 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003688/0.0003689, allocations: 8.75 kB / 0.7971 GB, free: 134.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2287/0.2291, allocations: 106.3 MB / 0.9009 GB, free: 63.25 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLine): time 0.005657/0.2348, allocations: 5.827 MB / 0.9066 GB, free: 57.39 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.005627/0.2404, allocations: 4.481 MB / 0.911 GB, free: 52.9 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007494/0.2412, allocations: 27.88 kB / 0.911 GB, free: 52.87 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.000773/0.242, allocations: 154.9 kB / 0.9112 GB, free: 52.72 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.002577/0.2446, allocations: 0.7013 MB / 0.9118 GB, free: 52.02 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.001122/0.2458, allocations: 306.3 kB / 0.9121 GB, free: 51.72 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.002149/0.2479, allocations: 1.444 MB / 0.9136 GB, free: 50.27 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009922/0.2489, allocations: 0.5378 MB / 0.9141 GB, free: 49.71 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008699/0.2498, allocations: 402.3 kB / 0.9145 GB, free: 49.31 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008705/0.2507, allocations: 470.1 kB / 0.9149 GB, free: 48.85 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.0001553/0.2509, allocations: 36 kB / 0.9149 GB, free: 48.82 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007585/0.2516, allocations: 307.4 kB / 0.9152 GB, free: 48.52 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0002772/0.2519, allocations: 207.2 kB / 0.9154 GB, free: 48.31 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0005309/0.2525, allocations: 383.7 kB / 0.9158 GB, free: 47.93 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.001119/0.2536, allocations: 1.036 MB / 0.9168 GB, free: 46.89 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.512e-06/0.2536, allocations: 4 kB / 0.9168 GB, free: 46.89 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.455e-06/0.2536, allocations: 0 / 0.9168 GB, free: 46.89 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.649e-05/0.2537, allocations: 0 / 0.9168 GB, free: 46.89 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: 142 * Number of variables: 142 Notification: Performance of Generate backend data structure: time 0.001768/0.2554, allocations: 0.966 MB / 0.9178 GB, free: 45.87 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.602e-05/0.2555, allocations: 12.03 kB / 0.9178 GB, free: 45.86 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002052/0.2557, allocations: 106.7 kB / 0.9179 GB, free: 45.75 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003101/0.2588, allocations: 0.6475 MB / 0.9185 GB, free: 45.1 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000876/0.2597, allocations: 0.5385 MB / 0.919 GB, free: 44.52 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.452e-05/0.2598, allocations: 45.67 kB / 0.9191 GB, free: 44.47 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001004/0.2599, allocations: 51.94 kB / 0.9191 GB, free: 44.42 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001831/0.2617, allocations: 1.026 MB / 0.9201 GB, free: 43.35 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.774e-05/0.2617, allocations: 7.938 kB / 0.9201 GB, free: 43.34 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.693e-05/0.2618, allocations: 19.98 kB / 0.9202 GB, free: 43.32 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.828e-05/0.2619, allocations: 49.28 kB / 0.9202 GB, free: 43.28 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002177/0.2641, allocations: 1.02 MB / 0.9212 GB, free: 42.26 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003885/0.268, allocations: 3.506 MB / 0.9246 GB, free: 38.45 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001367/0.2694, allocations: 0.5218 MB / 0.9251 GB, free: 37.91 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005049/0.2699, allocations: 241.2 kB / 0.9254 GB, free: 37.68 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 4.153e-05/0.2699, allocations: 11.92 kB / 0.9254 GB, free: 37.66 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.809e-05/0.27, allocations: 46.53 kB / 0.9254 GB, free: 37.61 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=31): time 2.325e-06/0.27, allocations: 0 / 0.9254 GB, free: 37.61 MB / 0.6042 GB Notification: Performance of matching and sorting (n=43): time 0.006517/0.2765, allocations: 2.22 MB / 0.9276 GB, free: 35.34 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.771e-05/0.2766, allocations: 55.41 kB / 0.9276 GB, free: 35.28 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006165/0.2772, allocations: 0.5743 MB / 0.9282 GB, free: 34.69 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 3.861e-05/0.2772, allocations: 33.7 kB / 0.9282 GB, free: 34.65 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001762/0.2774, allocations: 352.2 kB / 0.9286 GB, free: 34.3 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001056/0.2775, allocations: 149.8 kB / 0.9287 GB, free: 34.16 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.099e-05/0.2776, allocations: 12 kB / 0.9287 GB, free: 34.14 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 8.461e-05/0.2777, allocations: 378.7 kB / 0.9291 GB, free: 33.77 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006193/0.2783, allocations: 272.9 kB / 0.9293 GB, free: 33.5 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006536/0.279, allocations: 393.7 kB / 0.9297 GB, free: 33.07 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001309/0.2803, allocations: 0.6655 MB / 0.9304 GB, free: 32.36 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.188e-06/0.2803, allocations: 0 / 0.9304 GB, free: 32.36 MB / 0.6042 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.002192/0.2825, allocations: 0.974 MB / 0.9313 GB, free: 31.36 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 8.756e-05/0.2826, allocations: 184.5 kB / 0.9315 GB, free: 31.13 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.887e-06/0.2826, allocations: 0 / 0.9315 GB, free: 31.13 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001078/0.2837, allocations: 280.8 kB / 0.9318 GB, free: 30.84 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005901/0.2843, allocations: 127.8 kB / 0.9319 GB, free: 30.71 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005659/0.29, allocations: 8.485 MB / 0.9402 GB, free: 21.44 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000748/0.2908, allocations: 56.02 kB / 0.9402 GB, free: 21.38 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.475e-05/0.2909, allocations: 20 kB / 0.9402 GB, free: 21.36 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.005e-05/0.2909, allocations: 4 kB / 0.9402 GB, free: 21.36 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002223/0.2931, allocations: 1.089 MB / 0.9413 GB, free: 20.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.885e-06/0.2931, allocations: 4 kB / 0.9413 GB, free: 20.19 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006982/0.2938, allocations: 217.3 kB / 0.9415 GB, free: 19.96 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000583/0.2944, allocations: 135.8 kB / 0.9416 GB, free: 19.83 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00423/0.2987, allocations: 8.164 MB / 0.9496 GB, free: 10.87 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006975/0.2994, allocations: 56.02 kB / 0.9497 GB, free: 10.81 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.357e-05/0.2995, allocations: 19.98 kB / 0.9497 GB, free: 10.79 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (47): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * 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,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,2), (1,2), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.000438/0.2999, allocations: 313.8 kB / 0.95 GB, free: 10.48 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000167/0.3001, allocations: 75.14 kB / 0.9501 GB, free: 10.4 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001412/0.3002, allocations: 78.38 kB / 0.9501 GB, free: 10.32 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.3002, allocations: 4 kB / 0.9501 GB, free: 10.32 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.076e-05/0.3003, allocations: 0 / 0.9501 GB, free: 10.32 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.941e-06/0.3003, allocations: 3.984 kB / 0.9501 GB, free: 10.32 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006912/0.301, allocations: 0.6494 MB / 0.9508 GB, free: 9.617 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.301, allocations: 4 kB / 0.9508 GB, free: 9.613 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004721/0.3015, allocations: 95.86 kB / 0.9509 GB, free: 9.52 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008673/0.3023, allocations: 272.8 kB / 0.9511 GB, free: 9.234 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.274e-05/0.3024, allocations: 12 kB / 0.9511 GB, free: 9.223 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004543/0.3069, allocations: 8.416 MB / 0.9594 GB, free: 4 kB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.307, allocations: 0 / 0.9594 GB, free: 4 kB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002395/0.3094, allocations: 0.96 MB / 0.9603 GB, free: 15.01 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000303/0.3097, allocations: 184.2 kB / 0.9605 GB, free: 14.81 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.385e-05/0.3098, allocations: 15.92 kB / 0.9605 GB, free: 14.79 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004882/0.3103, allocations: 47.95 kB / 0.9605 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001488/0.3104, allocations: 40.12 kB / 0.9606 GB, free: 14.71 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.495e-05/0.3105, allocations: 12 kB / 0.9606 GB, free: 14.7 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0004769/0.3109, allocations: 407.1 kB / 0.961 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.6e-07/0.311, allocations: 3.938 kB / 0.961 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.001081/0.312, allocations: 296 kB / 0.9613 GB, free: 14.01 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (31): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * 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,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,2), (1,2), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002451/0.3145, allocations: 1.529 MB / 0.9628 GB, free: 12.44 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.00387/0.3184, allocations: 2.423 MB / 0.9651 GB, free: 9.859 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.3184, allocations: 0 / 0.9651 GB, free: 9.859 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.001404/0.3198, allocations: 1.028 MB / 0.9661 GB, free: 8.754 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001096/0.3209, allocations: 204.7 kB / 0.9663 GB, free: 8.559 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0116/0.3325, allocations: 6.799 MB / 0.973 GB, free: 1.555 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006913/0.3333, allocations: 0.9858 MB / 0.9739 GB, free: 0.543 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0007579/0.334, allocations: 145.4 kB / 0.9741 GB, free: 408 kB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003667/0.3344, allocations: 235.3 kB / 0.9743 GB, free: 172 kB / 0.6198 GB Notification: Performance of SimCode: time 9.72e-07/0.3344, allocations: 0 / 0.9743 GB, free: 172 kB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03758/0.372, allocations: 18.71 MB / 0.9926 GB, free: 13.73 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001804/0.3722, allocations: 233.5 kB / 0.9928 GB, free: 13.48 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.875/3.248, allocations: 4 kB / 0.9928 GB, free: 13.48 MB / 0.6511 GB (rm -f Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.DCLine.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Electrical_DC_Lines_Examples_DCLine_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Electrical_DC_Lines_Examples_DCLine.fmu > Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe 2>&1)