Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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.DCLinesLinearized,fileNamePrefix="Buildings_8_Buildings_Electrical_DC_Lines_Examples_DCLinesLinearized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized,fileNamePrefix="Buildings_8_Buildings_Electrical_DC_Lines_Examples_DCLinesLinearized",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.001418/0.001419, allocations: 99.7 kB / 15.05 MB, free: 1.105 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.001457/0.001457, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.854/1.854, allocations: 205.4 MB / 222.1 MB, free: 5.656 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.864/1.864, allocations: 292.6 MB / 0.5497 GB, free: 14.62 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0007732/0.0007735, allocations: 13.41 kB / 0.6737 GB, free: 26.3 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3378/0.3386, allocations: 116.3 MB / 0.7872 GB, free: 11.9 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized): time 0.0211/0.3597, allocations: 19.18 MB / 0.8059 GB, free: 8.668 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.02418/0.384, allocations: 16.07 MB / 0.8216 GB, free: 8.559 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004061/0.3881, allocations: 95.38 kB / 0.8217 GB, free: 8.465 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.003098/0.3912, allocations: 0.5432 MB / 0.8223 GB, free: 7.918 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.01419/0.4054, allocations: 2.836 MB / 0.825 GB, free: 5.086 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.004557/0.41, allocations: 0.9275 MB / 0.8259 GB, free: 4.16 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.009436/0.4195, allocations: 3.426 MB / 0.8293 GB, free: 0.7266 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006653/0.4262, allocations: 2.063 MB / 0.8313 GB, free: 14.6 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005969/0.4322, allocations: 1.822 MB / 0.8331 GB, free: 12.77 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006397/0.4387, allocations: 1.794 MB / 0.8348 GB, free: 10.97 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.002073/0.4408, allocations: 176 kB / 0.835 GB, free: 10.8 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004058/0.4449, allocations: 487.4 kB / 0.8355 GB, free: 10.32 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.003377/0.4484, allocations: 0.88 MB / 0.8363 GB, free: 9.441 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.002772/0.4512, allocations: 0.6912 MB / 0.837 GB, free: 8.742 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.009567/0.4608, allocations: 3.904 MB / 0.8408 GB, free: 4.828 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.97e-06/0.4608, allocations: 0 / 0.8408 GB, free: 4.828 MB / 0.6544 GB Notification: Performance of FrontEnd: time 3.467e-06/0.4608, allocations: 0 / 0.8408 GB, free: 4.828 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0002495/0.4611, allocations: 4 kB / 0.8408 GB, free: 4.824 MB / 0.6544 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.01817/0.4793, allocations: 4.099 MB / 0.8448 GB, free: 0.6133 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 7.685e-05/0.4794, allocations: 8.031 kB / 0.8448 GB, free: 0.6055 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002183/0.4816, allocations: 358.2 kB / 0.8452 GB, free: 252 kB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02311/0.5047, allocations: 3.405 MB / 0.8485 GB, free: 12.83 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007542/0.5123, allocations: 1.995 MB / 0.8504 GB, free: 10.77 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006784/0.5131, allocations: 465.7 kB / 0.8509 GB, free: 10.25 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001696/0.5148, allocations: 240 kB / 0.8511 GB, free: 10.02 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01555/0.5304, allocations: 4.83 MB / 0.8558 GB, free: 5.043 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.044e-05/0.5305, allocations: 0 / 0.8558 GB, free: 5.043 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003818/0.5309, allocations: 107.9 kB / 0.8559 GB, free: 4.938 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002425/0.5311, allocations: 184.7 kB / 0.8561 GB, free: 4.754 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01515/0.5463, allocations: 5.296 MB / 0.8613 GB, free: 15.44 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02949/0.5758, allocations: 14.58 MB / 0.8755 GB, free: 15.68 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01123/0.5871, allocations: 3.681 MB / 0.8791 GB, free: 11.98 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002159/0.5874, allocations: 21.3 kB / 0.8791 GB, free: 11.96 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005316/0.5927, allocations: 1.906 MB / 0.881 GB, free: 9.996 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=163): time 5.48e-06/0.5928, allocations: 0 / 0.881 GB, free: 9.996 MB / 0.7012 GB Notification: Performance of matching and sorting (n=250): time 0.14/0.7327, allocations: 34.09 MB / 0.9143 GB, free: 7.68 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002572/0.733, allocations: 0.4889 MB / 0.9148 GB, free: 7.078 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003796/0.7368, allocations: 2.273 MB / 0.917 GB, free: 4.793 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0005522/0.7374, allocations: 77.7 kB / 0.9171 GB, free: 4.711 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.001257/0.7387, allocations: 1.434 MB / 0.9185 GB, free: 3.262 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009442/0.7396, allocations: 0.8202 MB / 0.9193 GB, free: 2.43 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001947/0.7398, allocations: 48 kB / 0.9193 GB, free: 2.383 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0002133/0.7401, allocations: 398.7 kB / 0.9197 GB, free: 1.988 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.5271/1.267, allocations: 2.105 MB / 0.9217 GB, free: 125.3 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006844/1.274, allocations: 2.396 MB / 0.9241 GB, free: 125.1 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006319/1.28, allocations: 2.294 MB / 0.9263 GB, free: 124.9 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.709e-05/1.28, allocations: 1.719 kB / 0.9263 GB, free: 124.9 MB / 0.7325 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.01911/1.3, allocations: 6.874 MB / 0.933 GB, free: 123.4 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001258/1.3, allocations: 152.5 kB / 0.9332 GB, free: 123.2 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.316e-05/1.3, allocations: 8.812 kB / 0.9332 GB, free: 123.2 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01131/1.311, allocations: 2.95 MB / 0.9361 GB, free: 122.7 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003447/1.315, allocations: 0.5659 MB / 0.9366 GB, free: 122.7 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04115/1.356, allocations: 18.15 MB / 0.9544 GB, free: 114 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004891/1.361, allocations: 418.1 kB / 0.9548 GB, free: 114 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006678/1.361, allocations: 88.23 kB / 0.9548 GB, free: 113.9 MB / 0.7325 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.00268/1.364, allocations: 0.7035 MB / 0.9555 GB, free: 113.5 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009591/1.365, allocations: 327.5 kB / 0.9558 GB, free: 113.4 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007195/1.366, allocations: 388 kB / 0.9562 GB, free: 113.1 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.903e-05/1.366, allocations: 26.94 kB / 0.9562 GB, free: 113.1 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.52e-05/1.366, allocations: 8.656 kB / 0.9562 GB, free: 113.1 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.932e-05/1.366, allocations: 11.3 kB / 0.9563 GB, free: 113.1 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004429/1.37, allocations: 3.639 MB / 0.9598 GB, free: 111.7 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.365e-05/1.37, allocations: 4 kB / 0.9598 GB, free: 111.7 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002535/1.373, allocations: 0.4992 MB / 0.9603 GB, free: 111.5 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009157/1.382, allocations: 2.864 MB / 0.9631 GB, free: 110.2 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005088/1.383, allocations: 52.69 kB / 0.9631 GB, free: 110.2 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03398/1.417, allocations: 17.94 MB / 0.9807 GB, free: 96.99 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.013e-06/1.417, allocations: 0 / 0.9807 GB, free: 96.99 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01733/1.434, allocations: 6.525 MB / 0.987 GB, free: 90.43 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002427/1.437, allocations: 0.6922 MB / 0.9877 GB, free: 89.71 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007987/1.437, allocations: 51.92 kB / 0.9878 GB, free: 89.66 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003232/1.441, allocations: 412.5 kB / 0.9882 GB, free: 89.26 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001051/1.442, allocations: 366.6 kB / 0.9885 GB, free: 88.9 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001819/1.442, allocations: 67.97 kB / 0.9886 GB, free: 88.84 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.00195/1.444, allocations: 1.513 MB / 0.99 GB, free: 87.32 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.3e-07/1.444, allocations: 0 / 0.99 GB, free: 87.32 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.003415/1.447, allocations: 1.047 MB / 0.9911 GB, free: 86.28 MB / 0.7325 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.01675/1.464, allocations: 7.151 MB / 0.9981 GB, free: 79.09 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.02192/1.486, allocations: 6.835 MB / 1.005 GB, free: 72.16 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.014e-05/1.486, allocations: 4 kB / 1.005 GB, free: 72.16 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.01619/1.502, allocations: 4.227 MB / 1.009 GB, free: 67.91 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004291/1.507, allocations: 1.003 MB / 1.01 GB, free: 66.95 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06351/1.57, allocations: 30.52 MB / 1.04 GB, free: 34.93 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002474/1.573, allocations: 2.297 MB / 1.042 GB, free: 32.6 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.004096/1.577, allocations: 0.5138 MB / 1.042 GB, free: 32.08 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002501/1.579, allocations: 1.327 MB / 1.044 GB, free: 30.75 MB / 0.7325 GB Notification: Performance of SimCode: time 1.543e-06/1.579, allocations: 3.938 kB / 1.044 GB, free: 30.75 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2154/1.795, allocations: 96.47 MB / 1.138 GB, free: 15.39 MB / 0.8106 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002698/1.795, allocations: 222.4 kB / 1.138 GB, free: 15.15 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.852/7.647, allocations: 0 / 1.138 GB, free: 15.15 MB / 0.8106 GB (rm -f Buildings_8_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe ; mkfifo Buildings_8_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe >> ../files/Buildings_8_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_DC_Lines_Examples_DCLinesLinearized_fmu --startTime=0 --stopTime=4000 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_DC_Lines_Examples_DCLinesLinearized.fmu > Buildings_8_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe 2>&1) Environment - environmentSimulation: