Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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.DCLinesLinearized,fileNamePrefix="Buildings_latest_Buildings_Electrical_DC_Lines_Examples_DCLinesLinearized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized,fileNamePrefix="Buildings_latest_Buildings_Electrical_DC_Lines_Examples_DCLinesLinearized",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.001479/0.001479, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001991/0.001991, allocations: 191.2 kB / 16.25 MB, free: 6.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.554/2.554, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 5.096/5.096, allocations: 461.9 MB / 0.7344 GB, free: 14.97 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002667/0.002667, allocations: 62.36 kB / 0.8987 GB, free: 37.25 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5099/0.5126, allocations: 157.4 MB / 1.052 GB, free: 8.645 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized): time 0.03587/0.5485, allocations: 22.44 MB / 1.074 GB, free: 2.121 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.02574/0.5743, allocations: 17.44 MB / 1.091 GB, free: 0.6289 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00547/0.5798, allocations: 107.4 kB / 1.091 GB, free: 0.5234 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.01225/0.5922, allocations: 3.937 MB / 1.095 GB, free: 12.58 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.01578/0.608, allocations: 3.197 MB / 1.098 GB, free: 9.379 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.007842/0.6159, allocations: 1.185 MB / 1.1 GB, free: 8.199 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.01129/0.6273, allocations: 5.793 MB / 1.105 GB, free: 2.387 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008264/0.6356, allocations: 4.015 MB / 1.109 GB, free: 14.3 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009962/0.6456, allocations: 2.464 MB / 1.112 GB, free: 11.82 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005528/0.6512, allocations: 2.514 MB / 1.114 GB, free: 9.301 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.002025/0.6532, allocations: 368 kB / 1.114 GB, free: 8.941 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006245/0.6595, allocations: 1.034 MB / 1.115 GB, free: 7.906 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.002332/0.6619, allocations: 1.192 MB / 1.117 GB, free: 6.711 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.004401/0.6663, allocations: 2.002 MB / 1.119 GB, free: 4.699 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.007395/0.6737, allocations: 5.175 MB / 1.124 GB, free: 15.51 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/0.6738, allocations: 0 / 1.124 GB, free: 15.51 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.224e-06/0.6738, allocations: 4 kB / 1.124 GB, free: 15.5 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 8.789e-05/0.6739, allocations: 0 / 1.124 GB, free: 15.5 MB / 0.8887 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.008944/0.6828, allocations: 4.605 MB / 1.128 GB, free: 10.79 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.959e-05/0.6829, allocations: 12.62 kB / 1.128 GB, free: 10.77 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004325/0.6833, allocations: 358.3 kB / 1.128 GB, free: 10.41 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01446/0.6978, allocations: 3.273 MB / 1.132 GB, free: 7.133 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004739/0.7026, allocations: 2.088 MB / 1.134 GB, free: 4.977 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004616/0.703, allocations: 470 kB / 1.134 GB, free: 4.453 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009567/0.704, allocations: 236 kB / 1.134 GB, free: 4.223 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0122/0.7162, allocations: 4.806 MB / 1.139 GB, free: 15.27 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.695e-05/0.7163, allocations: 4 kB / 1.139 GB, free: 15.27 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006162/0.717, allocations: 104 kB / 1.139 GB, free: 15.16 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002347/0.7172, allocations: 180.7 kB / 1.139 GB, free: 14.98 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01372/0.7309, allocations: 5.191 MB / 1.144 GB, free: 9.777 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03596/0.7669, allocations: 14.47 MB / 1.158 GB, free: 10.13 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01309/0.7801, allocations: 3.387 MB / 1.162 GB, free: 6.738 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00398/0.7841, allocations: 1.467 MB / 1.163 GB, free: 5.273 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002187/0.7844, allocations: 29.22 kB / 1.163 GB, free: 5.242 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005192/0.7896, allocations: 1.798 MB / 1.165 GB, free: 3.379 MB / 0.92 GB Notification: Performance of pre-optimization done (n=163): time 1.074e-05/0.7896, allocations: 0 / 1.165 GB, free: 3.379 MB / 0.92 GB Notification: Performance of matching and sorting (n=250): time 0.1514/0.941, allocations: 28.22 MB / 1.193 GB, free: 6.93 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004951/0.9416, allocations: 0.4928 MB / 1.193 GB, free: 6.324 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007158/0.9488, allocations: 2.292 MB / 1.195 GB, free: 4.02 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 0.0008351/0.9497, allocations: 77.7 kB / 1.195 GB, free: 3.938 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.002139/0.9518, allocations: 1.43 MB / 1.197 GB, free: 2.492 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.001743/0.9536, allocations: 0.824 MB / 1.198 GB, free: 1.656 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002419/0.956, allocations: 420.5 kB / 1.198 GB, free: 1.238 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.000144/0.9562, allocations: 301.1 kB / 1.198 GB, free: 0.9414 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007666/0.9639, allocations: 1.929 MB / 1.2 GB, free: 15 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00646/0.9704, allocations: 2.231 MB / 1.202 GB, free: 12.69 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01159/0.982, allocations: 4.158 MB / 1.206 GB, free: 8.395 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.629e-05/0.9821, allocations: 0 / 1.206 GB, free: 8.395 MB / 0.9669 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.02146/1.004, allocations: 6.547 MB / 1.213 GB, free: 1.754 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001437/1.004, allocations: 144.5 kB / 1.213 GB, free: 1.582 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.51e-05/1.004, allocations: 11.94 kB / 1.213 GB, free: 1.57 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0125/1.016, allocations: 2.946 MB / 1.216 GB, free: 14.62 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0045/1.021, allocations: 499.2 kB / 1.216 GB, free: 14.13 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06093/1.082, allocations: 18.84 MB / 1.235 GB, free: 11.04 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007633/1.09, allocations: 315.6 kB / 1.235 GB, free: 10.73 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008585/1.09, allocations: 91.97 kB / 1.235 GB, free: 10.64 MB / 0.9981 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 (162): * Single equations (assignments): 155 * 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 {(8,64)} Notification: Performance of prepare postOptimizeDAE: time 0.00291/1.093, allocations: 0.7105 MB / 1.236 GB, free: 9.922 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001349/1.095, allocations: 332 kB / 1.236 GB, free: 9.594 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001247/1.096, allocations: 376.1 kB / 1.236 GB, free: 9.219 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.691e-05/1.096, allocations: 27.98 kB / 1.236 GB, free: 9.191 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.402e-05/1.096, allocations: 12 kB / 1.236 GB, free: 9.18 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.919e-05/1.096, allocations: 11.95 kB / 1.236 GB, free: 9.168 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008866/1.105, allocations: 3.636 MB / 1.24 GB, free: 5.473 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.397e-05/1.105, allocations: 4 kB / 1.24 GB, free: 5.469 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004877/1.11, allocations: 415.4 kB / 1.24 GB, free: 5.062 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0199/1.13, allocations: 2.896 MB / 1.243 GB, free: 2.156 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008587/1.131, allocations: 51.97 kB / 1.243 GB, free: 2.105 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.8557/1.987, allocations: 18.62 MB / 1.261 GB, free: 174.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.214e-06/1.987, allocations: 0 / 1.261 GB, free: 174.9 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04528/2.032, allocations: 6.175 MB / 1.268 GB, free: 174.1 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004574/2.037, allocations: 0.6975 MB / 1.268 GB, free: 173.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002284/2.039, allocations: 45.17 kB / 1.268 GB, free: 173.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007879/2.047, allocations: 317 kB / 1.269 GB, free: 173.8 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00337/2.05, allocations: 353.4 kB / 1.269 GB, free: 173.7 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008522/2.051, allocations: 70.41 kB / 1.269 GB, free: 173.6 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.007774/2.059, allocations: 1.534 MB / 1.27 GB, free: 173.1 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.144e-06/2.059, allocations: 0 / 1.27 GB, free: 173.1 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.009509/2.069, allocations: 1.044 MB / 1.271 GB, free: 173 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 (118): * Single equations (assignments): 106 * 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,62)} Notification: Performance of Backend phase and start with SimCode phase: time 0.04003/2.109, allocations: 6.808 MB / 1.278 GB, free: 170.4 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.04851/2.157, allocations: 7.304 MB / 1.285 GB, free: 168.1 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.415e-05/2.157, allocations: 5.75 kB / 1.285 GB, free: 168.1 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.03147/2.189, allocations: 4.052 MB / 1.289 GB, free: 166.8 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0111/2.2, allocations: 1.138 MB / 1.29 GB, free: 166.5 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1444/2.345, allocations: 38.1 MB / 1.328 GB, free: 133.2 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005114/2.35, allocations: 2.231 MB / 1.33 GB, free: 131 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.005808/2.356, allocations: 0.509 MB / 1.33 GB, free: 130.5 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003661/2.359, allocations: 1.343 MB / 1.332 GB, free: 129.1 MB / 0.9981 GB Notification: Performance of SimCode: time 1.953e-06/2.359, allocations: 0 / 1.332 GB, free: 129.1 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.488/6.848, allocations: 102.8 MB / 1.432 GB, free: 27.54 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000224/6.848, allocations: 246.7 kB / 1.432 GB, free: 27.29 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.31/19.16, allocations: 0 / 1.432 GB, free: 27.29 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe ; mkfifo Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe >> ../files/Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_DC_Lines_Examples_DCLinesLinearized_fmu --startTime=0 --stopTime=4000 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_DC_Lines_Examples_DCLinesLinearized.fmu > Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe 2>&1)