Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.DCLines.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.DC.Lines.Examples.DCLines,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.409/1.409, allocations: 251.9 MB / 266.9 MB, free: 11.08 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001092/0.001092, allocations: 188.1 kB / 326.5 MB, free: 2.27 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.668/1.668, allocations: 205.4 MB / 0.5775 GB, free: 20.26 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009532/0.0009531, allocations: 98.19 kB / 0.6821 GB, free: 12.91 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002895/0.0002895, allocations: 9.188 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2233/0.2236, allocations: 106.3 MB / 0.9002 GB, free: 63.91 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLines): time 0.01462/0.2382, allocations: 19.15 MB / 0.9189 GB, free: 44.7 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.01861/0.2569, allocations: 16.07 MB / 0.9345 GB, free: 28.59 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003332/0.2602, allocations: 91.44 kB / 0.9346 GB, free: 28.5 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.002407/0.2627, allocations: 0.547 MB / 0.9352 GB, free: 27.95 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.009095/0.2718, allocations: 2.833 MB / 0.9379 GB, free: 25.12 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.002978/0.2748, allocations: 0.9446 MB / 0.9389 GB, free: 24.18 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.005741/0.2805, allocations: 3.329 MB / 0.9421 GB, free: 20.85 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002577/0.2832, allocations: 2.017 MB / 0.9441 GB, free: 18.77 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002491/0.2857, allocations: 1.713 MB / 0.9457 GB, free: 17.05 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002283/0.288, allocations: 1.755 MB / 0.9475 GB, free: 15.29 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.0003807/0.2884, allocations: 164 kB / 0.9476 GB, free: 15.12 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001172/0.2896, allocations: 479.4 kB / 0.9481 GB, free: 14.66 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0005412/0.2901, allocations: 0.8488 MB / 0.9489 GB, free: 13.8 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0007377/0.2908, allocations: 0.6912 MB / 0.9496 GB, free: 13.11 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.002934/0.2938, allocations: 3.795 MB / 0.9533 GB, free: 9.301 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.2938, allocations: 0 / 0.9533 GB, free: 9.301 MB / 0.6042 GB Notification: Performance of FrontEnd: time 3.046e-06/0.2938, allocations: 4 kB / 0.9533 GB, free: 9.297 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.000108/0.2939, allocations: 0 / 0.9533 GB, free: 9.297 MB / 0.6042 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.006876/0.3008, allocations: 3.877 MB / 0.9571 GB, free: 5.309 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.177e-05/0.3009, allocations: 8.031 kB / 0.9571 GB, free: 5.301 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005761/0.3015, allocations: 358.1 kB / 0.9574 GB, free: 4.941 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01433/0.3158, allocations: 3.397 MB / 0.9607 GB, free: 1.535 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004109/0.3199, allocations: 1.952 MB / 0.9626 GB, free: 15.52 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001456/0.3201, allocations: 176.7 kB / 0.9628 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004422/0.3206, allocations: 232 kB / 0.963 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01051/0.3311, allocations: 4.705 MB / 0.9676 GB, free: 10.27 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.545e-05/0.3312, allocations: 0 / 0.9676 GB, free: 10.27 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003458/0.3315, allocations: 115.9 kB / 0.9677 GB, free: 10.15 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002089/0.3317, allocations: 168.8 kB / 0.9679 GB, free: 9.984 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01346/0.3452, allocations: 5.222 MB / 0.973 GB, free: 4.742 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02459/0.3698, allocations: 14.11 MB / 0.9868 GB, free: 5.453 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01129/0.3811, allocations: 3.85 MB / 0.9905 GB, free: 1.598 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001468/0.3813, allocations: 25.3 kB / 0.9906 GB, free: 1.574 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004023/0.3854, allocations: 1.816 MB / 0.9923 GB, free: 15.7 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=163): time 4.85e-06/0.3854, allocations: 0 / 0.9923 GB, free: 15.7 MB / 0.6511 GB Notification: Performance of matching and sorting (n=250): time 0.1345/0.5199, allocations: 33.41 MB / 1.025 GB, free: 14.06 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003269/0.5203, allocations: 0.4928 MB / 1.025 GB, free: 13.46 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004938/0.5252, allocations: 2.277 MB / 1.028 GB, free: 11.17 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0004942/0.5258, allocations: 77.7 kB / 1.028 GB, free: 11.09 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.001279/0.527, allocations: 1.43 MB / 1.029 GB, free: 9.645 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.00107/0.5281, allocations: 0.8201 MB / 1.03 GB, free: 8.812 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001788/0.5283, allocations: 48 kB / 1.03 GB, free: 8.766 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001767/0.5285, allocations: 398.6 kB / 1.03 GB, free: 8.371 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004864/0.5334, allocations: 1.921 MB / 1.032 GB, free: 6.445 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005071/0.5384, allocations: 2.214 MB / 1.034 GB, free: 4.148 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004867/0.5433, allocations: 2.128 MB / 1.036 GB, free: 1.969 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.252e-06/0.5433, allocations: 0 / 1.036 GB, free: 1.969 MB / 0.6823 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.01589/0.5592, allocations: 6.165 MB / 1.043 GB, free: 11.71 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.001094/0.5604, allocations: 2.443 MB / 1.045 GB, free: 8.996 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.018e-05/0.5604, allocations: 8 kB / 1.045 GB, free: 8.988 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008487/0.5689, allocations: 1.848 MB / 1.047 GB, free: 7.133 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004025/0.573, allocations: 0.5852 MB / 1.047 GB, free: 6.547 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4343/1.007, allocations: 14.81 MB / 1.062 GB, free: 136.3 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003704/1.011, allocations: 405.8 kB / 1.062 GB, free: 136.3 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002639/1.011, allocations: 93.77 kB / 1.062 GB, free: 136.3 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.071e-05/1.011, allocations: 4.531 kB / 1.062 GB, free: 136.3 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01532/1.027, allocations: 5.752 MB / 1.068 GB, free: 136 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.425e-05/1.027, allocations: 6.391 kB / 1.068 GB, free: 136 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005351/1.032, allocations: 1.823 MB / 1.07 GB, free: 135.9 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002982/1.035, allocations: 0.6044 MB / 1.07 GB, free: 135.9 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01908/1.054, allocations: 14.06 MB / 1.084 GB, free: 129.3 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003524/1.058, allocations: 402.3 kB / 1.084 GB, free: 129.2 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000209/1.058, allocations: 87.59 kB / 1.084 GB, free: 129.2 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.001306/1.059, allocations: 0.7773 MB / 1.085 GB, free: 128.7 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003899/1.06, allocations: 341.6 kB / 1.085 GB, free: 128.6 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006801/1.06, allocations: 393.7 kB / 1.086 GB, free: 128.3 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.345e-05/1.06, allocations: 30.61 kB / 1.086 GB, free: 128.3 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.503e-05/1.06, allocations: 7.812 kB / 1.086 GB, free: 128.3 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.62e-05/1.06, allocations: 9.797 kB / 1.086 GB, free: 128.3 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003276/1.064, allocations: 3.157 MB / 1.089 GB, free: 127.1 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.217e-06/1.064, allocations: 0.9375 kB / 1.089 GB, free: 127.1 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002562/1.066, allocations: 0.5235 MB / 1.09 GB, free: 127.1 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006407/1.073, allocations: 1.711 MB / 1.091 GB, free: 126.7 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000645/1.073, allocations: 50.2 kB / 1.091 GB, free: 126.7 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.021/1.094, allocations: 14.6 MB / 1.105 GB, free: 115.8 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.486e-06/1.095, allocations: 3.984 kB / 1.105 GB, free: 115.8 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01772/1.112, allocations: 5.783 MB / 1.111 GB, free: 110 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002805/1.115, allocations: 0.6735 MB / 1.112 GB, free: 109.3 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001161/1.116, allocations: 44 kB / 1.112 GB, free: 109.3 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005323/1.122, allocations: 403.1 kB / 1.112 GB, free: 108.9 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001198/1.123, allocations: 309.4 kB / 1.113 GB, free: 108.6 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000355/1.123, allocations: 67.97 kB / 1.113 GB, free: 108.5 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.003064/1.126, allocations: 1.517 MB / 1.114 GB, free: 107 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.61e-07/1.126, allocations: 0 / 1.114 GB, free: 107 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.004693/1.131, allocations: 1.621 MB / 1.116 GB, free: 105.4 MB / 0.698 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.01309/1.145, allocations: 6.412 MB / 1.122 GB, free: 98.94 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.02045/1.165, allocations: 10.07 MB / 1.132 GB, free: 88.68 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 8.987e-06/1.165, allocations: 4 kB / 1.132 GB, free: 88.68 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.007174/1.172, allocations: 3.496 MB / 1.135 GB, free: 85.16 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003942/1.176, allocations: 0.9981 MB / 1.136 GB, free: 84.19 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04816/1.224, allocations: 29.34 MB / 1.165 GB, free: 53.38 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001702/1.226, allocations: 2.375 MB / 1.167 GB, free: 50.96 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.003013/1.229, allocations: 0.6348 MB / 1.168 GB, free: 50.32 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001589/1.231, allocations: 1.331 MB / 1.169 GB, free: 48.99 MB / 0.698 GB Notification: Performance of SimCode: time 8.12e-07/1.231, allocations: 0 / 1.169 GB, free: 48.99 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1492/1.38, allocations: 100.4 MB / 1.267 GB, free: 13.39 MB / 0.7605 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0005376/1.381, allocations: 223 kB / 1.267 GB, free: 13.14 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.177/7.557, allocations: 0 / 1.267 GB, free: 13.14 MB / 0.7605 GB (rm -f Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.DCLines.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.DCLines.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.DCLines.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.DCLines.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Electrical_DC_Lines_Examples_DCLines_fmu --startTime=0 --stopTime=4000 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Electrical_DC_Lines_Examples_DCLines.fmu > Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.DCLines.pipe 2>&1)