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.0008631/0.0008631, allocations: 92 kB / 15.06 MB, free: 1.098 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.001023/0.001023, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.693/1.693, allocations: 205.4 MB / 222.1 MB, free: 5.664 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.799/1.799, allocations: 292.7 MB / 0.5499 GB, free: 14.55 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.0005704/0.0005704, allocations: 20.58 kB / 0.6738 GB, free: 26.19 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2766/0.2771, allocations: 116.3 MB / 0.7874 GB, free: 11.87 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized): time 0.02438/0.3016, allocations: 20.26 MB / 0.8072 GB, free: 7.543 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.02601/0.3276, allocations: 16.5 MB / 0.8233 GB, free: 6.996 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003752/0.3314, allocations: 103.4 kB / 0.8234 GB, free: 6.895 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.002537/0.334, allocations: 0.5619 MB / 0.824 GB, free: 6.328 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.01026/0.3443, allocations: 2.857 MB / 0.8267 GB, free: 3.465 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.003363/0.3477, allocations: 0.9586 MB / 0.8277 GB, free: 2.508 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.008983/0.3567, allocations: 5.929 MB / 0.8335 GB, free: 12.56 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004163/0.3609, allocations: 2.071 MB / 0.8355 GB, free: 10.43 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00563/0.3665, allocations: 1.965 MB / 0.8374 GB, free: 8.453 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00595/0.3725, allocations: 2.218 MB / 0.8396 GB, free: 6.227 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.001326/0.3739, allocations: 176 kB / 0.8397 GB, free: 6.055 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002862/0.3768, allocations: 0.5072 MB / 0.8402 GB, free: 5.547 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.001318/0.3781, allocations: 0.942 MB / 0.8412 GB, free: 4.602 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.001613/0.3797, allocations: 0.6951 MB / 0.8418 GB, free: 3.898 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.005185/0.3849, allocations: 3.923 MB / 0.8457 GB, free: 15.96 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 1.141e-05/0.3849, allocations: 4 kB / 0.8457 GB, free: 15.96 MB / 0.67 GB Notification: Performance of FrontEnd: time 2.205e-06/0.385, allocations: 3.938 kB / 0.8457 GB, free: 15.96 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.0001403/0.3851, allocations: 0 / 0.8457 GB, free: 15.96 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.01026/0.3954, allocations: 4.107 MB / 0.8497 GB, free: 11.74 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 6.028e-05/0.3955, allocations: 12.03 kB / 0.8497 GB, free: 11.73 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001429/0.3969, allocations: 366.1 kB / 0.85 GB, free: 11.36 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01526/0.4122, allocations: 3.37 MB / 0.8533 GB, free: 7.98 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006054/0.4183, allocations: 1.983 MB / 0.8553 GB, free: 5.93 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004811/0.4188, allocations: 465.7 kB / 0.8557 GB, free: 5.41 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006989/0.4195, allocations: 236 kB / 0.8559 GB, free: 5.18 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01255/0.4321, allocations: 4.857 MB / 0.8607 GB, free: 184 kB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.788e-05/0.4322, allocations: 0 / 0.8607 GB, free: 184 kB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003365/0.4325, allocations: 104 kB / 0.8608 GB, free: 80 kB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002123/0.4327, allocations: 172.8 kB / 0.8609 GB, free: 15.91 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01362/0.4464, allocations: 5.304 MB / 0.8661 GB, free: 10.59 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0243/0.4707, allocations: 14.59 MB / 0.8804 GB, free: 10.82 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009816/0.4805, allocations: 3.67 MB / 0.884 GB, free: 7.133 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003782/0.4844, allocations: 1.592 MB / 0.8855 GB, free: 5.543 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002055/0.4846, allocations: 25.28 kB / 0.8855 GB, free: 5.52 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00451/0.4891, allocations: 1.91 MB / 0.8874 GB, free: 3.547 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=163): time 4.859e-06/0.4892, allocations: 0 / 0.8874 GB, free: 3.547 MB / 0.7012 GB Notification: Performance of matching and sorting (n=250): time 0.1248/0.6139, allocations: 34.09 MB / 0.9207 GB, free: 1.227 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003215/0.6143, allocations: 0.4889 MB / 0.9212 GB, free: 0.625 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.5612/1.176, allocations: 2.266 MB / 0.9234 GB, free: 126.9 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0007508/1.176, allocations: 77.66 kB / 0.9235 GB, free: 126.9 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.001633/1.178, allocations: 1.433 MB / 0.9249 GB, free: 126.8 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.001217/1.179, allocations: 0.8222 MB / 0.9257 GB, free: 126.4 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002055/1.179, allocations: 50.94 kB / 0.9257 GB, free: 126.4 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001844/1.18, allocations: 394.5 kB / 0.9261 GB, free: 126.1 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006188/1.186, allocations: 2.108 MB / 0.9282 GB, free: 125.6 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005885/1.192, allocations: 2.418 MB / 0.9305 GB, free: 124.8 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006456/1.198, allocations: 2.286 MB / 0.9327 GB, free: 123.9 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.366e-05/1.198, allocations: 2.438 kB / 0.9327 GB, free: 123.9 MB / 0.7325 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.02044/1.219, allocations: 6.891 MB / 0.9395 GB, free: 121.7 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001199/1.219, allocations: 147.7 kB / 0.9396 GB, free: 121.5 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.777e-05/1.219, allocations: 9.734 kB / 0.9396 GB, free: 121.5 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01128/1.23, allocations: 2.95 MB / 0.9425 GB, free: 121 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003067/1.233, allocations: 0.5659 MB / 0.9431 GB, free: 120.9 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03762/1.271, allocations: 17.31 MB / 0.96 GB, free: 112.4 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00439/1.275, allocations: 422.1 kB / 0.9604 GB, free: 112.3 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005782/1.276, allocations: 89.83 kB / 0.9604 GB, free: 112.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 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.varLoad1.T_start,varLoad1.T_start,$PRE.varLoad1.count,varLoad1.count,$PRE.varLoad2.T_start,varLoad2.T_start,$PRE.varLoad2.count,varLoad2.count,$PRE.varLoad3.T_start,varLoad3.T_start,$PRE.varLoad3.count,varLoad3.count,$PRE.varLoad4.T_start,varLoad4.T_start,$PRE.varLoad4.count,varLoad4.count,$PRE.varLoad5.T_start,varLoad5.T_start,$PRE.varLoad5.count,varLoad5.count) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(10,45.0%) 52} * Non-linear torn systems: 1 {9 63} Notification: Performance of prepare postOptimizeDAE: time 0.002246/1.278, allocations: 0.7064 MB / 0.9611 GB, free: 111.9 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009488/1.279, allocations: 333.5 kB / 0.9615 GB, free: 111.7 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00102/1.28, allocations: 381.9 kB / 0.9618 GB, free: 111.5 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.052e-05/1.28, allocations: 23.59 kB / 0.9618 GB, free: 111.5 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.196e-05/1.28, allocations: 11.81 kB / 0.9619 GB, free: 111.5 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.523e-05/1.28, allocations: 11.62 kB / 0.9619 GB, free: 111.5 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005459/1.286, allocations: 3.634 MB / 0.9654 GB, free: 109.1 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.407e-05/1.286, allocations: 5.625 kB / 0.9654 GB, free: 109.1 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002322/1.288, allocations: 0.4992 MB / 0.9659 GB, free: 109 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009002/1.297, allocations: 2.862 MB / 0.9687 GB, free: 107.7 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005064/1.298, allocations: 53.45 kB / 0.9688 GB, free: 107.6 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03284/1.331, allocations: 17.11 MB / 0.9855 GB, free: 92.81 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.616e-06/1.331, allocations: 0 / 0.9855 GB, free: 92.81 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01626/1.347, allocations: 6.518 MB / 0.9918 GB, free: 86.26 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001858/1.349, allocations: 0.7039 MB / 0.9925 GB, free: 85.53 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001012/1.35, allocations: 44 kB / 0.9926 GB, free: 85.49 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003386/1.353, allocations: 411.6 kB / 0.993 GB, free: 85.09 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001183/1.355, allocations: 372.7 kB / 0.9933 GB, free: 84.72 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002534/1.355, allocations: 71.97 kB / 0.9934 GB, free: 84.65 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.002446/1.357, allocations: 1.509 MB / 0.9948 GB, free: 83.14 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.4e-07/1.357, allocations: 2.625 kB / 0.9949 GB, free: 83.14 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.00345/1.361, allocations: 1.047 MB / 0.9959 GB, free: 82.1 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(10,60.0%) 52} * Non-linear torn systems: 1 {10 62} Notification: Performance of Backend phase and start with SimCode phase: time 0.0157/1.377, allocations: 7.156 MB / 1.003 GB, free: 74.9 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.02111/1.398, allocations: 6.82 MB / 1.01 GB, free: 67.99 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.309e-05/1.398, allocations: 0 / 1.01 GB, free: 67.99 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.01543/1.413, allocations: 4.23 MB / 1.014 GB, free: 63.73 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006205/1.419, allocations: 1.043 MB / 1.015 GB, free: 62.72 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05966/1.479, allocations: 27.16 MB / 1.041 GB, free: 34.09 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002662/1.482, allocations: 2.231 MB / 1.043 GB, free: 31.83 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.004274/1.486, allocations: 0.5138 MB / 1.044 GB, free: 31.31 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002199/1.488, allocations: 1.329 MB / 1.045 GB, free: 29.98 MB / 0.7325 GB Notification: Performance of SimCode: time 1.513e-06/1.488, allocations: 4 kB / 1.045 GB, free: 29.98 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1662/1.655, allocations: 96.54 MB / 1.139 GB, free: 14.54 MB / 0.8106 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002004/1.655, allocations: 234.2 kB / 1.14 GB, free: 14.3 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.322/6.977, allocations: 3.938 kB / 1.14 GB, free: 14.29 MB / 0.8106 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/linux/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) Environment - environmentSimulation: