Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.DCLine.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.DCLine,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_DC_Lines_Examples_DCLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.DC.Lines.Examples.DCLine,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_DC_Lines_Examples_DCLine",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.697/2.697, allocations: 287.3 MB / 302.3 MB, free: 8.258 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.001464/0.001464, allocations: 181 kB / 370.8 MB, free: 10.85 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.219/2.219, allocations: 205.4 MB / 0.6295 GB, free: 10.62 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.001162/0.001161, allocations: 96.75 kB / 0.7428 GB, free: 6.621 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006707/0.0006709, allocations: 15.23 kB / 0.8657 GB, free: 140.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2392/0.2399, allocations: 115.3 MB / 0.9783 GB, free: 28.32 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLine): time 0.01152/0.2515, allocations: 5.328 MB / 0.9835 GB, free: 22.97 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.01121/0.2628, allocations: 4.129 MB / 0.9875 GB, free: 18.83 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009456/0.2638, allocations: 19.88 kB / 0.9875 GB, free: 18.81 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0008894/0.2647, allocations: 147 kB / 0.9877 GB, free: 18.66 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.003408/0.2681, allocations: 0.6143 MB / 0.9883 GB, free: 18.05 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001516/0.2697, allocations: 244.8 kB / 0.9885 GB, free: 17.81 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.002359/0.272, allocations: 0.6626 MB / 0.9892 GB, free: 17.15 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001232/0.2733, allocations: 496.4 kB / 0.9896 GB, free: 16.64 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00113/0.2745, allocations: 338.8 kB / 0.9899 GB, free: 16.3 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001446/0.276, allocations: 362.6 kB / 0.9903 GB, free: 15.95 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0002874/0.2764, allocations: 32 kB / 0.9903 GB, free: 15.92 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009137/0.2773, allocations: 139.8 kB / 0.9905 GB, free: 15.78 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0003398/0.2777, allocations: 187.4 kB / 0.9906 GB, free: 15.6 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0003584/0.278, allocations: 165.3 kB / 0.9908 GB, free: 15.43 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.001852/0.2799, allocations: 0.8106 MB / 0.9916 GB, free: 14.62 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.28, allocations: 0 / 0.9916 GB, free: 14.62 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.966e-06/0.28, allocations: 4 kB / 0.9916 GB, free: 14.61 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.156e-05/0.2801, allocations: 0 / 0.9916 GB, free: 14.61 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 142 * Number of variables: 142 Notification: Performance of Generate backend data structure: time 0.003508/0.2836, allocations: 0.9698 MB / 0.9925 GB, free: 13.59 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.914e-05/0.2837, allocations: 12.02 kB / 0.9925 GB, free: 13.58 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003355/0.284, allocations: 110.5 kB / 0.9927 GB, free: 13.46 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006925/0.291, allocations: 0.6467 MB / 0.9933 GB, free: 12.82 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00179/0.2928, allocations: 0.5337 MB / 0.9938 GB, free: 12.24 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.069e-05/0.2929, allocations: 33.31 kB / 0.9938 GB, free: 12.21 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000203/0.2931, allocations: 55.95 kB / 0.9939 GB, free: 12.16 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004252/0.2974, allocations: 1.025 MB / 0.9949 GB, free: 11.08 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.378e-05/0.2975, allocations: 0 / 0.9949 GB, free: 11.08 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001491/0.2977, allocations: 20 kB / 0.9949 GB, free: 11.06 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001286/0.2978, allocations: 49.28 kB / 0.995 GB, free: 11.02 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005549/0.3034, allocations: 1.016 MB / 0.996 GB, free: 10 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008534/0.312, allocations: 3.51 MB / 0.9994 GB, free: 6.184 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003436/0.3155, allocations: 0.5182 MB / 0.9999 GB, free: 5.656 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 8.275e-05/0.3156, allocations: 4 kB / 0.9999 GB, free: 5.652 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.529e-05/0.3157, allocations: 38.56 kB / 0.9999 GB, free: 5.605 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=31): time 4.479e-06/0.3157, allocations: 4 kB / 0.9999 GB, free: 5.602 MB / 0.6198 GB Notification: Performance of matching and sorting (n=43): time 0.01622/0.3319, allocations: 2.212 MB / 1.002 GB, free: 3.344 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.343e-05/0.332, allocations: 55.41 kB / 1.002 GB, free: 3.277 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001214/0.3332, allocations: 0.5743 MB / 1.003 GB, free: 2.695 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.0001152/0.3334, allocations: 29.7 kB / 1.003 GB, free: 2.66 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003486/0.3337, allocations: 364 kB / 1.003 GB, free: 2.301 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002097/0.334, allocations: 153.8 kB / 1.003 GB, free: 2.148 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.709e-05/0.3341, allocations: 8 kB / 1.003 GB, free: 2.141 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001535/0.3342, allocations: 374.8 kB / 1.004 GB, free: 1.766 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001566/0.3358, allocations: 264.9 kB / 1.004 GB, free: 1.508 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00162/0.3374, allocations: 389.7 kB / 1.004 GB, free: 1.082 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001631/0.3391, allocations: 309.7 kB / 1.005 GB, free: 0.7812 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.212e-06/0.3391, allocations: 0 / 1.005 GB, free: 0.7812 MB / 0.6198 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.005574/0.3447, allocations: 0.9782 MB / 1.005 GB, free: 15.78 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008293/0.3456, allocations: 1.225 MB / 1.007 GB, free: 14.46 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.125e-05/0.3457, allocations: 7.953 kB / 1.007 GB, free: 14.45 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002629/0.3483, allocations: 268.9 kB / 1.007 GB, free: 14.17 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001564/0.3499, allocations: 131.8 kB / 1.007 GB, free: 14.04 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01557/0.3655, allocations: 8.553 MB / 1.015 GB, free: 4.699 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001609/0.3672, allocations: 56.05 kB / 1.015 GB, free: 4.645 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001065/0.3673, allocations: 20 kB / 1.015 GB, free: 4.625 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.887e-05/0.3674, allocations: 4 kB / 1.015 GB, free: 4.621 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006269/0.3736, allocations: 1.081 MB / 1.017 GB, free: 3.465 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.936e-05/0.3737, allocations: 4 kB / 1.017 GB, free: 3.461 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001961/0.3757, allocations: 225.2 kB / 1.017 GB, free: 3.223 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001744/0.3775, allocations: 127.8 kB / 1.017 GB, free: 3.098 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01356/0.3911, allocations: 8.227 MB / 1.025 GB, free: 10.07 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001556/0.3927, allocations: 56.05 kB / 1.025 GB, free: 10.02 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001017/0.3928, allocations: 20 kB / 1.025 GB, free: 10 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (47): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 3 {1 2,1 2,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.000848/0.3937, allocations: 314.3 kB / 1.025 GB, free: 9.684 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000259/0.394, allocations: 63.25 kB / 1.025 GB, free: 9.621 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002914/0.3943, allocations: 86.33 kB / 1.025 GB, free: 9.531 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.162e-05/0.3943, allocations: 4 kB / 1.025 GB, free: 9.527 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.704e-05/0.3944, allocations: 4 kB / 1.025 GB, free: 9.523 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.248e-05/0.3944, allocations: 3.984 kB / 1.025 GB, free: 9.52 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001901/0.3963, allocations: 0.6417 MB / 1.026 GB, free: 8.828 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.709e-05/0.3964, allocations: 0 / 1.026 GB, free: 8.828 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001396/0.3978, allocations: 107.8 kB / 1.026 GB, free: 8.723 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002449/0.4002, allocations: 257.1 kB / 1.026 GB, free: 8.453 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001263/0.4004, allocations: 15.94 kB / 1.026 GB, free: 8.438 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0152/0.4156, allocations: 8.506 MB / 1.035 GB, free: 15.13 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/0.4157, allocations: 0 / 1.035 GB, free: 15.13 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005925/0.4216, allocations: 0.9677 MB / 1.036 GB, free: 14.12 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007156/0.4224, allocations: 180.3 kB / 1.036 GB, free: 13.93 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001942/0.4226, allocations: 4 kB / 1.036 GB, free: 13.93 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001236/0.4239, allocations: 51.95 kB / 1.036 GB, free: 13.88 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002826/0.4242, allocations: 43.88 kB / 1.036 GB, free: 13.83 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.201e-05/0.4243, allocations: 12 kB / 1.036 GB, free: 13.82 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.001066/0.4254, allocations: 403.1 kB / 1.036 GB, free: 13.43 MB / 0.6667 GB Notification: Performance of sort global known variables: time 7.01e-07/0.4254, allocations: 0 / 1.036 GB, free: 13.43 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.002446/0.4279, allocations: 300 kB / 1.037 GB, free: 13.14 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (31): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 3 {1 2,1 2,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.005523/0.4334, allocations: 1.505 MB / 1.038 GB, free: 11.59 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.006718/0.4402, allocations: 2.415 MB / 1.04 GB, free: 9.02 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 9.608e-06/0.4402, allocations: 4 kB / 1.04 GB, free: 9.016 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.002465/0.4427, allocations: 1.039 MB / 1.041 GB, free: 7.898 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001583/0.4443, allocations: 202.2 kB / 1.042 GB, free: 7.703 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01501/0.4594, allocations: 6.283 MB / 1.048 GB, free: 1.289 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009326/0.4604, allocations: 0.9937 MB / 1.049 GB, free: 276 kB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.001108/0.4615, allocations: 149.4 kB / 1.049 GB, free: 124 kB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005704/0.4621, allocations: 243.4 kB / 1.049 GB, free: 15.88 MB / 0.6823 GB Notification: Performance of SimCode: time 1.583e-06/0.4621, allocations: 4 kB / 1.049 GB, free: 15.88 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9273/1.389, allocations: 18.37 MB / 1.067 GB, free: 83.4 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002184/1.39, allocations: 212.7 kB / 1.067 GB, free: 83.16 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.291/4.68, allocations: 0 / 1.067 GB, free: 83.16 MB / 0.6823 GB (rm -f Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.DCLine.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Electrical_DC_Lines_Examples_DCLine_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Electrical_DC_Lines_Examples_DCLine.fmu > Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe 2>&1)