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.00102/0.00102, allocations: 111.3 kB / 15.23 MB, free: 0.6562 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.00103/0.00103, allocations: 193.7 kB / 16.13 MB, free: 6.672 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.365/1.365, allocations: 205.1 MB / 222 MB, free: 4.754 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.604/1.604, allocations: 292.3 MB / 0.5484 GB, free: 13.65 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.001455/0.001455, allocations: 70.31 kB / 0.6709 GB, free: 26.43 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2033/0.2048, allocations: 114.6 MB / 0.7828 GB, free: 13.93 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized): time 0.02308/0.2279, allocations: 22.24 MB / 0.8045 GB, free: 7.605 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.02272/0.2507, allocations: 17.7 MB / 0.8218 GB, free: 5.848 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00307/0.2538, allocations: 107.4 kB / 0.8219 GB, free: 5.742 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.009208/0.2631, allocations: 3.899 MB / 0.8257 GB, free: 1.84 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.009562/0.2726, allocations: 3.2 MB / 0.8288 GB, free: 14.63 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.003463/0.2761, allocations: 1.182 MB / 0.83 GB, free: 13.45 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.008395/0.2845, allocations: 7.055 MB / 0.8369 GB, free: 6.375 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003392/0.288, allocations: 2.495 MB / 0.8393 GB, free: 3.805 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003346/0.2913, allocations: 2.179 MB / 0.8414 GB, free: 1.617 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003396/0.2947, allocations: 2.455 MB / 0.8438 GB, free: 15.15 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0005306/0.2953, allocations: 236 kB / 0.8441 GB, free: 14.92 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002007/0.2973, allocations: 1.111 MB / 0.8452 GB, free: 13.81 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0009038/0.2982, allocations: 1.063 MB / 0.8462 GB, free: 12.74 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.001833/0.3, allocations: 1.857 MB / 0.848 GB, free: 10.88 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.004181/0.3042, allocations: 5.069 MB / 0.853 GB, free: 5.789 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.3043, allocations: 0 / 0.853 GB, free: 5.789 MB / 0.67 GB Notification: Performance of FrontEnd: time 8.12e-07/0.3043, allocations: 4 kB / 0.853 GB, free: 5.785 MB / 0.67 GB Notification: Performance of Transformations before backend: time 6.254e-05/0.3043, allocations: 0 / 0.853 GB, free: 5.785 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.008993/0.3133, allocations: 4.608 MB / 0.8575 GB, free: 1.062 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.199e-05/0.3134, allocations: 12.03 kB / 0.8575 GB, free: 1.051 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000434/0.3138, allocations: 362.3 kB / 0.8578 GB, free: 0.6875 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01541/0.3292, allocations: 3.273 MB / 0.861 GB, free: 13.41 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004054/0.3333, allocations: 2.084 MB / 0.863 GB, free: 11.25 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003673/0.3337, allocations: 466 kB / 0.8635 GB, free: 10.73 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004948/0.3342, allocations: 236 kB / 0.8637 GB, free: 10.5 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009554/0.3438, allocations: 4.814 MB / 0.8684 GB, free: 5.547 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.364e-05/0.3439, allocations: 0 / 0.8684 GB, free: 5.547 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003233/0.3442, allocations: 108 kB / 0.8685 GB, free: 5.441 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001791/0.3444, allocations: 172.8 kB / 0.8687 GB, free: 5.27 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01248/0.3569, allocations: 5.198 MB / 0.8738 GB, free: 56 kB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02202/0.3789, allocations: 14.48 MB / 0.8879 GB, free: 420 kB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00933/0.3883, allocations: 3.402 MB / 0.8912 GB, free: 13 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003499/0.3918, allocations: 1.471 MB / 0.8927 GB, free: 11.53 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001622/0.392, allocations: 21.3 kB / 0.8927 GB, free: 11.5 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004003/0.396, allocations: 1.794 MB / 0.8944 GB, free: 9.645 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=163): time 4.588e-06/0.396, allocations: 3.938 kB / 0.8944 GB, free: 9.641 MB / 0.7169 GB Notification: Performance of matching and sorting (n=250): time 0.4918/0.8879, allocations: 28.21 MB / 0.922 GB, free: 127.6 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000224/0.8882, allocations: 0.4893 MB / 0.9225 GB, free: 127 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005304/0.8935, allocations: 2.298 MB / 0.9247 GB, free: 126.8 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0004082/0.8939, allocations: 77.02 kB / 0.9248 GB, free: 126.8 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.001412/0.8953, allocations: 1.434 MB / 0.9262 GB, free: 126 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009856/0.8963, allocations: 0.8212 MB / 0.927 GB, free: 125.5 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009197/0.8973, allocations: 412 kB / 0.9274 GB, free: 125.4 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 4.396e-05/0.8973, allocations: 307.6 kB / 0.9277 GB, free: 125.1 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004692/0.902, allocations: 1.929 MB / 0.9295 GB, free: 124.5 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004933/0.907, allocations: 2.236 MB / 0.9317 GB, free: 123.7 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009361/0.9163, allocations: 4.155 MB / 0.9358 GB, free: 122 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.037e-05/0.9164, allocations: 3.438 kB / 0.9358 GB, free: 122 MB / 0.7325 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.01941/0.9358, allocations: 6.537 MB / 0.9422 GB, free: 119.7 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 9.464e-05/0.9359, allocations: 148.6 kB / 0.9423 GB, free: 119.6 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.013e-05/0.936, allocations: 9.25 kB / 0.9423 GB, free: 119.6 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009917/0.9459, allocations: 2.927 MB / 0.9452 GB, free: 119.1 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002975/0.9489, allocations: 484 kB / 0.9456 GB, free: 119 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03495/0.9839, allocations: 17.34 MB / 0.9626 GB, free: 109.2 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003693/0.9876, allocations: 321.1 kB / 0.9629 GB, free: 109.1 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004176/0.988, allocations: 91.09 kB / 0.963 GB, free: 109 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.001716/0.9897, allocations: 0.7152 MB / 0.9637 GB, free: 108.6 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008719/0.9906, allocations: 329.5 kB / 0.964 GB, free: 108.4 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008367/0.9915, allocations: 386.7 kB / 0.9644 GB, free: 108.1 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.926e-05/0.9915, allocations: 27.44 kB / 0.9644 GB, free: 108.1 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.399e-05/0.9916, allocations: 9.844 kB / 0.9644 GB, free: 108.1 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.432e-05/0.9916, allocations: 11.95 kB / 0.9644 GB, free: 108.1 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004527/0.9961, allocations: 3.63 MB / 0.9679 GB, free: 105.7 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.441e-05/0.9962, allocations: 0 / 0.9679 GB, free: 105.7 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002263/0.9984, allocations: 422.2 kB / 0.9684 GB, free: 105.5 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008575/1.007, allocations: 2.867 MB / 0.9712 GB, free: 104.2 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003036/1.007, allocations: 51.38 kB / 0.9712 GB, free: 104.2 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02973/1.037, allocations: 17.11 MB / 0.9879 GB, free: 88.6 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.438e-06/1.037, allocations: 0.875 kB / 0.9879 GB, free: 88.6 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01528/1.052, allocations: 6.173 MB / 0.9939 GB, free: 82.4 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001567/1.054, allocations: 0.7 MB / 0.9946 GB, free: 81.68 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005207/1.055, allocations: 48 kB / 0.9947 GB, free: 81.63 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002832/1.057, allocations: 311.6 kB / 0.995 GB, free: 81.32 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001142/1.059, allocations: 359.4 kB / 0.9953 GB, free: 80.97 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001907/1.059, allocations: 71.97 kB / 0.9954 GB, free: 80.9 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001718/1.06, allocations: 1.536 MB / 0.9969 GB, free: 79.37 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.1e-07/1.06, allocations: 0 / 0.9969 GB, free: 79.37 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002356/1.063, allocations: 1.043 MB / 0.9979 GB, free: 78.32 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.01557/1.078, allocations: 6.809 MB / 1.005 GB, free: 71.47 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.01935/1.098, allocations: 6.444 MB / 1.011 GB, free: 64.94 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 7.804e-06/1.098, allocations: 4 kB / 1.011 GB, free: 64.94 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.01442/1.112, allocations: 4.037 MB / 1.015 GB, free: 60.88 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004009/1.116, allocations: 1.051 MB / 1.016 GB, free: 59.87 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06285/1.179, allocations: 38.09 MB / 1.053 GB, free: 19.72 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001357/1.181, allocations: 2.231 MB / 1.055 GB, free: 17.45 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.002182/1.183, allocations: 0.5049 MB / 1.056 GB, free: 16.96 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001374/1.184, allocations: 1.331 MB / 1.057 GB, free: 15.63 MB / 0.7325 GB Notification: Performance of SimCode: time 1.403e-06/1.184, allocations: 0 / 1.057 GB, free: 15.63 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1362/1.32, allocations: 99.4 MB / 1.154 GB, free: 13.32 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001758/1.321, allocations: 241.4 kB / 1.154 GB, free: 13.06 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.301/5.621, allocations: 7.938 kB / 1.154 GB, free: 13.05 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)