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.0008358/0.0008358, allocations: 99.38 kB / 15.37 MB, free: 0.707 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.0009001/0.0009, allocations: 181.9 kB / 16.28 MB, free: 6.656 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.227/1.227, allocations: 205.4 MB / 222.5 MB, free: 5.562 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.663/1.663, allocations: 292.7 MB / 0.5503 GB, free: 14.46 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.0004927/0.0004927, allocations: 12.84 kB / 0.6744 GB, free: 25.83 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1964/0.1969, allocations: 116.3 MB / 0.788 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized): time 0.02112/0.2181, allocations: 21.51 MB / 0.809 GB, free: 5.895 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.02276/0.2409, allocations: 17.48 MB / 0.8261 GB, free: 4.355 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002834/0.2437, allocations: 107.4 kB / 0.8262 GB, free: 4.25 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001901/0.2456, allocations: 0.5853 MB / 0.8268 GB, free: 3.66 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.009448/0.2551, allocations: 3.208 MB / 0.8299 GB, free: 456 kB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.003161/0.2583, allocations: 1.176 MB / 0.831 GB, free: 15.27 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.008807/0.2671, allocations: 7.056 MB / 0.8379 GB, free: 8.191 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004065/0.2712, allocations: 2.546 MB / 0.8404 GB, free: 5.555 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003879/0.2751, allocations: 2.046 MB / 0.8424 GB, free: 3.5 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00503/0.2802, allocations: 2.295 MB / 0.8447 GB, free: 1.195 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.001133/0.2813, allocations: 176 kB / 0.8448 GB, free: 1.023 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003011/0.2844, allocations: 1.053 MB / 0.8459 GB, free: 15.97 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.001027/0.2854, allocations: 0.9807 MB / 0.8468 GB, free: 14.98 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.002538/0.288, allocations: 1.785 MB / 0.8486 GB, free: 13.18 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.005499/0.2935, allocations: 4.939 MB / 0.8534 GB, free: 8.227 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.2935, allocations: 4 kB / 0.8534 GB, free: 8.223 MB / 0.67 GB Notification: Performance of FrontEnd: time 3.787e-06/0.2935, allocations: 4 kB / 0.8534 GB, free: 8.219 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.0001406/0.2936, allocations: 0 / 0.8534 GB, free: 8.219 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.009334/0.303, allocations: 4.064 MB / 0.8574 GB, free: 4.043 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 5.054e-05/0.3031, allocations: 8.031 kB / 0.8574 GB, free: 4.035 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001025/0.3041, allocations: 370.3 kB / 0.8577 GB, free: 3.664 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01684/0.3209, allocations: 3.363 MB / 0.861 GB, free: 300 kB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004412/0.3254, allocations: 2.095 MB / 0.863 GB, free: 14.13 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004184/0.3258, allocations: 462 kB / 0.8635 GB, free: 13.61 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006282/0.3265, allocations: 232 kB / 0.8637 GB, free: 13.39 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01167/0.3382, allocations: 4.877 MB / 0.8685 GB, free: 8.367 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.867e-05/0.3383, allocations: 0 / 0.8685 GB, free: 8.367 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003446/0.3386, allocations: 108 kB / 0.8686 GB, free: 8.262 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002157/0.3388, allocations: 172.8 kB / 0.8687 GB, free: 8.09 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0145/0.3533, allocations: 5.319 MB / 0.8739 GB, free: 2.754 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02426/0.3776, allocations: 14.6 MB / 0.8882 GB, free: 2.98 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01023/0.3879, allocations: 3.695 MB / 0.8918 GB, free: 15.27 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003986/0.392, allocations: 1.584 MB / 0.8933 GB, free: 13.69 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001194/0.3921, allocations: 29.28 kB / 0.8934 GB, free: 13.66 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004384/0.3965, allocations: 1.92 MB / 0.8952 GB, free: 11.67 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=163): time 3.426e-06/0.3965, allocations: 0 / 0.8952 GB, free: 11.67 MB / 0.7169 GB Notification: Performance of matching and sorting (n=250): time 0.535/0.9316, allocations: 34.12 MB / 0.9286 GB, free: 126.7 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001607/0.9318, allocations: 0.4891 MB / 0.9291 GB, free: 126.1 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003474/0.9352, allocations: 2.3 MB / 0.9313 GB, free: 125.3 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.000408/0.9357, allocations: 78.06 kB / 0.9314 GB, free: 125.2 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.001114/0.9368, allocations: 1.431 MB / 0.9328 GB, free: 124.1 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007686/0.9376, allocations: 0.8217 MB / 0.9336 GB, free: 123.5 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003331/0.9379, allocations: 186.8 kB / 0.9337 GB, free: 123.4 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 4.538e-05/0.938, allocations: 305.6 kB / 0.934 GB, free: 123.1 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00547/0.9434, allocations: 2.116 MB / 0.9361 GB, free: 122.5 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006071/0.9495, allocations: 2.419 MB / 0.9385 GB, free: 121.7 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01213/0.9617, allocations: 4.539 MB / 0.9429 GB, free: 120 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-05/0.9617, allocations: 2.438 kB / 0.9429 GB, free: 120 MB / 0.7325 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.02021/0.982, allocations: 6.918 MB / 0.9497 GB, free: 117.6 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001073/0.9821, allocations: 148.2 kB / 0.9498 GB, free: 117.5 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.68e-05/0.9822, allocations: 9.094 kB / 0.9498 GB, free: 117.5 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01025/0.9924, allocations: 2.925 MB / 0.9527 GB, free: 116.9 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003042/0.9955, allocations: 0.5722 MB / 0.9532 GB, free: 116.8 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03633/1.032, allocations: 17.36 MB / 0.9702 GB, free: 106.4 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005073/1.037, allocations: 420.7 kB / 0.9706 GB, free: 106.2 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006205/1.038, allocations: 94.02 kB / 0.9707 GB, free: 106.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.002189/1.04, allocations: 0.7104 MB / 0.9714 GB, free: 105.7 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001187/1.041, allocations: 336.6 kB / 0.9717 GB, free: 105.6 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001016/1.042, allocations: 378.5 kB / 0.972 GB, free: 105.3 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.977e-05/1.042, allocations: 25.97 kB / 0.9721 GB, free: 105.3 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.022e-05/1.042, allocations: 9.453 kB / 0.9721 GB, free: 105.3 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.513e-05/1.042, allocations: 13.83 kB / 0.9721 GB, free: 105.3 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005157/1.047, allocations: 3.636 MB / 0.9756 GB, free: 102.8 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.397e-05/1.047, allocations: 4.938 kB / 0.9756 GB, free: 102.8 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002443/1.05, allocations: 0.5033 MB / 0.9761 GB, free: 102.3 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009128/1.059, allocations: 2.865 MB / 0.9789 GB, free: 99.43 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004513/1.059, allocations: 47.97 kB / 0.979 GB, free: 99.38 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03361/1.093, allocations: 17.16 MB / 0.9957 GB, free: 81.96 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/1.093, allocations: 0.875 kB / 0.9957 GB, free: 81.96 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01759/1.111, allocations: 6.554 MB / 1.002 GB, free: 75.38 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001975/1.113, allocations: 0.6961 MB / 1.003 GB, free: 74.66 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001035/1.114, allocations: 44 kB / 1.003 GB, free: 74.61 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003833/1.118, allocations: 411.6 kB / 1.003 GB, free: 74.21 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001221/1.119, allocations: 346.7 kB / 1.004 GB, free: 73.87 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002879/1.119, allocations: 71.97 kB / 1.004 GB, free: 73.8 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.003145/1.122, allocations: 1.536 MB / 1.005 GB, free: 72.27 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.362e-06/1.122, allocations: 0 / 1.005 GB, free: 72.27 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.004325/1.127, allocations: 1.05 MB / 1.006 GB, free: 71.22 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.0181/1.145, allocations: 7.183 MB / 1.013 GB, free: 64 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0224/1.167, allocations: 6.826 MB / 1.02 GB, free: 57.08 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 9.528e-06/1.167, allocations: 4.75 kB / 1.02 GB, free: 57.07 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.01649/1.184, allocations: 4.242 MB / 1.024 GB, free: 52.81 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006339/1.19, allocations: 1.04 MB / 1.025 GB, free: 51.8 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07884/1.269, allocations: 39.12 MB / 1.063 GB, free: 10.61 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0024/1.272, allocations: 2.227 MB / 1.065 GB, free: 8.348 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.002675/1.274, allocations: 0.5099 MB / 1.066 GB, free: 7.832 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001784/1.276, allocations: 1.327 MB / 1.067 GB, free: 6.504 MB / 0.7325 GB Notification: Performance of SimCode: time 8.62e-07/1.276, allocations: 0 / 1.067 GB, free: 6.504 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1963/1.472, allocations: 98.23 MB / 1.163 GB, free: 5.371 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001757/1.473, allocations: 240.8 kB / 1.163 GB, free: 5.113 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.199/5.672, allocations: 7.938 kB / 1.163 GB, free: 5.105 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)