Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.DCLines.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.DCLines,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_DC_Lines_Examples_DCLines",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.DC.Lines.Examples.DCLines,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_DC_Lines_Examples_DCLines",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.812/1.812, allocations: 288.4 MB / 303.3 MB, free: 8.199 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.001022/0.001022, allocations: 178.3 kB / 372 MB, free: 10.27 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.79/1.79, allocations: 205.4 MB / 0.6307 GB, free: 9.984 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.0007389/0.0007389, allocations: 89.17 kB / 0.7441 GB, free: 5.895 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003945/0.0003945, allocations: 12 kB / 0.867 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2279/0.2284, allocations: 115.3 MB / 0.9796 GB, free: 27.57 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLines): time 0.01681/0.2452, allocations: 20.23 MB / 0.9994 GB, free: 7.27 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.02295/0.2682, allocations: 16.5 MB / 1.016 GB, free: 6.727 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003791/0.2721, allocations: 103.4 kB / 1.016 GB, free: 6.625 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.002929/0.275, allocations: 0.5658 MB / 1.016 GB, free: 6.055 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.01115/0.2862, allocations: 2.862 MB / 1.019 GB, free: 3.188 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.003391/0.2896, allocations: 0.9594 MB / 1.02 GB, free: 2.23 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.008852/0.2985, allocations: 5.772 MB / 1.026 GB, free: 12.44 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004266/0.3028, allocations: 2.017 MB / 1.028 GB, free: 10.35 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004577/0.3074, allocations: 1.867 MB / 1.029 GB, free: 8.477 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004583/0.3121, allocations: 2.167 MB / 1.031 GB, free: 6.301 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.001268/0.3134, allocations: 160 kB / 1.032 GB, free: 6.145 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00267/0.316, allocations: 0.4916 MB / 1.032 GB, free: 5.652 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.001788/0.3179, allocations: 0.9264 MB / 1.033 GB, free: 4.723 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.002423/0.3203, allocations: 0.6873 MB / 1.034 GB, free: 4.027 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.006246/0.3266, allocations: 3.814 MB / 1.037 GB, free: 212 kB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 8.235e-06/0.3266, allocations: 0 / 1.037 GB, free: 212 kB / 0.6511 GB Notification: Performance of FrontEnd: time 3.386e-06/0.3266, allocations: 0 / 1.037 GB, free: 212 kB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0002508/0.3269, allocations: 0 / 1.037 GB, free: 212 kB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 635 * Number of variables: 635 Notification: Performance of Generate backend data structure: time 0.009764/0.3366, allocations: 3.888 MB / 1.041 GB, free: 12.21 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.691e-05/0.3367, allocations: 12.02 kB / 1.041 GB, free: 12.2 MB / 0.6667 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009824/0.3377, allocations: 362.1 kB / 1.042 GB, free: 11.83 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0156/0.3533, allocations: 3.362 MB / 1.045 GB, free: 8.461 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004685/0.358, allocations: 1.952 MB / 1.047 GB, free: 6.441 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001489/0.3582, allocations: 184.7 kB / 1.047 GB, free: 6.258 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005295/0.3588, allocations: 232 kB / 1.047 GB, free: 6.031 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01082/0.3696, allocations: 4.724 MB / 1.052 GB, free: 1.164 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.652e-05/0.3697, allocations: 4 kB / 1.052 GB, free: 1.16 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003121/0.37, allocations: 108 kB / 1.052 GB, free: 1.055 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002256/0.3703, allocations: 180.8 kB / 1.052 GB, free: 0.875 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01358/0.3838, allocations: 5.222 MB / 1.057 GB, free: 11.64 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4932/0.8771, allocations: 14.1 MB / 1.071 GB, free: 79.59 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01216/0.8893, allocations: 3.84 MB / 1.075 GB, free: 78.84 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00424/0.8936, allocations: 1.509 MB / 1.076 GB, free: 78.42 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001252/0.8937, allocations: 28.12 kB / 1.076 GB, free: 78.41 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004842/0.8986, allocations: 1.825 MB / 1.078 GB, free: 77.82 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=163): time 5.671e-06/0.8986, allocations: 0 / 1.078 GB, free: 77.82 MB / 0.6823 GB Notification: Performance of matching and sorting (n=250): time 0.1262/1.025, allocations: 33.4 MB / 1.111 GB, free: 68.56 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001818/1.025, allocations: 0.4978 MB / 1.111 GB, free: 67.98 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00297/1.028, allocations: 2.271 MB / 1.113 GB, free: 66.79 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0004505/1.029, allocations: 77.36 kB / 1.113 GB, free: 66.72 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.001029/1.03, allocations: 1.429 MB / 1.115 GB, free: 65.46 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007955/1.03, allocations: 0.826 MB / 1.116 GB, free: 64.75 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000161/1.031, allocations: 47.31 kB / 1.116 GB, free: 64.71 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.00011/1.031, allocations: 397.2 kB / 1.116 GB, free: 64.34 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004385/1.035, allocations: 1.92 MB / 1.118 GB, free: 63.44 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004504/1.04, allocations: 2.228 MB / 1.12 GB, free: 61.76 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004547/1.044, allocations: 2.124 MB / 1.122 GB, free: 59.59 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.696e-06/1.044, allocations: 4 kB / 1.122 GB, free: 59.58 MB / 0.6823 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.01408/1.058, allocations: 6.165 MB / 1.128 GB, free: 53.32 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001759/1.058, allocations: 411.5 kB / 1.128 GB, free: 52.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.488e-05/1.058, allocations: 8 kB / 1.128 GB, free: 52.8 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006219/1.065, allocations: 1.845 MB / 1.13 GB, free: 50.95 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002844/1.068, allocations: 0.5929 MB / 1.131 GB, free: 50.35 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0182/1.086, allocations: 14.15 MB / 1.145 GB, free: 36.01 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003921/1.09, allocations: 407.5 kB / 1.145 GB, free: 35.61 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002696/1.09, allocations: 95.97 kB / 1.145 GB, free: 35.52 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 9.558e-06/1.09, allocations: 7.172 kB / 1.145 GB, free: 35.52 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01279/1.103, allocations: 5.755 MB / 1.151 GB, free: 29.68 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.727e-05/1.103, allocations: 4 kB / 1.151 GB, free: 29.68 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004555/1.108, allocations: 1.818 MB / 1.153 GB, free: 27.86 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002695/1.11, allocations: 0.6046 MB / 1.153 GB, free: 27.25 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01647/1.127, allocations: 13.43 MB / 1.166 GB, free: 13.56 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003756/1.131, allocations: 401.7 kB / 1.167 GB, free: 13.17 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002227/1.131, allocations: 95.97 kB / 1.167 GB, free: 13.07 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 25 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.varLoad1.T_start,varLoad1.T_start,$PRE.varLoad1.count,varLoad1.count,$PRE.varLoad2.T_start,varLoad2.T_start,$PRE.varLoad2.count,varLoad2.count,$PRE.varLoad3.T_start,varLoad3.T_start,$PRE.varLoad3.count,varLoad3.count,$PRE.varLoad4.T_start,varLoad4.T_start,$PRE.varLoad4.count,varLoad4.count,$PRE.varLoad5.T_start,varLoad5.T_start,$PRE.varLoad5.count,varLoad5.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (172): * Single equations (assignments): 165 * Array equations: 0 * Algorithm blocks: 5 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(10,45.0%) 52} * Non-linear torn systems: 1 {10 52} Notification: Performance of prepare postOptimizeDAE: time 0.00137/1.132, allocations: 0.7839 MB / 1.168 GB, free: 12.28 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004701/1.133, allocations: 332.1 kB / 1.168 GB, free: 11.95 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000555/1.133, allocations: 396.1 kB / 1.168 GB, free: 11.56 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.215e-05/1.133, allocations: 24 kB / 1.168 GB, free: 11.54 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.21e-05/1.133, allocations: 12 kB / 1.168 GB, free: 11.52 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.642e-05/1.133, allocations: 11.95 kB / 1.168 GB, free: 11.51 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003214/1.136, allocations: 3.165 MB / 1.171 GB, free: 8.34 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.133e-06/1.137, allocations: 0 / 1.171 GB, free: 8.34 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002391/1.139, allocations: 0.5189 MB / 1.172 GB, free: 7.82 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005365/1.144, allocations: 1.708 MB / 1.174 GB, free: 6.105 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002367/1.145, allocations: 51.97 kB / 1.174 GB, free: 6.055 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02147/1.166, allocations: 13.94 MB / 1.187 GB, free: 7.848 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.431e-06/1.166, allocations: 4 kB / 1.187 GB, free: 7.844 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01565/1.182, allocations: 5.779 MB / 1.193 GB, free: 2.027 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001965/1.184, allocations: 0.6648 MB / 1.193 GB, free: 1.34 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009402/1.185, allocations: 44 kB / 1.194 GB, free: 1.297 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003614/1.188, allocations: 406.5 kB / 1.194 GB, free: 0.9023 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009271/1.189, allocations: 314.6 kB / 1.194 GB, free: 0.5977 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001983/1.189, allocations: 67.97 kB / 1.194 GB, free: 0.5312 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.002702/1.192, allocations: 1.509 MB / 1.196 GB, free: 15.02 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.41e-07/1.192, allocations: 0 / 1.196 GB, free: 15.02 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.005694/1.198, allocations: 1.625 MB / 1.197 GB, free: 13.4 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,varLoad1.T_start,varLoad1.count,varLoad2.T_start,varLoad2.count,varLoad3.T_start,varLoad3.count,varLoad4.T_start,varLoad4.count,varLoad5.T_start,varLoad5.count) * Number of discrete states: 5 (varLoad1.count,varLoad2.count,varLoad3.count,varLoad4.count,varLoad5.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (128): * Single equations (assignments): 116 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(10,60.0%) 52} * Non-linear torn systems: 1 {10 52} Notification: Performance of Backend phase and start with SimCode phase: time 0.01769/1.216, allocations: 6.408 MB / 1.204 GB, free: 6.949 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.02523/1.241, allocations: 10.07 MB / 1.213 GB, free: 12.69 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.238e-05/1.241, allocations: 0 / 1.213 GB, free: 12.69 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.00907/1.25, allocations: 3.489 MB / 1.217 GB, free: 9.168 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006017/1.256, allocations: 1.044 MB / 1.218 GB, free: 8.148 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05424/1.31, allocations: 25.99 MB / 1.243 GB, free: 12.7 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002183/1.313, allocations: 2.305 MB / 1.245 GB, free: 10.36 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.003353/1.316, allocations: 0.6309 MB / 1.246 GB, free: 9.727 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001727/1.318, allocations: 1.331 MB / 1.247 GB, free: 8.395 MB / 0.7605 GB Notification: Performance of SimCode: time 8.92e-07/1.318, allocations: 0 / 1.247 GB, free: 8.395 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1643/1.482, allocations: 100.5 MB / 1.346 GB, free: 4.77 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002138/1.482, allocations: 228.2 kB / 1.346 GB, free: 4.523 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.139/7.621, allocations: 0 / 1.346 GB, free: 4.523 MB / 0.8542 GB (rm -f Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.DCLines.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.DCLines.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.DCLines.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.DCLines.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Electrical_DC_Lines_Examples_DCLines_fmu --startTime=0 --stopTime=4000 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Electrical_DC_Lines_Examples_DCLines.fmu > Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.DCLines.pipe 2>&1)