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.581/1.581, allocations: 251.9 MB / 266.9 MB, free: 11.01 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.001028/0.001028, allocations: 178.3 kB / 326.5 MB, free: 2.223 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.752/1.752, allocations: 205.4 MB / 0.5775 GB, free: 20.26 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.001159/0.001159, allocations: 97.69 kB / 0.6821 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002937/0.0002937, allocations: 8.531 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1853/0.1857, allocations: 106.3 MB / 0.9001 GB, free: 63.82 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLine): time 0.005456/0.1912, allocations: 5.344 MB / 0.9054 GB, free: 58.45 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.004779/0.196, allocations: 4.121 MB / 0.9094 GB, free: 54.32 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004049/0.1964, allocations: 19.88 kB / 0.9094 GB, free: 54.3 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0003941/0.1968, allocations: 143.1 kB / 0.9095 GB, free: 54.16 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.001283/0.1981, allocations: 0.6174 MB / 0.9102 GB, free: 53.54 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005029/0.1986, allocations: 242.5 kB / 0.9104 GB, free: 53.3 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0006308/0.1993, allocations: 0.6743 MB / 0.911 GB, free: 52.63 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004502/0.1997, allocations: 488.4 kB / 0.9115 GB, free: 52.12 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003051/0.2, allocations: 346.8 kB / 0.9118 GB, free: 51.79 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003822/0.2004, allocations: 358.6 kB / 0.9122 GB, free: 51.43 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 5.672e-05/0.2005, allocations: 32 kB / 0.9122 GB, free: 51.4 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002587/0.2008, allocations: 139.8 kB / 0.9123 GB, free: 51.27 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001174/0.2009, allocations: 187.4 kB / 0.9125 GB, free: 51.08 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 9.953e-05/0.201, allocations: 169.3 kB / 0.9127 GB, free: 50.91 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.000569/0.2016, allocations: 0.799 MB / 0.9135 GB, free: 50.11 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.966e-06/0.2016, allocations: 0 / 0.9135 GB, free: 50.11 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.483e-06/0.2016, allocations: 7.938 kB / 0.9135 GB, free: 50.1 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.207e-05/0.2016, allocations: 0 / 0.9135 GB, free: 50.1 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.001308/0.2029, allocations: 0.9736 MB / 0.9144 GB, free: 49.07 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.376e-05/0.203, allocations: 8.031 kB / 0.9144 GB, free: 49.07 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.036e-05/0.2031, allocations: 102.5 kB / 0.9145 GB, free: 48.96 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002938/0.206, allocations: 0.6583 MB / 0.9152 GB, free: 48.3 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007726/0.2068, allocations: 0.526 MB / 0.9157 GB, free: 47.73 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.622e-05/0.2068, allocations: 33.31 kB / 0.9157 GB, free: 47.7 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.574e-05/0.2069, allocations: 51.95 kB / 0.9158 GB, free: 47.65 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001618/0.2085, allocations: 1.022 MB / 0.9168 GB, free: 46.58 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.714e-05/0.2086, allocations: 0 / 0.9168 GB, free: 46.58 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.458e-05/0.2086, allocations: 31.97 kB / 0.9168 GB, free: 46.55 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.838e-05/0.2087, allocations: 49.28 kB / 0.9168 GB, free: 46.5 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002146/0.2109, allocations: 1.004 MB / 0.9178 GB, free: 45.5 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004511/0.2154, allocations: 3.513 MB / 0.9213 GB, free: 41.68 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001311/0.2167, allocations: 0.5221 MB / 0.9218 GB, free: 41.15 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.673e-05/0.2168, allocations: 4 kB / 0.9218 GB, free: 41.14 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.067e-05/0.2168, allocations: 34.56 kB / 0.9218 GB, free: 41.1 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=31): time 3.416e-06/0.2168, allocations: 0 / 0.9218 GB, free: 41.1 MB / 0.6042 GB Notification: Performance of matching and sorting (n=43): time 0.006156/0.223, allocations: 2.229 MB / 0.924 GB, free: 38.83 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.864e-05/0.223, allocations: 55.41 kB / 0.924 GB, free: 38.76 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005261/0.2236, allocations: 0.5665 MB / 0.9246 GB, free: 38.18 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 3.567e-05/0.2236, allocations: 37.7 kB / 0.9246 GB, free: 38.14 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.000165/0.2238, allocations: 352.2 kB / 0.925 GB, free: 37.79 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 9.621e-05/0.2239, allocations: 145.8 kB / 0.9251 GB, free: 37.65 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.764e-05/0.2239, allocations: 12 kB / 0.9251 GB, free: 37.64 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 8.805e-05/0.224, allocations: 370.8 kB / 0.9255 GB, free: 37.27 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005828/0.2246, allocations: 272.9 kB / 0.9257 GB, free: 37 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006173/0.2252, allocations: 389.7 kB / 0.9261 GB, free: 36.57 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007074/0.2259, allocations: 305.5 kB / 0.9264 GB, free: 36.27 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.226, allocations: 4 kB / 0.9264 GB, free: 36.27 MB / 0.6042 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.002098/0.2281, allocations: 0.9746 MB / 0.9273 GB, free: 35.27 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002532/0.2283, allocations: 1.225 MB / 0.9285 GB, free: 33.95 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.001e-05/0.2283, allocations: 7.953 kB / 0.9285 GB, free: 33.94 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001016/0.2294, allocations: 280.8 kB / 0.9288 GB, free: 33.65 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005608/0.2299, allocations: 131.8 kB / 0.9289 GB, free: 33.52 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005546/0.2355, allocations: 8.556 MB / 0.9373 GB, free: 24.17 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006803/0.2362, allocations: 55.89 kB / 0.9373 GB, free: 24.11 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.7e-05/0.2363, allocations: 20.06 kB / 0.9374 GB, free: 24.09 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.072e-05/0.2363, allocations: 8 kB / 0.9374 GB, free: 24.09 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002042/0.2383, allocations: 1.077 MB / 0.9384 GB, free: 22.93 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/0.2383, allocations: 4 kB / 0.9384 GB, free: 22.93 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006698/0.239, allocations: 221.2 kB / 0.9386 GB, free: 22.7 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005375/0.2396, allocations: 127.8 kB / 0.9388 GB, free: 22.57 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00408/0.2437, allocations: 8.219 MB / 0.9468 GB, free: 13.55 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006559/0.2443, allocations: 51.95 kB / 0.9468 GB, free: 13.5 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.382e-05/0.2444, allocations: 20 kB / 0.9469 GB, free: 13.48 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 (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 3 {1 2,1 2,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.00036/0.2447, allocations: 320.9 kB / 0.9472 GB, free: 13.16 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.615e-05/0.2448, allocations: 67.16 kB / 0.9472 GB, free: 13.09 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000134/0.245, allocations: 82.33 kB / 0.9473 GB, free: 13.01 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/0.245, allocations: 4 kB / 0.9473 GB, free: 13 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.271e-05/0.245, allocations: 8 kB / 0.9473 GB, free: 13 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.591e-06/0.245, allocations: 3.984 kB / 0.9473 GB, free: 12.99 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006243/0.2456, allocations: 0.6417 MB / 0.9479 GB, free: 12.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.2457, allocations: 0 / 0.9479 GB, free: 12.3 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004484/0.2461, allocations: 103.8 kB / 0.948 GB, free: 12.2 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008233/0.2469, allocations: 261.2 kB / 0.9483 GB, free: 11.93 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.177e-05/0.247, allocations: 11.94 kB / 0.9483 GB, free: 11.91 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00443/0.2514, allocations: 8.506 MB / 0.9566 GB, free: 2.609 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.2514, allocations: 0 / 0.9566 GB, free: 2.609 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001952/0.2534, allocations: 0.9601 MB / 0.9575 GB, free: 1.613 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002565/0.2537, allocations: 184.2 kB / 0.9577 GB, free: 1.414 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.253e-05/0.2537, allocations: 4 kB / 0.9577 GB, free: 1.41 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004612/0.2542, allocations: 51.95 kB / 0.9578 GB, free: 1.359 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001197/0.2543, allocations: 43.88 kB / 0.9578 GB, free: 1.316 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.997e-05/0.2544, allocations: 12 kB / 0.9578 GB, free: 1.305 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0003936/0.2548, allocations: 403 kB / 0.9582 GB, free: 0.918 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.6e-07/0.2548, allocations: 0 / 0.9582 GB, free: 0.918 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001012/0.2558, allocations: 296 kB / 0.9585 GB, free: 0.6289 MB / 0.6042 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 (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 3 {1 2,1 2,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.002342/0.2582, allocations: 1.521 MB / 0.96 GB, free: 15.06 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.003841/0.262, allocations: 2.412 MB / 0.9623 GB, free: 12.49 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.262, allocations: 0 / 0.9623 GB, free: 12.49 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.001354/0.2634, allocations: 1.031 MB / 0.9633 GB, free: 11.38 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008446/0.2642, allocations: 215.2 kB / 0.9635 GB, free: 11.18 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008269/0.2725, allocations: 6.282 MB / 0.9697 GB, free: 4.773 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006013/0.2732, allocations: 0.9937 MB / 0.9707 GB, free: 3.75 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0006605/0.2738, allocations: 149.4 kB / 0.9708 GB, free: 3.602 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003317/0.2742, allocations: 243.3 kB / 0.971 GB, free: 3.367 MB / 0.6198 GB Notification: Performance of SimCode: time 1.142e-06/0.2742, allocations: 0 / 0.971 GB, free: 3.367 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04069/0.3149, allocations: 18.39 MB / 0.989 GB, free: 1.266 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002892/0.3152, allocations: 216 kB / 0.9892 GB, free: 1.027 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.43/2.745, allocations: 0 / 0.9892 GB, free: 1.027 MB / 0.6355 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)