Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.DCLine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.DC.Lines.Examples.DCLine,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_DC_Lines_Examples_DCLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.DC.Lines.Examples.DCLine,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 1.778/1.778, allocations: 287.4 MB / 302.6 MB, free: 8.223 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.001052/0.001052, allocations: 188.3 kB / 371.1 MB, free: 10.82 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.557/1.557, allocations: 205.4 MB / 0.6298 GB, free: 10.59 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.0007866/0.0007865, allocations: 99.66 kB / 0.7431 GB, free: 6.566 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004/0.0004, allocations: 11.09 kB / 0.8662 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2246/0.225, allocations: 115.3 MB / 0.9787 GB, free: 28.12 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLine): time 0.00506/0.2301, allocations: 5.546 MB / 0.9841 GB, free: 22.55 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.005173/0.2353, allocations: 4.245 MB / 0.9883 GB, free: 18.29 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004867/0.2359, allocations: 19.88 kB / 0.9883 GB, free: 18.27 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0004705/0.2364, allocations: 150.9 kB / 0.9885 GB, free: 18.12 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.001743/0.2381, allocations: 0.6207 MB / 0.9891 GB, free: 17.5 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006319/0.2388, allocations: 245.5 kB / 0.9893 GB, free: 17.26 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0009949/0.2398, allocations: 1.199 MB / 0.9905 GB, free: 16.06 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005803/0.2403, allocations: 0.5419 MB / 0.991 GB, free: 15.5 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004634/0.2408, allocations: 374.5 kB / 0.9914 GB, free: 15.13 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005787/0.2414, allocations: 470.2 kB / 0.9918 GB, free: 14.67 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 7.221e-05/0.2415, allocations: 32 kB / 0.9918 GB, free: 14.64 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004052/0.2419, allocations: 147.8 kB / 0.992 GB, free: 14.49 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001512/0.2421, allocations: 211.2 kB / 0.9922 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001262/0.2422, allocations: 169.3 kB / 0.9923 GB, free: 14.11 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0006083/0.2428, allocations: 0.8065 MB / 0.9931 GB, free: 13.3 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.512e-06/0.2428, allocations: 0 / 0.9931 GB, free: 13.3 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.823e-06/0.2428, allocations: 0 / 0.9931 GB, free: 13.3 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.035e-05/0.2429, allocations: 0 / 0.9931 GB, free: 13.3 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.001382/0.2442, allocations: 0.9622 MB / 0.9941 GB, free: 12.29 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.43e-05/0.2443, allocations: 12.03 kB / 0.9941 GB, free: 12.28 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001055/0.2444, allocations: 110.6 kB / 0.9942 GB, free: 12.16 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002845/0.2473, allocations: 0.6437 MB / 0.9948 GB, free: 11.52 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006738/0.248, allocations: 0.5423 MB / 0.9953 GB, free: 10.93 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.845e-05/0.248, allocations: 37.69 kB / 0.9954 GB, free: 10.9 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.838e-05/0.2481, allocations: 59.92 kB / 0.9954 GB, free: 10.84 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001678/0.2498, allocations: 1.018 MB / 0.9964 GB, free: 9.777 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.007e-05/0.2498, allocations: 3.938 kB / 0.9964 GB, free: 9.773 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.167e-05/0.2499, allocations: 24 kB / 0.9965 GB, free: 9.75 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.927e-05/0.2499, allocations: 45.28 kB / 0.9965 GB, free: 9.703 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002021/0.252, allocations: 1.016 MB / 0.9975 GB, free: 8.688 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003485/0.2555, allocations: 3.513 MB / 1.001 GB, free: 4.871 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0013/0.2568, allocations: 0.5195 MB / 1.001 GB, free: 4.344 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004781/0.2573, allocations: 245.2 kB / 1.002 GB, free: 4.102 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.424e-05/0.2573, allocations: 11.94 kB / 1.002 GB, free: 4.09 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.56e-05/0.2574, allocations: 38.55 kB / 1.002 GB, free: 4.043 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=31): time 2.384e-06/0.2574, allocations: 0 / 1.002 GB, free: 4.043 MB / 0.6198 GB Notification: Performance of matching and sorting (n=43): time 0.006077/0.2634, allocations: 2.227 MB / 1.004 GB, free: 1.77 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.054e-05/0.2635, allocations: 59.41 kB / 1.004 GB, free: 1.699 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005257/0.264, allocations: 0.5588 MB / 1.004 GB, free: 1.133 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.854e-05/0.2641, allocations: 29.7 kB / 1.005 GB, free: 1.098 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001595/0.2642, allocations: 360.2 kB / 1.005 GB, free: 0.7422 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 8.116e-05/0.2643, allocations: 145.8 kB / 1.005 GB, free: 0.5977 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.334e-05/0.2644, allocations: 8 kB / 1.005 GB, free: 0.5898 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.001e-05/0.2644, allocations: 378.7 kB / 1.005 GB, free: 216 kB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006267/0.2651, allocations: 276.9 kB / 1.006 GB, free: 15.94 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000744/0.2658, allocations: 387.9 kB / 1.006 GB, free: 15.52 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001392/0.2672, allocations: 0.6616 MB / 1.007 GB, free: 14.82 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.2672, allocations: 0 / 1.007 GB, free: 14.82 MB / 0.6355 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.002498/0.2697, allocations: 0.9739 MB / 1.008 GB, free: 13.82 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001646/0.2699, allocations: 188.4 kB / 1.008 GB, free: 13.59 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.314e-05/0.2699, allocations: 4 kB / 1.008 GB, free: 13.58 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001148/0.2711, allocations: 276.8 kB / 1.008 GB, free: 13.29 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006673/0.2718, allocations: 127.8 kB / 1.008 GB, free: 13.17 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008985/0.2808, allocations: 8.472 MB / 1.016 GB, free: 3.902 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007467/0.2816, allocations: 51.95 kB / 1.016 GB, free: 3.852 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.369e-05/0.2816, allocations: 28.05 kB / 1.017 GB, free: 3.824 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.406e-05/0.2817, allocations: 6.656 kB / 1.017 GB, free: 3.82 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002406/0.2841, allocations: 1.085 MB / 1.018 GB, free: 2.66 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-06/0.2841, allocations: 7.938 kB / 1.018 GB, free: 2.652 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007612/0.2849, allocations: 221.3 kB / 1.018 GB, free: 2.418 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005988/0.2855, allocations: 135.8 kB / 1.018 GB, free: 2.285 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006638/0.2921, allocations: 8.156 MB / 1.026 GB, free: 9.328 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000775/0.293, allocations: 51.95 kB / 1.026 GB, free: 9.277 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.832e-05/0.293, allocations: 24.06 kB / 1.026 GB, free: 9.254 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.0004659/0.2935, allocations: 314.1 kB / 1.026 GB, free: 8.938 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001086/0.2936, allocations: 63.25 kB / 1.026 GB, free: 8.875 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000144/0.2938, allocations: 78.38 kB / 1.026 GB, free: 8.793 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.652e-06/0.2938, allocations: 4 kB / 1.026 GB, free: 8.789 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.285e-05/0.2938, allocations: 7.938 kB / 1.026 GB, free: 8.781 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.024e-06/0.2938, allocations: 8.125 kB / 1.026 GB, free: 8.773 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007998/0.2946, allocations: 0.6455 MB / 1.027 GB, free: 8.078 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.2946, allocations: 0 / 1.027 GB, free: 8.078 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000503/0.2951, allocations: 103.8 kB / 1.027 GB, free: 7.977 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009684/0.2961, allocations: 260.8 kB / 1.027 GB, free: 7.703 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.381e-05/0.2961, allocations: 8 kB / 1.027 GB, free: 7.695 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007148/0.3033, allocations: 8.423 MB / 1.036 GB, free: 14.48 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.3034, allocations: 0 / 1.036 GB, free: 14.48 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002463/0.3058, allocations: 0.9638 MB / 1.037 GB, free: 13.48 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003945/0.3062, allocations: 180.3 kB / 1.037 GB, free: 13.28 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001444/0.3064, allocations: 11.94 kB / 1.037 GB, free: 13.27 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005546/0.307, allocations: 51.95 kB / 1.037 GB, free: 13.22 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001603/0.3071, allocations: 35.94 kB / 1.037 GB, free: 13.18 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.733e-05/0.3072, allocations: 19.98 kB / 1.037 GB, free: 13.16 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0006372/0.3078, allocations: 395.1 kB / 1.037 GB, free: 12.79 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3078, allocations: 0 / 1.037 GB, free: 12.79 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.001395/0.3092, allocations: 300 kB / 1.038 GB, free: 12.49 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.002788/0.312, allocations: 1.52 MB / 1.039 GB, free: 10.92 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.003988/0.316, allocations: 2.415 MB / 1.041 GB, free: 8.352 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/0.3161, allocations: 0 / 1.041 GB, free: 8.352 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.001382/0.3175, allocations: 1.027 MB / 1.042 GB, free: 7.246 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001186/0.3187, allocations: 204.4 kB / 1.043 GB, free: 7.047 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008317/0.327, allocations: 4.367 MB / 1.047 GB, free: 2.574 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006625/0.3277, allocations: 0.9781 MB / 1.048 GB, free: 1.57 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0006572/0.3284, allocations: 149.4 kB / 1.048 GB, free: 1.422 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003306/0.3287, allocations: 239.3 kB / 1.048 GB, free: 1.188 MB / 0.6667 GB Notification: Performance of SimCode: time 6.51e-07/0.3287, allocations: 0 / 1.048 GB, free: 1.188 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4659/0.7946, allocations: 18.38 MB / 1.066 GB, free: 82.15 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000186/0.7949, allocations: 202.4 kB / 1.066 GB, free: 81.91 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.636/3.431, allocations: 0 / 1.066 GB, free: 81.91 MB / 0.6823 GB (rm -f Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.DCLine.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Electrical_DC_Lines_Examples_DCLine_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Electrical_DC_Lines_Examples_DCLine.fmu > Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe 2>&1)