Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.DCLine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.DC.Lines.Examples.DCLine,fileNamePrefix="Buildings_maint_8_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_8_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 8.0.1-maint.8.0.x/package.mo): time 1.656/1.656, allocations: 288.4 MB / 303.6 MB, free: 8.145 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001041/0.001041, allocations: 182.8 kB / 372.3 MB, free: 10.13 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.404/1.404, allocations: 205.4 MB / 0.631 GB, free: 9.902 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007485/0.0007484, allocations: 98.23 kB / 0.7444 GB, free: 5.801 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003553/0.0003554, allocations: 12 kB / 0.8676 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1842/0.1846, allocations: 115.3 MB / 0.9802 GB, free: 27.26 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLine): time 0.005171/0.1898, allocations: 5.534 MB / 0.9856 GB, free: 21.7 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.004697/0.1945, allocations: 4.257 MB / 0.9897 GB, free: 17.43 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005138/0.1951, allocations: 27.88 kB / 0.9898 GB, free: 17.4 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0004828/0.1956, allocations: 138.9 kB / 0.9899 GB, free: 17.27 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.001648/0.1972, allocations: 0.6775 MB / 0.9906 GB, free: 16.59 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006029/0.1978, allocations: 241.4 kB / 0.9908 GB, free: 16.35 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.001155/0.199, allocations: 1.206 MB / 0.992 GB, free: 15.14 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006464/0.1997, allocations: 0.5341 MB / 0.9925 GB, free: 14.59 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005587/0.2002, allocations: 386.5 kB / 0.9929 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006267/0.2009, allocations: 462.2 kB / 0.9933 GB, free: 13.76 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 6.387e-05/0.2009, allocations: 35.94 kB / 0.9933 GB, free: 13.72 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004425/0.2014, allocations: 299.4 kB / 0.9936 GB, free: 13.43 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001335/0.2015, allocations: 203.3 kB / 0.9938 GB, free: 13.23 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0002494/0.2018, allocations: 375.9 kB / 0.9942 GB, free: 12.86 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0005406/0.2023, allocations: 0.8143 MB / 0.995 GB, free: 12.04 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.2023, allocations: 0 / 0.995 GB, free: 12.04 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.503e-06/0.2024, allocations: 0 / 0.995 GB, free: 12.04 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.905e-06/0.2024, allocations: 0 / 0.995 GB, free: 12.04 MB / 0.6198 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.001276/0.2036, allocations: 0.9738 MB / 0.9959 GB, free: 11.01 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.748e-05/0.2037, allocations: 8.031 kB / 0.9959 GB, free: 11 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.05e-05/0.2038, allocations: 98.69 kB / 0.996 GB, free: 10.9 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002798/0.2066, allocations: 0.6398 MB / 0.9966 GB, free: 10.26 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005898/0.2072, allocations: 0.5501 MB / 0.9972 GB, free: 9.668 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.369e-05/0.2072, allocations: 37.69 kB / 0.9972 GB, free: 9.633 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.308e-05/0.2073, allocations: 51.92 kB / 0.9973 GB, free: 9.582 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0016/0.2089, allocations: 1.026 MB / 0.9983 GB, free: 8.512 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.609e-05/0.2089, allocations: 3.938 kB / 0.9983 GB, free: 8.508 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.866e-05/0.209, allocations: 20 kB / 0.9983 GB, free: 8.488 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.12e-05/0.2091, allocations: 49.28 kB / 0.9983 GB, free: 8.438 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002028/0.2111, allocations: 1.012 MB / 0.9993 GB, free: 7.426 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003149/0.2143, allocations: 3.513 MB / 1.003 GB, free: 3.609 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001268/0.2155, allocations: 0.5256 MB / 1.003 GB, free: 3.074 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004886/0.216, allocations: 244.7 kB / 1.004 GB, free: 2.832 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.06e-05/0.2161, allocations: 4 kB / 1.004 GB, free: 2.828 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.559e-05/0.2161, allocations: 38.56 kB / 1.004 GB, free: 2.781 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=31): time 1.653e-06/0.2161, allocations: 0 / 1.004 GB, free: 2.781 MB / 0.6198 GB Notification: Performance of matching and sorting (n=43): time 0.006109/0.2222, allocations: 2.224 MB / 1.006 GB, free: 0.5117 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.612e-05/0.2223, allocations: 59.41 kB / 1.006 GB, free: 452 kB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005174/0.2228, allocations: 0.5588 MB / 1.006 GB, free: 15.87 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 4.146e-05/0.2228, allocations: 33.7 kB / 1.006 GB, free: 15.83 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002234/0.2231, allocations: 356.2 kB / 1.007 GB, free: 15.48 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001107/0.2232, allocations: 145.9 kB / 1.007 GB, free: 15.34 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.872e-05/0.2232, allocations: 12 kB / 1.007 GB, free: 15.32 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001421/0.2234, allocations: 374.7 kB / 1.007 GB, free: 14.95 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006664/0.2241, allocations: 276.9 kB / 1.007 GB, free: 14.68 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007143/0.2248, allocations: 385.8 kB / 1.008 GB, free: 14.25 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001459/0.2262, allocations: 0.6733 MB / 1.008 GB, free: 13.54 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.2263, allocations: 0 / 1.008 GB, free: 13.54 MB / 0.6355 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.002398/0.2287, allocations: 0.9739 MB / 1.009 GB, free: 12.54 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001034/0.2288, allocations: 176.5 kB / 1.01 GB, free: 12.32 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.106e-06/0.2288, allocations: 4 kB / 1.01 GB, free: 12.32 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001144/0.2299, allocations: 276.8 kB / 1.01 GB, free: 12.03 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006021/0.2306, allocations: 127.8 kB / 1.01 GB, free: 11.9 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006534/0.2371, allocations: 8.481 MB / 1.018 GB, free: 2.629 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006238/0.2377, allocations: 56.02 kB / 1.018 GB, free: 2.574 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.518e-05/0.2378, allocations: 23.92 kB / 1.018 GB, free: 2.551 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 7.184e-06/0.2378, allocations: 4 kB / 1.018 GB, free: 2.547 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002352/0.2402, allocations: 1.081 MB / 1.019 GB, free: 1.391 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.2402, allocations: 7.984 kB / 1.019 GB, free: 1.383 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000757/0.241, allocations: 217.3 kB / 1.02 GB, free: 1.152 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00058/0.2416, allocations: 127.8 kB / 1.02 GB, free: 1.027 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005652/0.2472, allocations: 8.176 MB / 1.028 GB, free: 8.051 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005896/0.2478, allocations: 56.02 kB / 1.028 GB, free: 7.996 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.494e-05/0.2479, allocations: 16 kB / 1.028 GB, free: 7.98 MB / 0.6511 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.000384/0.2483, allocations: 313.8 kB / 1.028 GB, free: 7.664 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001251/0.2484, allocations: 67.25 kB / 1.028 GB, free: 7.598 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001413/0.2486, allocations: 82.31 kB / 1.028 GB, free: 7.512 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.917e-06/0.2486, allocations: 4 kB / 1.028 GB, free: 7.508 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.915e-06/0.2486, allocations: 4 kB / 1.028 GB, free: 7.504 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/0.2486, allocations: 4 kB / 1.028 GB, free: 7.5 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007877/0.2494, allocations: 0.6416 MB / 1.029 GB, free: 6.809 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.387e-06/0.2494, allocations: 0 / 1.029 GB, free: 6.809 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004916/0.2499, allocations: 103.8 kB / 1.029 GB, free: 6.707 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009688/0.2509, allocations: 264.8 kB / 1.029 GB, free: 6.43 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.748e-05/0.2509, allocations: 8 kB / 1.029 GB, free: 6.422 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005997/0.2569, allocations: 8.423 MB / 1.037 GB, free: 13.2 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.2569, allocations: 4.031 kB / 1.037 GB, free: 13.2 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002165/0.2591, allocations: 0.9677 MB / 1.038 GB, free: 12.2 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002417/0.2594, allocations: 180.3 kB / 1.039 GB, free: 12 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.258e-05/0.2595, allocations: 11.94 kB / 1.039 GB, free: 11.99 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004816/0.2599, allocations: 51.95 kB / 1.039 GB, free: 11.94 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000108/0.2601, allocations: 35.94 kB / 1.039 GB, free: 11.9 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.224e-05/0.2601, allocations: 12 kB / 1.039 GB, free: 11.89 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.000433/0.2605, allocations: 403.1 kB / 1.039 GB, free: 11.5 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2606, allocations: 0 / 1.039 GB, free: 11.5 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0009583/0.2615, allocations: 300 kB / 1.039 GB, free: 11.21 MB / 0.6667 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.002372/0.2639, allocations: 1.516 MB / 1.041 GB, free: 9.645 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.003548/0.2675, allocations: 2.415 MB / 1.043 GB, free: 7.074 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.2675, allocations: 3.938 kB / 1.043 GB, free: 7.07 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.001277/0.2688, allocations: 1.023 MB / 1.044 GB, free: 5.969 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009496/0.2697, allocations: 210.9 kB / 1.044 GB, free: 5.766 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007284/0.277, allocations: 4.359 MB / 1.049 GB, free: 1.301 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005183/0.2776, allocations: 0.9821 MB / 1.05 GB, free: 300 kB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0005789/0.2781, allocations: 149.4 kB / 1.05 GB, free: 148 kB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003097/0.2785, allocations: 239.4 kB / 1.05 GB, free: 15.91 MB / 0.6823 GB Notification: Performance of SimCode: time 8.72e-07/0.2785, allocations: 0 / 1.05 GB, free: 15.91 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8414/1.12, allocations: 18.52 MB / 1.068 GB, free: 83.55 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002381/1.12, allocations: 208 kB / 1.068 GB, free: 83.32 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.916/4.037, allocations: 1.5 kB / 1.068 GB, free: 83.32 MB / 0.6823 GB (rm -f Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.DCLine.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Electrical_DC_Lines_Examples_DCLine_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Electrical_DC_Lines_Examples_DCLine.fmu > Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe 2>&1)