Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.DCLines.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.DCLines,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_DC_Lines_Examples_DCLines",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.DC.Lines.Examples.DCLines,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 1.677/1.677, allocations: 287.4 MB / 302.6 MB, free: 8.211 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.001258/0.001258, allocations: 171 kB / 371.1 MB, free: 10.84 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.586/1.586, allocations: 205.4 MB / 0.6298 GB, free: 10.58 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.0007718/0.0007718, allocations: 88.86 kB / 0.7431 GB, free: 6.574 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004004/0.0004006, allocations: 11.94 kB / 0.8662 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2364/0.2368, allocations: 115.3 MB / 0.9787 GB, free: 28.1 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLines): time 0.0173/0.2542, allocations: 20.24 MB / 0.9985 GB, free: 7.797 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.02359/0.2778, allocations: 16.5 MB / 1.015 GB, free: 7.258 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003879/0.2818, allocations: 103.4 kB / 1.015 GB, free: 7.156 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.002796/0.2846, allocations: 0.5618 MB / 1.015 GB, free: 6.59 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.01189/0.2965, allocations: 2.867 MB / 1.018 GB, free: 3.719 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.004505/0.301, allocations: 0.9524 MB / 1.019 GB, free: 2.77 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.01055/0.3116, allocations: 5.802 MB / 1.025 GB, free: 12.95 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005849/0.3175, allocations: 2.507 MB / 1.027 GB, free: 10.35 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005699/0.3232, allocations: 1.864 MB / 1.029 GB, free: 8.48 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005606/0.3288, allocations: 2.171 MB / 1.031 GB, free: 6.301 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.001527/0.3304, allocations: 164 kB / 1.031 GB, free: 6.141 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003319/0.3338, allocations: 495.4 kB / 1.032 GB, free: 5.656 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.002065/0.3358, allocations: 0.9225 MB / 1.033 GB, free: 4.73 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.002081/0.3379, allocations: 0.6873 MB / 1.033 GB, free: 4.035 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.00692/0.3449, allocations: 3.826 MB / 1.037 GB, free: 204 kB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 8.225e-06/0.3449, allocations: 0 / 1.037 GB, free: 204 kB / 0.6511 GB Notification: Performance of FrontEnd: time 2.956e-06/0.3449, allocations: 0 / 1.037 GB, free: 204 kB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0002665/0.3452, allocations: 0 / 1.037 GB, free: 204 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.0101/0.3553, allocations: 3.846 MB / 1.041 GB, free: 12.24 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 5.692e-05/0.3554, allocations: 12.03 kB / 1.041 GB, free: 12.23 MB / 0.6667 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001277/0.3567, allocations: 354.3 kB / 1.041 GB, free: 11.88 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0161/0.3728, allocations: 3.355 MB / 1.044 GB, free: 8.512 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006069/0.3789, allocations: 2.064 MB / 1.046 GB, free: 6.379 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003074/0.3793, allocations: 173.1 kB / 1.047 GB, free: 6.207 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001435/0.3807, allocations: 239.9 kB / 1.047 GB, free: 5.973 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01446/0.3952, allocations: 4.721 MB / 1.051 GB, free: 1.109 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.58e-05/0.3954, allocations: 3.938 kB / 1.051 GB, free: 1.105 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005532/0.396, allocations: 104 kB / 1.051 GB, free: 1.004 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002387/0.3962, allocations: 168.8 kB / 1.052 GB, free: 0.8359 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01359/0.4098, allocations: 5.222 MB / 1.057 GB, free: 11.59 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.526/0.9358, allocations: 14.11 MB / 1.071 GB, free: 43.04 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0132/0.9491, allocations: 3.855 MB / 1.074 GB, free: 42.98 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004788/0.9539, allocations: 1.505 MB / 1.076 GB, free: 42.96 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001409/0.9541, allocations: 24.67 kB / 1.076 GB, free: 42.96 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005474/0.9596, allocations: 1.829 MB / 1.078 GB, free: 42.75 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=163): time 5.601e-06/0.9596, allocations: 0.9688 kB / 1.078 GB, free: 42.75 MB / 0.6823 GB Notification: Performance of matching and sorting (n=250): time 0.1393/1.099, allocations: 33.41 MB / 1.11 GB, free: 39.55 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001693/1.099, allocations: 0.4918 MB / 1.111 GB, free: 38.98 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004446/1.104, allocations: 2.272 MB / 1.113 GB, free: 38.39 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0005907/1.104, allocations: 78.03 kB / 1.113 GB, free: 38.35 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.001379/1.106, allocations: 1.444 MB / 1.114 GB, free: 37.77 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.001256/1.107, allocations: 0.8137 MB / 1.115 GB, free: 37.17 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002963/1.107, allocations: 46.28 kB / 1.115 GB, free: 37.17 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001662/1.107, allocations: 396.5 kB / 1.116 GB, free: 36.84 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005388/1.113, allocations: 1.924 MB / 1.117 GB, free: 36.43 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005373/1.118, allocations: 2.22 MB / 1.12 GB, free: 35.77 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009826/1.128, allocations: 4.194 MB / 1.124 GB, free: 34.68 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.57e-05/1.128, allocations: 3.562 kB / 1.124 GB, free: 34.68 MB / 0.6823 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.01667/1.145, allocations: 6.175 MB / 1.13 GB, free: 30.82 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002999/1.145, allocations: 402.8 kB / 1.13 GB, free: 30.31 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.7e-05/1.145, allocations: 6.5 kB / 1.13 GB, free: 30.3 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006623/1.152, allocations: 1.852 MB / 1.132 GB, free: 28.45 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003059/1.155, allocations: 0.582 MB / 1.133 GB, free: 27.89 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01935/1.174, allocations: 14.16 MB / 1.146 GB, free: 13.55 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004783/1.179, allocations: 405.3 kB / 1.147 GB, free: 13.16 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005749/1.18, allocations: 87.97 kB / 1.147 GB, free: 13.07 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.566e-05/1.18, allocations: 4 kB / 1.147 GB, free: 13.07 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0135/1.193, allocations: 5.756 MB / 1.152 GB, free: 7.324 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.099e-05/1.193, allocations: 12.06 kB / 1.152 GB, free: 7.312 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005095/1.199, allocations: 1.817 MB / 1.154 GB, free: 5.488 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00311/1.202, allocations: 0.6127 MB / 1.155 GB, free: 4.895 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02097/1.223, allocations: 13.44 MB / 1.168 GB, free: 7.223 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004714/1.227, allocations: 411.4 kB / 1.168 GB, free: 6.82 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004497/1.228, allocations: 87.97 kB / 1.168 GB, free: 6.734 MB / 0.698 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.00206/1.23, allocations: 0.7814 MB / 1.169 GB, free: 5.957 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009316/1.231, allocations: 328.2 kB / 1.17 GB, free: 5.633 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008137/1.232, allocations: 392.1 kB / 1.17 GB, free: 5.242 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.352e-05/1.232, allocations: 28 kB / 1.17 GB, free: 5.215 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.295e-05/1.232, allocations: 8 kB / 1.17 GB, free: 5.207 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.009e-05/1.232, allocations: 11.95 kB / 1.17 GB, free: 5.195 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005118/1.237, allocations: 3.169 MB / 1.173 GB, free: 2.031 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-05/1.237, allocations: 0 / 1.173 GB, free: 2.031 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002721/1.24, allocations: 0.5185 MB / 1.174 GB, free: 1.527 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006505/1.246, allocations: 1.722 MB / 1.175 GB, free: 15.8 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004428/1.247, allocations: 51.91 kB / 1.175 GB, free: 15.75 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02216/1.269, allocations: 13.94 MB / 1.189 GB, free: 1.582 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/1.269, allocations: 0 / 1.189 GB, free: 1.582 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01587/1.285, allocations: 5.793 MB / 1.195 GB, free: 11.82 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002305/1.287, allocations: 0.6648 MB / 1.195 GB, free: 11.14 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007686/1.288, allocations: 47.98 kB / 1.195 GB, free: 11.09 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003277/1.291, allocations: 395.6 kB / 1.196 GB, free: 10.7 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009685/1.292, allocations: 306.6 kB / 1.196 GB, free: 10.41 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001969/1.293, allocations: 71.97 kB / 1.196 GB, free: 10.34 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.002429/1.295, allocations: 1.509 MB / 1.197 GB, free: 8.828 MB / 0.7292 GB Notification: Performance of sort global known variables: time 2.91e-07/1.295, allocations: 0 / 1.197 GB, free: 8.828 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.007891/1.303, allocations: 1.629 MB / 1.199 GB, free: 7.199 MB / 0.7292 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.01696/1.32, allocations: 6.417 MB / 1.205 GB, free: 0.8164 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.02637/1.346, allocations: 10.07 MB / 1.215 GB, free: 6.645 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.24e-05/1.346, allocations: 0 / 1.215 GB, free: 6.645 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.009019/1.355, allocations: 3.491 MB / 1.219 GB, free: 3.145 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007062/1.363, allocations: 1.021 MB / 1.22 GB, free: 2.148 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06621/1.429, allocations: 25.97 MB / 1.245 GB, free: 6.867 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003386/1.432, allocations: 2.308 MB / 1.247 GB, free: 4.523 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.003894/1.436, allocations: 0.6382 MB / 1.248 GB, free: 3.883 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00218/1.438, allocations: 1.335 MB / 1.249 GB, free: 2.547 MB / 0.7761 GB Notification: Performance of SimCode: time 5.62e-07/1.438, allocations: 0 / 1.249 GB, free: 2.547 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1773/1.616, allocations: 100.5 MB / 1.347 GB, free: 15.21 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003007/1.616, allocations: 200.7 kB / 1.347 GB, free: 14.98 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.033/7.649, allocations: 4 kB / 1.347 GB, free: 14.97 MB / 0.8855 GB (rm -f Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.DCLines.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.DCLines.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.DCLines.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.DCLines.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Electrical_DC_Lines_Examples_DCLines_fmu --startTime=0 --stopTime=4000 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Electrical_DC_Lines_Examples_DCLines.fmu > Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.DCLines.pipe 2>&1)