Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.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.DCLinesLinearized,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_DC_Lines_Examples_DCLinesLinearized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_DC_Lines_Examples_DCLinesLinearized",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.06 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.001108/0.001108, allocations: 189.5 kB / 326.5 MB, free: 2.254 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.709/1.709, allocations: 205.4 MB / 0.5775 GB, free: 20.58 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.0008432/0.0008432, allocations: 88.03 kB / 0.6821 GB, free: 13.36 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003398/0.0003399, allocations: 11.16 kB / 0.7963 GB, free: 135.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1924/0.1927, allocations: 106.3 MB / 0.9002 GB, free: 64.37 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized): time 0.01423/0.207, allocations: 19.17 MB / 0.9189 GB, free: 45.14 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0179/0.225, allocations: 16.07 MB / 0.9346 GB, free: 29.03 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004292/0.2293, allocations: 95.38 kB / 0.9347 GB, free: 28.94 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.002284/0.2316, allocations: 0.5432 MB / 0.9352 GB, free: 28.39 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.008238/0.2399, allocations: 2.825 MB / 0.9379 GB, free: 25.57 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.002712/0.2426, allocations: 0.9336 MB / 0.9389 GB, free: 24.64 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.00561/0.2482, allocations: 3.434 MB / 0.9422 GB, free: 21.2 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003297/0.2516, allocations: 2.06 MB / 0.9442 GB, free: 19.07 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002938/0.2545, allocations: 1.814 MB / 0.946 GB, free: 17.25 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003278/0.2578, allocations: 1.798 MB / 0.9478 GB, free: 15.45 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.001138/0.259, allocations: 176 kB / 0.9479 GB, free: 15.28 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002144/0.2611, allocations: 487.4 kB / 0.9484 GB, free: 14.8 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.001349/0.2625, allocations: 0.88 MB / 0.9492 GB, free: 13.92 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.001745/0.2643, allocations: 0.6951 MB / 0.9499 GB, free: 13.21 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.005683/0.27, allocations: 3.9 MB / 0.9537 GB, free: 9.305 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.155e-06/0.27, allocations: 0 / 0.9537 GB, free: 9.305 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.823e-06/0.27, allocations: 4 kB / 0.9537 GB, free: 9.301 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.000173/0.2702, allocations: 0 / 0.9537 GB, free: 9.301 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.00854/0.2787, allocations: 4.103 MB / 0.9577 GB, free: 5.086 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.905e-05/0.2788, allocations: 12.03 kB / 0.9578 GB, free: 5.074 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008386/0.2796, allocations: 362.2 kB / 0.9581 GB, free: 4.711 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01479/0.2944, allocations: 3.405 MB / 0.9614 GB, free: 1.297 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004379/0.2989, allocations: 1.983 MB / 0.9634 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003832/0.2993, allocations: 465.7 kB / 0.9638 GB, free: 14.73 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005968/0.2999, allocations: 232 kB / 0.964 GB, free: 14.5 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0111/0.311, allocations: 4.83 MB / 0.9687 GB, free: 9.527 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.451e-05/0.3111, allocations: 4 kB / 0.9687 GB, free: 9.523 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003355/0.3114, allocations: 107.9 kB / 0.9688 GB, free: 9.418 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001917/0.3116, allocations: 184.7 kB / 0.969 GB, free: 9.234 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01429/0.3259, allocations: 5.296 MB / 0.9742 GB, free: 3.922 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02369/0.3496, allocations: 14.58 MB / 0.9884 GB, free: 4.168 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01015/0.3598, allocations: 3.679 MB / 0.992 GB, free: 492 kB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001883/0.3601, allocations: 29.28 kB / 0.9921 GB, free: 464 kB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004777/0.3649, allocations: 1.908 MB / 0.9939 GB, free: 14.48 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=163): time 4.248e-06/0.3649, allocations: 8 kB / 0.9939 GB, free: 14.47 MB / 0.6511 GB Notification: Performance of matching and sorting (n=250): time 0.136/0.5009, allocations: 34.08 MB / 1.027 GB, free: 12.17 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003814/0.5013, allocations: 0.4967 MB / 1.028 GB, free: 11.56 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005082/0.5064, allocations: 2.273 MB / 1.03 GB, free: 9.277 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0006995/0.5071, allocations: 81.69 kB / 1.03 GB, free: 9.191 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.001884/0.5091, allocations: 1.426 MB / 1.031 GB, free: 7.75 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.001477/0.5106, allocations: 0.8201 MB / 1.032 GB, free: 6.918 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004125/0.511, allocations: 52 kB / 1.032 GB, free: 6.867 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0002662/0.5113, allocations: 402.6 kB / 1.033 GB, free: 6.469 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006061/0.5174, allocations: 2.108 MB / 1.035 GB, free: 4.355 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006261/0.5236, allocations: 2.405 MB / 1.037 GB, free: 1.867 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00628/0.53, allocations: 2.288 MB / 1.039 GB, free: 15.53 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.651e-05/0.53, allocations: 4 kB / 1.039 GB, free: 15.52 MB / 0.698 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.01989/0.5499, allocations: 6.883 MB / 1.046 GB, free: 8.551 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001465/0.5501, allocations: 144.5 kB / 1.046 GB, free: 8.379 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.243e-05/0.5501, allocations: 12.34 kB / 1.046 GB, free: 8.367 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01059/0.5607, allocations: 2.946 MB / 1.049 GB, free: 5.41 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003128/0.5639, allocations: 0.5695 MB / 1.05 GB, free: 4.84 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.469/1.033, allocations: 18.14 MB / 1.067 GB, free: 135.8 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004422/1.037, allocations: 421.8 kB / 1.068 GB, free: 135.8 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004326/1.038, allocations: 87.27 kB / 1.068 GB, free: 135.8 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 (162): * Single equations (assignments): 155 * 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 {9 63} Notification: Performance of prepare postOptimizeDAE: time 0.001755/1.04, allocations: 0.7089 MB / 1.068 GB, free: 135.7 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007124/1.04, allocations: 329.8 kB / 1.069 GB, free: 135.7 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007945/1.041, allocations: 384 kB / 1.069 GB, free: 135.7 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.341e-05/1.041, allocations: 27.84 kB / 1.069 GB, free: 135.7 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.931e-05/1.041, allocations: 9.688 kB / 1.069 GB, free: 135.7 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.519e-05/1.041, allocations: 13.84 kB / 1.069 GB, free: 135.7 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004809/1.046, allocations: 3.626 MB / 1.073 GB, free: 134.3 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.96e-05/1.046, allocations: 1.531 kB / 1.073 GB, free: 134.3 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002621/1.049, allocations: 0.5059 MB / 1.073 GB, free: 134.3 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009554/1.058, allocations: 2.863 MB / 1.076 GB, free: 133.8 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004716/1.059, allocations: 56.42 kB / 1.076 GB, free: 133.8 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0349/1.094, allocations: 17.94 MB / 1.094 GB, free: 125.1 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.9e-06/1.094, allocations: 7.406 kB / 1.094 GB, free: 125.1 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01662/1.11, allocations: 6.525 MB / 1.1 GB, free: 121.8 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001749/1.112, allocations: 0.6947 MB / 1.101 GB, free: 121.3 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004713/1.113, allocations: 50.5 kB / 1.101 GB, free: 121.3 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00297/1.116, allocations: 410.2 kB / 1.101 GB, free: 121.1 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009687/1.117, allocations: 367.2 kB / 1.101 GB, free: 120.9 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001725/1.117, allocations: 67.59 kB / 1.101 GB, free: 120.9 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001785/1.119, allocations: 1.517 MB / 1.103 GB, free: 119.4 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.41e-07/1.119, allocations: 0 / 1.103 GB, free: 119.4 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.002597/1.121, allocations: 1.039 MB / 1.104 GB, free: 118.3 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 (118): * Single equations (assignments): 106 * 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 62} Notification: Performance of Backend phase and start with SimCode phase: time 0.01616/1.137, allocations: 7.153 MB / 1.111 GB, free: 111.1 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.02167/1.159, allocations: 6.825 MB / 1.118 GB, free: 104.2 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 8.896e-06/1.159, allocations: 0 / 1.118 GB, free: 104.2 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.01589/1.175, allocations: 4.233 MB / 1.122 GB, free: 99.95 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004089/1.179, allocations: 1.001 MB / 1.123 GB, free: 98.98 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05216/1.231, allocations: 30.53 MB / 1.153 GB, free: 66.96 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001486/1.233, allocations: 2.301 MB / 1.155 GB, free: 64.62 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.002457/1.235, allocations: 0.506 MB / 1.155 GB, free: 64.11 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001369/1.237, allocations: 1.327 MB / 1.157 GB, free: 62.79 MB / 0.698 GB Notification: Performance of SimCode: time 1.362e-06/1.237, allocations: 4 kB / 1.157 GB, free: 62.78 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1347/1.372, allocations: 96.48 MB / 1.251 GB, free: 15.14 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001649/1.372, allocations: 237.9 kB / 1.251 GB, free: 14.89 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.94/7.312, allocations: 0 / 1.251 GB, free: 14.89 MB / 0.7448 GB (rm -f Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Electrical_DC_Lines_Examples_DCLinesLinearized_fmu --startTime=0 --stopTime=4000 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Electrical_DC_Lines_Examples_DCLinesLinearized.fmu > Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe 2>&1)