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.001081/0.001081, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001089/0.001089, allocations: 192.4 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.383/1.383, allocations: 205.1 MB / 222.4 MB, free: 4.594 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.696/1.696, allocations: 292.3 MB / 0.5489 GB, free: 12.84 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.00141/0.00141, allocations: 69.44 kB / 0.6716 GB, free: 26.32 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1964/0.1978, allocations: 114.5 MB / 0.7835 GB, free: 13.39 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized): time 0.02423/0.2221, allocations: 22.43 MB / 0.8054 GB, free: 6.871 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.02573/0.2479, allocations: 17.74 MB / 0.8227 GB, free: 5.074 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003099/0.251, allocations: 111.4 kB / 0.8228 GB, free: 4.965 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.01064/0.2617, allocations: 4.161 MB / 0.8269 GB, free: 0.7969 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.01033/0.2721, allocations: 3.523 MB / 0.8303 GB, free: 13.27 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.003544/0.2756, allocations: 1.317 MB / 0.8316 GB, free: 11.95 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.008493/0.2842, allocations: 5.766 MB / 0.8372 GB, free: 6.164 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005707/0.2899, allocations: 3.596 MB / 0.8407 GB, free: 2.496 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004237/0.2942, allocations: 2.402 MB / 0.8431 GB, free: 88 kB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004757/0.2989, allocations: 2.448 MB / 0.8455 GB, free: 13.63 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.001353/0.3003, allocations: 372 kB / 0.8458 GB, free: 13.27 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002901/0.3032, allocations: 1.034 MB / 0.8468 GB, free: 12.23 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.001758/0.305, allocations: 1.196 MB / 0.848 GB, free: 11.03 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.003709/0.3087, allocations: 1.998 MB / 0.85 GB, free: 9.023 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.006776/0.3155, allocations: 5.112 MB / 0.8549 GB, free: 3.895 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.3155, allocations: 7.938 kB / 0.855 GB, free: 3.887 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.653e-06/0.3155, allocations: 0 / 0.855 GB, free: 3.887 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.000104/0.3157, allocations: 4 kB / 0.855 GB, free: 3.883 MB / 0.67 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.009526/0.3252, allocations: 4.611 MB / 0.8595 GB, free: 15.16 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.332e-05/0.3252, allocations: 12.03 kB / 0.8595 GB, free: 15.14 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000448/0.3257, allocations: 358.3 kB / 0.8598 GB, free: 14.79 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01585/0.3416, allocations: 3.261 MB / 0.863 GB, free: 11.52 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003977/0.3456, allocations: 2.088 MB / 0.865 GB, free: 9.359 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003809/0.346, allocations: 482 kB / 0.8655 GB, free: 8.824 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004702/0.3464, allocations: 232 kB / 0.8657 GB, free: 8.598 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009847/0.3563, allocations: 4.802 MB / 0.8704 GB, free: 3.652 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.117e-05/0.3564, allocations: 7.938 kB / 0.8704 GB, free: 3.645 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003061/0.3567, allocations: 108 kB / 0.8705 GB, free: 3.539 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001869/0.3569, allocations: 172.8 kB / 0.8707 GB, free: 3.367 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01324/0.3701, allocations: 5.194 MB / 0.8758 GB, free: 14.16 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02101/0.3911, allocations: 14.48 MB / 0.8899 GB, free: 14.5 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009841/0.401, allocations: 3.394 MB / 0.8932 GB, free: 11.11 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003684/0.4047, allocations: 1.471 MB / 0.8947 GB, free: 9.637 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001121/0.4049, allocations: 25.3 kB / 0.8947 GB, free: 9.609 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004214/0.4091, allocations: 1.799 MB / 0.8964 GB, free: 7.746 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=163): time 4.308e-06/0.4091, allocations: 0 / 0.8964 GB, free: 7.746 MB / 0.7169 GB Notification: Performance of matching and sorting (n=250): time 0.4711/0.8802, allocations: 28.2 MB / 0.924 GB, free: 128.2 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001396/0.8804, allocations: 0.4898 MB / 0.9245 GB, free: 127.7 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003038/0.8834, allocations: 2.297 MB / 0.9267 GB, free: 126.8 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0003257/0.8837, allocations: 76.5 kB / 0.9268 GB, free: 126.8 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.001027/0.8848, allocations: 1.439 MB / 0.9282 GB, free: 125.7 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.00071/0.8855, allocations: 0.8207 MB / 0.929 GB, free: 125 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008121/0.8863, allocations: 416.9 kB / 0.9294 GB, free: 124.8 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 3.814e-05/0.8864, allocations: 305.6 kB / 0.9297 GB, free: 124.5 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005247/0.8916, allocations: 1.931 MB / 0.9315 GB, free: 124 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005341/0.897, allocations: 2.229 MB / 0.9337 GB, free: 123.1 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01117/0.9082, allocations: 4.159 MB / 0.9378 GB, free: 121.5 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.23e-05/0.9082, allocations: 5.781 kB / 0.9378 GB, free: 121.4 MB / 0.7325 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.02078/0.929, allocations: 6.538 MB / 0.9442 GB, free: 119.2 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 9.748e-05/0.9291, allocations: 152.3 kB / 0.9443 GB, free: 119.1 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.892e-05/0.9292, allocations: 8.719 kB / 0.9443 GB, free: 119.1 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009887/0.939, allocations: 2.945 MB / 0.9472 GB, free: 118.5 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002907/0.942, allocations: 491.8 kB / 0.9477 GB, free: 118.5 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03548/0.9775, allocations: 18.85 MB / 0.9661 GB, free: 107.4 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004208/0.9817, allocations: 325.9 kB / 0.9664 GB, free: 107.2 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002443/0.982, allocations: 84.89 kB / 0.9665 GB, free: 107.2 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 (varLoad5.count,$PRE.varLoad5.count,varLoad5.T_start,$PRE.varLoad5.T_start,varLoad4.count,$PRE.varLoad4.count,varLoad4.T_start,$PRE.varLoad4.T_start,varLoad3.count,$PRE.varLoad3.count,varLoad3.T_start,$PRE.varLoad3.T_start,varLoad2.count,$PRE.varLoad2.count,varLoad2.T_start,$PRE.varLoad2.T_start,varLoad1.count,$PRE.varLoad1.count,varLoad1.T_start,$PRE.varLoad1.T_start,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(10,52,45.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(8,64)} Notification: Performance of prepare postOptimizeDAE: time 0.00128/0.9833, allocations: 0.7085 MB / 0.9672 GB, free: 106.7 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004837/0.9838, allocations: 337.8 kB / 0.9675 GB, free: 106.6 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005317/0.9843, allocations: 387 kB / 0.9679 GB, free: 106.3 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.252e-05/0.9843, allocations: 23.62 kB / 0.9679 GB, free: 106.3 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.202e-05/0.9844, allocations: 11.77 kB / 0.9679 GB, free: 106.3 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.552e-05/0.9844, allocations: 11.95 kB / 0.9679 GB, free: 106.2 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003278/0.9877, allocations: 3.625 MB / 0.9714 GB, free: 103.9 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.564e-06/0.9877, allocations: 0 / 0.9714 GB, free: 103.9 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00233/0.99, allocations: 415.5 kB / 0.9718 GB, free: 103.7 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008619/0.9987, allocations: 2.903 MB / 0.9747 GB, free: 102.4 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002358/0.9989, allocations: 47.5 kB / 0.9747 GB, free: 102.3 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03267/1.032, allocations: 18.63 MB / 0.9929 GB, free: 83.8 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.913e-06/1.032, allocations: 0 / 0.9929 GB, free: 83.8 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01654/1.048, allocations: 6.173 MB / 0.9989 GB, free: 77.6 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001988/1.05, allocations: 0.7 MB / 0.9996 GB, free: 76.88 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005655/1.051, allocations: 44 kB / 0.9997 GB, free: 76.83 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003043/1.054, allocations: 318.8 kB / 1 GB, free: 76.52 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001083/1.055, allocations: 354.7 kB / 1 GB, free: 76.18 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001725/1.055, allocations: 67.97 kB / 1 GB, free: 76.11 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001668/1.057, allocations: 1.54 MB / 1.002 GB, free: 74.57 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/1.057, allocations: 0 / 1.002 GB, free: 74.57 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002581/1.059, allocations: 1.043 MB / 1.003 GB, free: 73.53 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(10,52,60.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(10,62)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01636/1.076, allocations: 6.802 MB / 1.01 GB, free: 66.68 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.02406/1.1, allocations: 7.309 MB / 1.017 GB, free: 59.29 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 7.804e-06/1.1, allocations: 4 kB / 1.017 GB, free: 59.29 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.01641/1.116, allocations: 4.058 MB / 1.021 GB, free: 55.21 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004882/1.121, allocations: 1.123 MB / 1.022 GB, free: 54.16 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06632/1.188, allocations: 36.88 MB / 1.058 GB, free: 15.21 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001368/1.189, allocations: 2.231 MB / 1.06 GB, free: 12.94 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.002253/1.191, allocations: 0.5148 MB / 1.06 GB, free: 12.45 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001351/1.193, allocations: 1.335 MB / 1.062 GB, free: 11.11 MB / 0.7325 GB Notification: Performance of SimCode: time 8.41e-07/1.193, allocations: 0 / 1.062 GB, free: 11.11 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2854/1.478, allocations: 104.2 MB / 1.164 GB, free: 3.973 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.75/16.23, allocations: 8.891 kB / 1.164 GB, free: 3.965 MB / 0.8262 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/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)