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.001171/0.001171, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001222/0.001222, allocations: 189.4 kB / 16.25 MB, free: 6.629 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.275/1.275, allocations: 205.1 MB / 222.1 MB, free: 4.723 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.675/1.675, allocations: 292.3 MB / 0.5486 GB, free: 13.64 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.001397/0.001397, allocations: 66.2 kB / 0.6711 GB, free: 26.33 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2266/0.228, allocations: 114.6 MB / 0.783 GB, free: 13.82 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized): time 0.02466/0.2527, allocations: 22.25 MB / 0.8047 GB, free: 7.484 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.02698/0.2797, allocations: 17.56 MB / 0.8218 GB, free: 5.871 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00365/0.2834, allocations: 103.4 kB / 0.8219 GB, free: 5.77 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.01012/0.2936, allocations: 3.914 MB / 0.8258 GB, free: 1.852 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.01229/0.3059, allocations: 3.199 MB / 0.8289 GB, free: 14.64 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.003988/0.3099, allocations: 1.188 MB / 0.83 GB, free: 13.46 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.01003/0.32, allocations: 5.789 MB / 0.8357 GB, free: 7.648 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009398/0.3294, allocations: 4.019 MB / 0.8396 GB, free: 3.555 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005902/0.3353, allocations: 2.46 MB / 0.842 GB, free: 1.086 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005284/0.3407, allocations: 2.514 MB / 0.8445 GB, free: 14.56 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.001736/0.3424, allocations: 371.9 kB / 0.8448 GB, free: 14.2 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003335/0.3458, allocations: 1.037 MB / 0.8458 GB, free: 13.16 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.002149/0.348, allocations: 1.192 MB / 0.847 GB, free: 11.96 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.004361/0.3523, allocations: 2.01 MB / 0.849 GB, free: 9.945 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.008177/0.3605, allocations: 5.179 MB / 0.854 GB, free: 4.75 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 1.014e-05/0.3606, allocations: 0 / 0.854 GB, free: 4.75 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.593e-06/0.3606, allocations: 3.938 kB / 0.854 GB, free: 4.746 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.0002203/0.3608, allocations: 4 kB / 0.854 GB, free: 4.742 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.01413/0.3749, allocations: 4.605 MB / 0.8585 GB, free: 24 kB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 5.574e-05/0.375, allocations: 12.02 kB / 0.8585 GB, free: 12 kB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001456/0.3765, allocations: 362.3 kB / 0.8589 GB, free: 15.65 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01663/0.3931, allocations: 3.265 MB / 0.8621 GB, free: 12.38 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005134/0.3983, allocations: 2.091 MB / 0.8641 GB, free: 10.21 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004645/0.3988, allocations: 474 kB / 0.8646 GB, free: 9.688 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001102/0.3999, allocations: 232 kB / 0.8648 GB, free: 9.461 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01324/0.4132, allocations: 4.814 MB / 0.8695 GB, free: 4.504 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.229e-05/0.4133, allocations: 3.938 kB / 0.8695 GB, free: 4.5 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008869/0.4142, allocations: 112 kB / 0.8696 GB, free: 4.391 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002349/0.4144, allocations: 168.8 kB / 0.8698 GB, free: 4.223 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01437/0.4288, allocations: 5.191 MB / 0.8748 GB, free: 15.01 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0273/0.4562, allocations: 14.48 MB / 0.889 GB, free: 15.36 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01013/0.4664, allocations: 3.398 MB / 0.8923 GB, free: 11.95 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003858/0.4703, allocations: 1.471 MB / 0.8937 GB, free: 10.48 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002061/0.4705, allocations: 25.28 kB / 0.8938 GB, free: 10.46 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004667/0.4752, allocations: 1.786 MB / 0.8955 GB, free: 8.605 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=163): time 4.96e-06/0.4752, allocations: 0 / 0.8955 GB, free: 8.605 MB / 0.7169 GB Notification: Performance of matching and sorting (n=250): time 0.5144/0.9896, allocations: 28.21 MB / 0.9231 GB, free: 128.5 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002094/0.9899, allocations: 0.49 MB / 0.9235 GB, free: 127.9 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005356/0.9952, allocations: 2.296 MB / 0.9258 GB, free: 127.4 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0005713/0.9958, allocations: 74.73 kB / 0.9258 GB, free: 127.4 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.001211/0.9971, allocations: 1.437 MB / 0.9272 GB, free: 126.6 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008926/0.998, allocations: 0.8207 MB / 0.9281 GB, free: 126.1 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008136/0.9988, allocations: 412.6 kB / 0.9284 GB, free: 125.9 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 5.837e-05/0.9988, allocations: 305.7 kB / 0.9287 GB, free: 125.6 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005139/1.004, allocations: 1.93 MB / 0.9306 GB, free: 125 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005024/1.009, allocations: 2.233 MB / 0.9328 GB, free: 124.2 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01007/1.019, allocations: 4.164 MB / 0.9369 GB, free: 122.5 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.097e-05/1.019, allocations: 1.969 kB / 0.9369 GB, free: 122.5 MB / 0.7325 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.01873/1.038, allocations: 6.535 MB / 0.9433 GB, free: 120.3 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 7.946e-05/1.038, allocations: 149.1 kB / 0.9434 GB, free: 120.1 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.808e-05/1.038, allocations: 14.28 kB / 0.9434 GB, free: 120.1 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009511/1.048, allocations: 2.948 MB / 0.9463 GB, free: 119.5 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002732/1.05, allocations: 487.2 kB / 0.9468 GB, free: 119.5 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03308/1.083, allocations: 18.85 MB / 0.9652 GB, free: 108.5 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003838/1.087, allocations: 322.4 kB / 0.9655 GB, free: 108.4 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002605/1.088, allocations: 88.42 kB / 0.9656 GB, free: 108.3 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.001259/1.089, allocations: 0.7022 MB / 0.9662 GB, free: 107.9 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004743/1.089, allocations: 337.1 kB / 0.9666 GB, free: 107.7 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005975/1.09, allocations: 384 kB / 0.9669 GB, free: 107.4 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.253e-05/1.09, allocations: 21.5 kB / 0.9669 GB, free: 107.4 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-05/1.09, allocations: 10.06 kB / 0.967 GB, free: 107.4 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.585e-05/1.09, allocations: 17.31 kB / 0.967 GB, free: 107.4 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003251/1.093, allocations: 3.642 MB / 0.9705 GB, free: 105 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.346e-06/1.093, allocations: 0 / 0.9705 GB, free: 105 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002202/1.096, allocations: 417.6 kB / 0.9709 GB, free: 104.8 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008484/1.104, allocations: 2.888 MB / 0.9737 GB, free: 103.5 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003435/1.104, allocations: 50.78 kB / 0.9738 GB, free: 103.5 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03062/1.135, allocations: 18.63 MB / 0.992 GB, free: 85.36 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.816e-06/1.135, allocations: 1.734 kB / 0.992 GB, free: 85.36 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01435/1.149, allocations: 6.176 MB / 0.998 GB, free: 79.16 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00163/1.151, allocations: 0.6992 MB / 0.9987 GB, free: 78.44 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007103/1.152, allocations: 47.98 kB / 0.9988 GB, free: 78.39 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002845/1.155, allocations: 319.5 kB / 0.9991 GB, free: 78.08 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001095/1.156, allocations: 362.7 kB / 0.9994 GB, free: 77.72 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000185/1.156, allocations: 63.98 kB / 0.9995 GB, free: 77.66 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001527/1.157, allocations: 1.532 MB / 1.001 GB, free: 76.13 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.31e-07/1.157, allocations: 0 / 1.001 GB, free: 76.13 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.00228/1.16, allocations: 1.051 MB / 1.002 GB, free: 75.08 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.01413/1.174, allocations: 6.802 MB / 1.009 GB, free: 68.23 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.021/1.195, allocations: 7.288 MB / 1.016 GB, free: 60.86 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 7.915e-06/1.195, allocations: 4 kB / 1.016 GB, free: 60.86 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0138/1.209, allocations: 4.06 MB / 1.02 GB, free: 56.78 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003923/1.213, allocations: 1.138 MB / 1.021 GB, free: 55.71 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05927/1.272, allocations: 38.09 MB / 1.058 GB, free: 15.56 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001772/1.274, allocations: 2.227 MB / 1.06 GB, free: 13.3 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.002358/1.276, allocations: 0.516 MB / 1.061 GB, free: 12.79 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00145/1.278, allocations: 1.343 MB / 1.062 GB, free: 11.45 MB / 0.7325 GB Notification: Performance of SimCode: time 5.41e-07/1.278, allocations: 0 / 1.062 GB, free: 11.45 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.666/4.943, allocations: 102.8 MB / 1.162 GB, free: 5.809 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002166/4.944, allocations: 237.5 kB / 1.163 GB, free: 5.555 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.669/10.61, allocations: 0 / 1.163 GB, free: 5.555 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)