Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.DCLines,fileNamePrefix="Buildings_latest_Buildings_Electrical_DC_Lines_Examples_DCLines",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.DC.Lines.Examples.DCLines,fileNamePrefix="Buildings_latest_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.0009486/0.0009486, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.006806/0.006806, allocations: 169.7 kB / 16.26 MB, free: 6.613 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.303/1.303, allocations: 223.3 MB / 240.3 MB, free: 5.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.64/2.64, allocations: 462.7 MB / 0.7364 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003099/0.00031, allocations: 8.594 kB / 0.9029 GB, free: 36.41 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2687/0.269, allocations: 159.6 MB / 1.059 GB, free: 4.836 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLines): time 0.02114/0.2902, allocations: 21.68 MB / 1.08 GB, free: 15.08 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.02391/0.3142, allocations: 17.37 MB / 1.097 GB, free: 13.66 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003269/0.3175, allocations: 107.4 kB / 1.097 GB, free: 13.55 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.002591/0.3201, allocations: 0.5813 MB / 1.098 GB, free: 12.96 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.009647/0.3297, allocations: 3.204 MB / 1.101 GB, free: 9.758 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.003068/0.3328, allocations: 1.188 MB / 1.102 GB, free: 8.574 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.007644/0.3405, allocations: 6.853 MB / 1.109 GB, free: 1.703 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003847/0.3443, allocations: 2.503 MB / 1.111 GB, free: 15.11 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003312/0.3477, allocations: 1.945 MB / 1.113 GB, free: 13.15 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004016/0.3517, allocations: 2.237 MB / 1.115 GB, free: 10.91 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0009316/0.3527, allocations: 164 kB / 1.115 GB, free: 10.75 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002881/0.3555, allocations: 1.045 MB / 1.116 GB, free: 9.699 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.001481/0.357, allocations: 0.9457 MB / 1.117 GB, free: 8.75 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.003383/0.3604, allocations: 1.75 MB / 1.119 GB, free: 6.984 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.006427/0.3669, allocations: 4.83 MB / 1.124 GB, free: 2.137 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 5.67e-06/0.3669, allocations: 0 / 1.124 GB, free: 2.137 MB / 0.8731 GB Notification: Performance of FrontEnd: time 2.074e-06/0.3669, allocations: 4 kB / 1.124 GB, free: 2.133 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 0.0002006/0.3671, allocations: 0 / 1.124 GB, free: 2.133 MB / 0.8731 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.009326/0.3765, allocations: 3.826 MB / 1.127 GB, free: 14.2 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 5.133e-05/0.3765, allocations: 19.97 kB / 1.127 GB, free: 14.18 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001035/0.3776, allocations: 358.3 kB / 1.128 GB, free: 13.82 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0174/0.395, allocations: 3.359 MB / 1.131 GB, free: 10.45 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004553/0.3996, allocations: 2.06 MB / 1.133 GB, free: 8.32 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001826/0.3998, allocations: 173.1 kB / 1.133 GB, free: 8.148 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008044/0.4006, allocations: 239.9 kB / 1.133 GB, free: 7.914 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01106/0.4117, allocations: 4.752 MB / 1.138 GB, free: 3.016 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.4e-05/0.4117, allocations: 7.938 kB / 1.138 GB, free: 3.008 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003138/0.4121, allocations: 99.98 kB / 1.138 GB, free: 2.91 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000187/0.4122, allocations: 172.8 kB / 1.138 GB, free: 2.738 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01316/0.4254, allocations: 5.241 MB / 1.143 GB, free: 13.48 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0187/0.4441, allocations: 14.12 MB / 1.157 GB, free: 14.19 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01136/0.4555, allocations: 3.856 MB / 1.161 GB, free: 10.32 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003641/0.4592, allocations: 1.522 MB / 1.162 GB, free: 8.797 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 9.778e-05/0.4593, allocations: 21.3 kB / 1.162 GB, free: 8.777 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004181/0.4635, allocations: 1.831 MB / 1.164 GB, free: 6.883 MB / 0.92 GB Notification: Performance of pre-optimization done (n=163): time 3.356e-06/0.4635, allocations: 0 / 1.164 GB, free: 6.883 MB / 0.92 GB Notification: Performance of matching and sorting (n=250): time 0.1319/0.5954, allocations: 33.42 MB / 1.197 GB, free: 5.242 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002384/0.5957, allocations: 0.4889 MB / 1.197 GB, free: 4.641 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003825/0.5996, allocations: 2.312 MB / 1.2 GB, free: 2.316 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 0.0004204/0.6, allocations: 73.7 kB / 1.2 GB, free: 2.238 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.001261/0.6013, allocations: 1.434 MB / 1.201 GB, free: 0.7891 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.000911/0.6022, allocations: 0.8163 MB / 1.202 GB, free: 15.96 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004183/0.6026, allocations: 190.4 kB / 1.202 GB, free: 15.77 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 8.882e-05/0.6027, allocations: 305.1 kB / 1.202 GB, free: 15.46 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0052/0.6079, allocations: 1.929 MB / 1.204 GB, free: 13.53 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00541/0.6134, allocations: 2.235 MB / 1.206 GB, free: 11.21 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01036/0.6237, allocations: 4.216 MB / 1.211 GB, free: 6.859 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.508e-06/0.6238, allocations: 4 kB / 1.211 GB, free: 6.855 MB / 0.9669 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.01643/0.6402, allocations: 6.192 MB / 1.217 GB, free: 0.5703 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002801/0.6405, allocations: 403.5 kB / 1.217 GB, free: 60 kB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.266e-05/0.6405, allocations: 8 kB / 1.217 GB, free: 52 kB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00657/0.6471, allocations: 1.852 MB / 1.219 GB, free: 14.2 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003015/0.6502, allocations: 0.5891 MB / 1.219 GB, free: 13.61 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02285/0.673, allocations: 14.19 MB / 1.233 GB, free: 15.18 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004118/0.6772, allocations: 403.6 kB / 1.234 GB, free: 14.79 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004402/0.6776, allocations: 95.97 kB / 1.234 GB, free: 14.7 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.247e-05/0.6777, allocations: 4 kB / 1.234 GB, free: 14.69 MB / 0.9981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01555/0.6932, allocations: 5.776 MB / 1.239 GB, free: 8.832 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.285e-05/0.6933, allocations: 4 kB / 1.239 GB, free: 8.828 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005279/0.6986, allocations: 1.821 MB / 1.241 GB, free: 7 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003068/0.7017, allocations: 0.6085 MB / 1.242 GB, free: 6.391 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.5344/1.236, allocations: 13.46 MB / 1.255 GB, free: 170.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003858/1.24, allocations: 409.4 kB / 1.255 GB, free: 170.6 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002275/1.24, allocations: 87.3 kB / 1.255 GB, free: 170.6 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 (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.001301/1.241, allocations: 0.7858 MB / 1.256 GB, free: 170.4 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004329/1.242, allocations: 331.8 kB / 1.256 GB, free: 170.4 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008105/1.243, allocations: 396.2 kB / 1.257 GB, free: 170.4 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.363e-05/1.243, allocations: 23.38 kB / 1.257 GB, free: 170.4 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.224e-05/1.243, allocations: 12.75 kB / 1.257 GB, free: 170.4 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.691e-05/1.243, allocations: 12.98 kB / 1.257 GB, free: 170.4 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003773/1.247, allocations: 3.171 MB / 1.26 GB, free: 170.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.856e-06/1.247, allocations: 1.125 kB / 1.26 GB, free: 170.2 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002607/1.249, allocations: 0.517 MB / 1.26 GB, free: 170.2 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005863/1.255, allocations: 1.715 MB / 1.262 GB, free: 170.1 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002125/1.255, allocations: 51.64 kB / 1.262 GB, free: 170.1 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.022/1.277, allocations: 13.98 MB / 1.276 GB, free: 165.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/1.277, allocations: 1.734 kB / 1.276 GB, free: 165.8 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01573/1.293, allocations: 5.81 MB / 1.282 GB, free: 164.1 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001279/1.294, allocations: 0.6593 MB / 1.282 GB, free: 163.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003965/1.295, allocations: 47.94 kB / 1.282 GB, free: 163.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003002/1.298, allocations: 401.9 kB / 1.283 GB, free: 163.6 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008999/1.299, allocations: 295.2 kB / 1.283 GB, free: 163.5 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001739/1.299, allocations: 69.05 kB / 1.283 GB, free: 163.5 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001946/1.301, allocations: 1.539 MB / 1.284 GB, free: 162.9 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.4e-07/1.301, allocations: 0 / 1.284 GB, free: 162.9 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.003844/1.305, allocations: 1.621 MB / 1.286 GB, free: 162.8 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.01426/1.319, allocations: 6.433 MB / 1.292 GB, free: 160.5 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.02043/1.339, allocations: 10.1 MB / 1.302 GB, free: 156.5 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 8.396e-06/1.34, allocations: 4 kB / 1.302 GB, free: 156.5 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.007377/1.347, allocations: 3.499 MB / 1.306 GB, free: 154.9 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004247/1.351, allocations: 1.046 MB / 1.307 GB, free: 154.4 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05913/1.41, allocations: 37.22 MB / 1.343 GB, free: 116.2 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001465/1.412, allocations: 2.308 MB / 1.345 GB, free: 113.8 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.002736/1.415, allocations: 0.6355 MB / 1.346 GB, free: 113.2 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001347/1.416, allocations: 1.335 MB / 1.347 GB, free: 111.8 MB / 0.9981 GB Notification: Performance of SimCode: time 1.132e-06/1.416, allocations: 0 / 1.347 GB, free: 111.8 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.554/2.97, allocations: 102.3 MB / 1.447 GB, free: 10.77 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002115/2.97, allocations: 234.4 kB / 1.447 GB, free: 10.51 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.923/7.894, allocations: 4 kB / 1.447 GB, free: 10.5 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLines.pipe ; mkfifo Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLines.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLines.pipe >> ../files/Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLines.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLines_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_DC_Lines_Examples_DCLines_fmu --startTime=0 --stopTime=4000 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_DC_Lines_Examples_DCLines.fmu > Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLines.pipe 2>&1)