Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.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.DCLinesLinearized,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_DC_Lines_Examples_DCLinesLinearized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized,fileNamePrefix="Buildings_8_0_0_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 8.0.0/package.mo): time 2.696/2.696, allocations: 287.3 MB / 302.3 MB, free: 8.363 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.00147/0.00147, allocations: 183 kB / 370.8 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.131/2.131, allocations: 205.4 MB / 0.6295 GB, free: 10.61 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.001086/0.001086, allocations: 86.88 kB / 0.7428 GB, free: 6.613 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006397/0.0006398, allocations: 12.41 kB / 0.8657 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2223/0.223, allocations: 115.3 MB / 0.9783 GB, free: 28.3 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized): time 0.02756/0.2506, allocations: 19.17 MB / 0.997 GB, free: 9.07 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.03271/0.2834, allocations: 16.06 MB / 1.013 GB, free: 8.973 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003984/0.2875, allocations: 95.38 kB / 1.013 GB, free: 8.879 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.003104/0.2906, allocations: 0.5432 MB / 1.013 GB, free: 8.332 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.01322/0.3039, allocations: 2.819 MB / 1.016 GB, free: 5.516 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.004801/0.3087, allocations: 0.9491 MB / 1.017 GB, free: 4.57 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.009329/0.3181, allocations: 3.418 MB / 1.02 GB, free: 1.148 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005363/0.3235, allocations: 2.067 MB / 1.022 GB, free: 15.02 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005489/0.329, allocations: 1.822 MB / 1.024 GB, free: 13.19 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005625/0.3347, allocations: 1.798 MB / 1.026 GB, free: 11.38 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.001476/0.3363, allocations: 179.9 kB / 1.026 GB, free: 11.21 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00315/0.3395, allocations: 487.4 kB / 1.027 GB, free: 10.73 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.0022/0.3417, allocations: 0.88 MB / 1.027 GB, free: 9.848 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.002275/0.344, allocations: 0.6951 MB / 1.028 GB, free: 9.145 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.008184/0.3523, allocations: 3.904 MB / 1.032 GB, free: 5.23 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.3523, allocations: 0 / 1.032 GB, free: 5.23 MB / 0.6511 GB Notification: Performance of FrontEnd: time 3.086e-06/0.3523, allocations: 0 / 1.032 GB, free: 5.23 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0002072/0.3526, allocations: 0 / 1.032 GB, free: 5.23 MB / 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.016/0.3686, allocations: 4.107 MB / 1.036 GB, free: 1.012 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.646e-05/0.3686, allocations: 12.02 kB / 1.036 GB, free: 1 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001494/0.3701, allocations: 362.2 kB / 1.036 GB, free: 0.6367 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02976/0.3999, allocations: 3.401 MB / 1.04 GB, free: 13.23 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007492/0.4075, allocations: 1.991 MB / 1.041 GB, free: 11.17 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006976/0.4082, allocations: 461.7 kB / 1.042 GB, free: 10.65 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00133/0.4096, allocations: 240 kB / 1.042 GB, free: 10.42 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02077/0.4304, allocations: 4.83 MB / 1.047 GB, free: 5.445 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.703e-05/0.4305, allocations: 0 / 1.047 GB, free: 5.445 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006214/0.4311, allocations: 103.9 kB / 1.047 GB, free: 5.344 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003885/0.4315, allocations: 176.8 kB / 1.047 GB, free: 5.168 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02681/0.4584, allocations: 5.296 MB / 1.052 GB, free: 15.86 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03734/0.4957, allocations: 14.6 MB / 1.067 GB, free: 96 kB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.6804/1.176, allocations: 3.664 MB / 1.07 GB, free: 82.32 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003235/1.177, allocations: 23.58 kB / 1.07 GB, free: 82.32 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008946/1.186, allocations: 1.914 MB / 1.072 GB, free: 81.71 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=163): time 8.055e-06/1.186, allocations: 0 / 1.072 GB, free: 81.71 MB / 0.6823 GB Notification: Performance of matching and sorting (n=250): time 0.2607/1.446, allocations: 34.09 MB / 1.105 GB, free: 73.75 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002024/1.447, allocations: 0.4961 MB / 1.106 GB, free: 73.18 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004994/1.452, allocations: 2.274 MB / 1.108 GB, free: 71.97 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0007563/1.452, allocations: 76.84 kB / 1.108 GB, free: 71.91 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.001931/1.454, allocations: 1.435 MB / 1.11 GB, free: 70.64 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.001636/1.456, allocations: 0.821 MB / 1.11 GB, free: 69.94 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000472/1.457, allocations: 46.5 kB / 1.11 GB, free: 69.9 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0002089/1.457, allocations: 393.5 kB / 1.111 GB, free: 69.54 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009846/1.467, allocations: 2.117 MB / 1.113 GB, free: 68.52 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01017/1.477, allocations: 2.395 MB / 1.115 GB, free: 67.11 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01012/1.487, allocations: 2.292 MB / 1.117 GB, free: 64.76 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.631e-05/1.487, allocations: 3.188 kB / 1.117 GB, free: 64.76 MB / 0.6823 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.03368/1.521, allocations: 6.883 MB / 1.124 GB, free: 57.79 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001078/1.521, allocations: 152.5 kB / 1.124 GB, free: 57.61 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.231e-05/1.521, allocations: 4 kB / 1.124 GB, free: 57.6 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0176/1.539, allocations: 2.936 MB / 1.127 GB, free: 54.66 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005424/1.544, allocations: 0.5774 MB / 1.128 GB, free: 54.09 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06654/1.611, allocations: 18.15 MB / 1.145 GB, free: 35.75 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007341/1.618, allocations: 415.6 kB / 1.146 GB, free: 35.34 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006762/1.619, allocations: 94.27 kB / 1.146 GB, free: 35.25 MB / 0.6823 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.002517/1.621, allocations: 0.7095 MB / 1.147 GB, free: 34.54 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001124/1.622, allocations: 332.1 kB / 1.147 GB, free: 34.21 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001016/1.624, allocations: 376.1 kB / 1.147 GB, free: 33.84 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.297e-05/1.624, allocations: 24 kB / 1.147 GB, free: 33.81 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.262e-05/1.624, allocations: 12 kB / 1.147 GB, free: 33.8 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.813e-05/1.624, allocations: 15.91 kB / 1.147 GB, free: 33.79 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007694/1.631, allocations: 3.625 MB / 1.151 GB, free: 30.18 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.584e-05/1.632, allocations: 0 / 1.151 GB, free: 30.18 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004884/1.636, allocations: 0.508 MB / 1.151 GB, free: 29.67 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01867/1.655, allocations: 2.865 MB / 1.154 GB, free: 26.79 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006857/1.656, allocations: 51.97 kB / 1.154 GB, free: 26.74 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06559/1.721, allocations: 17.94 MB / 1.172 GB, free: 8.539 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.238e-06/1.722, allocations: 0 / 1.172 GB, free: 8.539 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03565/1.757, allocations: 6.524 MB / 1.178 GB, free: 1.984 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002678/1.76, allocations: 0.6999 MB / 1.179 GB, free: 1.262 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001107/1.761, allocations: 52 kB / 1.179 GB, free: 1.211 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006977/1.768, allocations: 411.6 kB / 1.179 GB, free: 0.8086 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002226/1.77, allocations: 362.6 kB / 1.18 GB, free: 468 kB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005596/1.771, allocations: 71.97 kB / 1.18 GB, free: 396 kB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.00402/1.775, allocations: 1.507 MB / 1.181 GB, free: 14.88 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.31e-07/1.775, allocations: 0 / 1.181 GB, free: 14.88 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.005761/1.781, allocations: 1.043 MB / 1.182 GB, free: 13.84 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.03721/1.818, allocations: 7.159 MB / 1.189 GB, free: 6.641 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.04585/1.864, allocations: 6.827 MB / 1.196 GB, free: 15.72 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.004e-05/1.864, allocations: 4.75 kB / 1.196 GB, free: 15.71 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.03576/1.9, allocations: 4.222 MB / 1.2 GB, free: 11.47 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0081/1.908, allocations: 1.01 MB / 1.201 GB, free: 10.48 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1066/2.015, allocations: 30.52 MB / 1.231 GB, free: 10.45 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003778/2.019, allocations: 2.297 MB / 1.233 GB, free: 8.117 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.00421/2.023, allocations: 0.5099 MB / 1.233 GB, free: 7.605 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003513/2.026, allocations: 1.331 MB / 1.235 GB, free: 6.273 MB / 0.7448 GB Notification: Performance of SimCode: time 1.203e-06/2.026, allocations: 0 / 1.235 GB, free: 6.273 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2641/2.291, allocations: 96.47 MB / 1.329 GB, free: 6.699 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003463/2.291, allocations: 218.7 kB / 1.329 GB, free: 6.461 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.117/9.408, allocations: 0 / 1.329 GB, free: 6.461 MB / 0.8386 GB (rm -f Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Electrical_DC_Lines_Examples_DCLinesLinearized_fmu --startTime=0 --stopTime=4000 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Electrical_DC_Lines_Examples_DCLinesLinearized.fmu > Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe 2>&1)