Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.DC.Lines.Examples.DCLines.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.DC.Lines.Examples.DCLines,fileNamePrefix="Buildings_10_Buildings_Electrical_DC_Lines_Examples_DCLines",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.DC.Lines.Examples.DCLines,fileNamePrefix="Buildings_10_Buildings_Electrical_DC_Lines_Examples_DCLines",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009034/0.0009035, allocations: 98.27 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00498/0.00498, allocations: 170.6 kB / 16.27 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.279/1.279, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.439/2.439, allocations: 437.8 MB / 0.7121 GB, free: 7.051 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003202/0.0003203, allocations: 8 kB / 0.8729 GB, free: 3.238 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5786/0.5789, allocations: 153.8 MB / 1.023 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLines): time 0.02059/0.5995, allocations: 21.68 MB / 1.044 GB, free: 10.12 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0231/0.6227, allocations: 17.37 MB / 1.061 GB, free: 8.691 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002716/0.6254, allocations: 95.44 kB / 1.061 GB, free: 8.598 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.001697/0.6271, allocations: 0.5853 MB / 1.062 GB, free: 8.008 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.009417/0.6365, allocations: 3.201 MB / 1.065 GB, free: 4.809 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.00287/0.6394, allocations: 1.19 MB / 1.066 GB, free: 3.621 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.007792/0.6472, allocations: 6.85 MB / 1.073 GB, free: 12.75 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003081/0.6503, allocations: 2.499 MB / 1.075 GB, free: 10.16 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003048/0.6534, allocations: 1.953 MB / 1.077 GB, free: 8.195 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003295/0.6567, allocations: 2.245 MB / 1.079 GB, free: 5.941 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0003648/0.6571, allocations: 164 kB / 1.08 GB, free: 5.781 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001893/0.659, allocations: 1.053 MB / 1.081 GB, free: 4.727 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.000793/0.6598, allocations: 0.9418 MB / 1.082 GB, free: 3.781 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.001682/0.6615, allocations: 1.754 MB / 1.083 GB, free: 2.012 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.004878/0.6664, allocations: 4.822 MB / 1.088 GB, free: 13.17 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.6664, allocations: 4 kB / 1.088 GB, free: 13.17 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.254e-06/0.6664, allocations: 0 / 1.088 GB, free: 13.17 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 9.875e-05/0.6665, allocations: 0 / 1.088 GB, free: 13.17 MB / 0.8419 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.00756/0.6741, allocations: 3.83 MB / 1.092 GB, free: 9.227 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 5.216e-05/0.6741, allocations: 12.03 kB / 1.092 GB, free: 9.215 MB / 0.8419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005242/0.6746, allocations: 358.3 kB / 1.092 GB, free: 8.855 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0164/0.6911, allocations: 3.359 MB / 1.095 GB, free: 5.488 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004137/0.6952, allocations: 2.064 MB / 1.097 GB, free: 3.355 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001391/0.6954, allocations: 173.1 kB / 1.098 GB, free: 3.184 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004847/0.6959, allocations: 239.9 kB / 1.098 GB, free: 2.949 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01019/0.7061, allocations: 4.744 MB / 1.102 GB, free: 14.06 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.483e-05/0.7061, allocations: 3.938 kB / 1.102 GB, free: 14.05 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002801/0.7064, allocations: 99.98 kB / 1.102 GB, free: 13.96 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001816/0.7066, allocations: 168.8 kB / 1.103 GB, free: 13.79 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01291/0.7195, allocations: 5.237 MB / 1.108 GB, free: 8.535 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02121/0.7408, allocations: 14.12 MB / 1.122 GB, free: 9.246 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01164/0.7524, allocations: 3.857 MB / 1.125 GB, free: 5.383 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003881/0.7564, allocations: 1.518 MB / 1.127 GB, free: 3.855 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001343/0.7565, allocations: 25.3 kB / 1.127 GB, free: 3.828 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004414/0.7609, allocations: 1.818 MB / 1.129 GB, free: 1.945 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=163): time 4.419e-06/0.761, allocations: 0 / 1.129 GB, free: 1.945 MB / 0.8731 GB Notification: Performance of matching and sorting (n=250): time 0.1315/0.8925, allocations: 33.45 MB / 1.161 GB, free: 288 kB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002262/0.8928, allocations: 0.4889 MB / 1.162 GB, free: 15.68 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00344/0.8962, allocations: 2.296 MB / 1.164 GB, free: 13.37 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0002915/0.8965, allocations: 73.7 kB / 1.164 GB, free: 13.29 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.001179/0.8977, allocations: 1.446 MB / 1.165 GB, free: 11.83 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008176/0.8985, allocations: 0.8124 MB / 1.166 GB, free: 11.01 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003704/0.8989, allocations: 186.4 kB / 1.166 GB, free: 10.82 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 8.617e-05/0.899, allocations: 313 kB / 1.167 GB, free: 10.51 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005057/0.9041, allocations: 1.929 MB / 1.169 GB, free: 8.578 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005283/0.9094, allocations: 2.239 MB / 1.171 GB, free: 6.254 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01011/0.9195, allocations: 4.208 MB / 1.175 GB, free: 1.91 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.906e-06/0.9195, allocations: 4 kB / 1.175 GB, free: 1.906 MB / 0.92 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.016/0.9355, allocations: 6.193 MB / 1.181 GB, free: 11.62 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002361/0.9358, allocations: 403.2 kB / 1.181 GB, free: 11.11 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.764e-05/0.9358, allocations: 8 kB / 1.181 GB, free: 11.1 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006527/0.9423, allocations: 1.848 MB / 1.183 GB, free: 9.246 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002945/0.9453, allocations: 0.5929 MB / 1.184 GB, free: 8.652 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02326/0.9686, allocations: 14.2 MB / 1.198 GB, free: 10.22 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003998/0.9726, allocations: 403.6 kB / 1.198 GB, free: 9.828 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003929/0.973, allocations: 91.97 kB / 1.198 GB, free: 9.738 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.145e-05/0.9731, allocations: 4 kB / 1.198 GB, free: 9.734 MB / 0.9512 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01525/0.9883, allocations: 5.78 MB / 1.204 GB, free: 3.867 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.81e-05/0.9884, allocations: 4 kB / 1.204 GB, free: 3.863 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005217/0.9936, allocations: 1.829 MB / 1.206 GB, free: 2.031 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003092/0.9967, allocations: 0.6086 MB / 1.206 GB, free: 1.422 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02076/1.017, allocations: 13.47 MB / 1.219 GB, free: 3.676 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004119/1.022, allocations: 407.4 kB / 1.22 GB, free: 3.277 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004227/1.022, allocations: 91.97 kB / 1.22 GB, free: 3.188 MB / 0.9669 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 (varLoad5.count,$PRE.varLoad5.count,varLoad5.T_start,$PRE.varLoad5.T_start,varLoad4.count,$PRE.varLoad4.count,varLoad4.T_start,$PRE.varLoad4.T_start,varLoad3.count,$PRE.varLoad3.count,varLoad3.T_start,$PRE.varLoad3.T_start,varLoad2.count,$PRE.varLoad2.count,varLoad2.T_start,$PRE.varLoad2.T_start,varLoad1.count,$PRE.varLoad1.count,varLoad1.T_start,$PRE.varLoad1.T_start,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(10,52,45.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(10,52)} Notification: Performance of prepare postOptimizeDAE: time 0.001899/1.024, allocations: 0.7812 MB / 1.221 GB, free: 2.398 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007835/1.025, allocations: 328.1 kB / 1.221 GB, free: 2.074 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009683/1.026, allocations: 392.1 kB / 1.221 GB, free: 1.684 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.737e-05/1.026, allocations: 24.19 kB / 1.221 GB, free: 1.66 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.972e-05/1.026, allocations: 12 kB / 1.221 GB, free: 1.648 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.383e-05/1.026, allocations: 15.89 kB / 1.221 GB, free: 1.633 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004538/1.03, allocations: 3.161 MB / 1.224 GB, free: 14.42 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.541e-05/1.03, allocations: 4 kB / 1.224 GB, free: 14.42 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002677/1.033, allocations: 0.5188 MB / 1.225 GB, free: 13.9 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00614/1.039, allocations: 1.727 MB / 1.227 GB, free: 12.16 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002596/1.04, allocations: 47.97 kB / 1.227 GB, free: 12.12 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02122/1.061, allocations: 13.97 MB / 1.24 GB, free: 13.87 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/1.061, allocations: 0 / 1.24 GB, free: 13.87 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01587/1.077, allocations: 5.818 MB / 1.246 GB, free: 8.016 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001887/1.079, allocations: 0.6648 MB / 1.247 GB, free: 7.328 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008358/1.08, allocations: 44 kB / 1.247 GB, free: 7.285 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00352/1.083, allocations: 395.6 kB / 1.247 GB, free: 6.898 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009268/1.084, allocations: 302.6 kB / 1.247 GB, free: 6.602 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002218/1.084, allocations: 71.97 kB / 1.247 GB, free: 6.531 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.002681/1.087, allocations: 1.528 MB / 1.249 GB, free: 5.004 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.383e-06/1.087, allocations: 0 / 1.249 GB, free: 5.004 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.004867/1.092, allocations: 1.629 MB / 1.25 GB, free: 3.375 MB / 0.9981 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(10,52,60.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(10,52)} Notification: Performance of Backend phase and start with SimCode phase: time 0.5011/1.593, allocations: 6.428 MB / 1.257 GB, free: 209.3 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.02478/1.618, allocations: 10.09 MB / 1.267 GB, free: 207.8 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 8.606e-06/1.618, allocations: 4.281 kB / 1.267 GB, free: 207.8 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.008005/1.626, allocations: 3.497 MB / 1.27 GB, free: 206.9 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004524/1.63, allocations: 1.048 MB / 1.271 GB, free: 206.7 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06099/1.691, allocations: 37.23 MB / 1.307 GB, free: 186 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001609/1.693, allocations: 2.311 MB / 1.31 GB, free: 184.1 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.003082/1.696, allocations: 0.6293 MB / 1.31 GB, free: 183.4 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001378/1.697, allocations: 1.331 MB / 1.312 GB, free: 182.1 MB / 0.9981 GB Notification: Performance of SimCode: time 9.01e-07/1.697, allocations: 4 kB / 1.312 GB, free: 182.1 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1254/1.823, allocations: 102.2 MB / 1.411 GB, free: 81.04 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001469/1.823, allocations: 226.6 kB / 1.412 GB, free: 80.79 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.338/6.161, allocations: 3.938 kB / 1.412 GB, free: 80.79 MB / 0.9981 GB (rm -f Buildings_10_Buildings.Electrical.DC.Lines.Examples.DCLines.pipe ; mkfifo Buildings_10_Buildings.Electrical.DC.Lines.Examples.DCLines.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.DC.Lines.Examples.DCLines.pipe >> ../files/Buildings_10_Buildings.Electrical.DC.Lines.Examples.DCLines.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Electrical.DC.Lines.Examples.DCLines_res.mat --tempDir=temp_Buildings_10_Buildings_Electrical_DC_Lines_Examples_DCLines_fmu --startTime=0 --stopTime=4000 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Electrical_DC_Lines_Examples_DCLines.fmu > Buildings_10_Buildings.Electrical.DC.Lines.Examples.DCLines.pipe 2>&1)