Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_DC_Lines_Examples_DCLinesLinearized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_DC_Lines_Examples_DCLinesLinearized",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.544/1.544, allocations: 252 MB / 267.3 MB, free: 10.84 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001104/0.001104, allocations: 176.6 kB / 327 MB, free: 2.094 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.984/1.984, allocations: 205.4 MB / 0.578 GB, free: 20.44 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007238/0.0007237, allocations: 94.28 kB / 0.6826 GB, free: 13.23 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003745/0.0003746, allocations: 12.34 kB / 0.7971 GB, free: 134.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2302/0.2306, allocations: 106.3 MB / 0.9009 GB, free: 63.75 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized): time 0.02001/0.2506, allocations: 21.52 MB / 0.9219 GB, free: 42.15 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.02373/0.2744, allocations: 17.49 MB / 0.939 GB, free: 24.61 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004943/0.2794, allocations: 99.44 kB / 0.9391 GB, free: 24.51 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.003329/0.2828, allocations: 0.5853 MB / 0.9397 GB, free: 23.92 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.01224/0.295, allocations: 3.2 MB / 0.9428 GB, free: 20.71 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.004396/0.2995, allocations: 1.18 MB / 0.944 GB, free: 19.54 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.01028/0.3097, allocations: 7.063 MB / 0.9508 GB, free: 12.45 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005459/0.3153, allocations: 2.55 MB / 0.9533 GB, free: 9.805 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004869/0.3202, allocations: 2.077 MB / 0.9554 GB, free: 7.719 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0049/0.3251, allocations: 2.288 MB / 0.9576 GB, free: 5.422 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.001757/0.3269, allocations: 176 kB / 0.9578 GB, free: 5.25 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004379/0.3313, allocations: 1.057 MB / 0.9588 GB, free: 4.191 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.002385/0.3337, allocations: 0.9769 MB / 0.9598 GB, free: 3.211 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.004798/0.3386, allocations: 1.777 MB / 0.9615 GB, free: 1.418 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.01001/0.3486, allocations: 4.939 MB / 0.9663 GB, free: 12.46 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 1.411e-05/0.3487, allocations: 0 / 0.9663 GB, free: 12.46 MB / 0.6198 GB Notification: Performance of FrontEnd: time 8.967e-06/0.3487, allocations: 0 / 0.9663 GB, free: 12.46 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.0004286/0.3492, allocations: 4 kB / 0.9663 GB, free: 12.45 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: 635 * Number of variables: 635 Notification: Performance of Generate backend data structure: time 0.01272/0.3619, allocations: 4.076 MB / 0.9703 GB, free: 8.27 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 6.043e-05/0.362, allocations: 8.031 kB / 0.9703 GB, free: 8.262 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002079/0.3641, allocations: 362.3 kB / 0.9707 GB, free: 7.898 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01762/0.3817, allocations: 3.367 MB / 0.9739 GB, free: 4.523 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00658/0.3884, allocations: 2.088 MB / 0.976 GB, free: 2.367 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005602/0.389, allocations: 474 kB / 0.9764 GB, free: 1.84 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001256/0.3903, allocations: 236 kB / 0.9767 GB, free: 1.609 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01508/0.4053, allocations: 4.869 MB / 0.9814 GB, free: 12.6 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.732e-05/0.4055, allocations: 0 / 0.9814 GB, free: 12.6 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008851/0.4064, allocations: 112 kB / 0.9815 GB, free: 12.49 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002405/0.4066, allocations: 172.8 kB / 0.9817 GB, free: 12.32 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01724/0.4239, allocations: 5.319 MB / 0.9869 GB, free: 6.98 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03242/0.4564, allocations: 14.58 MB / 1.001 GB, free: 7.23 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01115/0.4676, allocations: 3.693 MB / 1.005 GB, free: 3.523 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004515/0.4721, allocations: 1.596 MB / 1.006 GB, free: 1.93 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002423/0.4724, allocations: 25.3 kB / 1.006 GB, free: 1.902 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005203/0.4776, allocations: 1.921 MB / 1.008 GB, free: 15.92 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=163): time 5.461e-06/0.4777, allocations: 0 / 1.008 GB, free: 15.92 MB / 0.6667 GB Notification: Performance of matching and sorting (n=250): time 0.1444/0.6221, allocations: 34.14 MB / 1.042 GB, free: 13.55 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000305/0.6225, allocations: 0.4889 MB / 1.042 GB, free: 12.95 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004865/0.6274, allocations: 2.292 MB / 1.044 GB, free: 10.65 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0006859/0.6281, allocations: 73.7 kB / 1.044 GB, free: 10.57 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001617/0.6298, allocations: 1.438 MB / 1.046 GB, free: 9.117 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.001383/0.6312, allocations: 0.8163 MB / 1.047 GB, free: 8.289 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004117/0.6316, allocations: 48 kB / 1.047 GB, free: 8.242 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002908/0.6319, allocations: 402.6 kB / 1.047 GB, free: 7.844 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006211/0.6381, allocations: 2.116 MB / 1.049 GB, free: 5.723 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006782/0.645, allocations: 2.418 MB / 1.051 GB, free: 3.223 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.552/1.197, allocations: 4.542 MB / 1.056 GB, free: 139.7 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.84e-05/1.197, allocations: 0 / 1.056 GB, free: 139.7 MB / 0.698 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.02243/1.22, allocations: 6.91 MB / 1.063 GB, free: 139.3 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001562/1.22, allocations: 154.4 kB / 1.063 GB, free: 139.1 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.275e-05/1.22, allocations: 9.438 kB / 1.063 GB, free: 139.1 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01346/1.233, allocations: 2.941 MB / 1.066 GB, free: 139.1 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003889/1.237, allocations: 0.576 MB / 1.066 GB, free: 139.1 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04172/1.279, allocations: 17.35 MB / 1.083 GB, free: 133.2 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004773/1.284, allocations: 422.7 kB / 1.083 GB, free: 133.1 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006393/1.284, allocations: 92.75 kB / 1.084 GB, free: 133.1 MB / 0.698 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 (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 {(9,63)} Notification: Performance of prepare postOptimizeDAE: time 0.00209/1.287, allocations: 0.7105 MB / 1.084 GB, free: 132.7 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000921/1.288, allocations: 330.3 kB / 1.085 GB, free: 132.6 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008944/1.288, allocations: 387.7 kB / 1.085 GB, free: 132.4 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.315e-05/1.288, allocations: 23.56 kB / 1.085 GB, free: 132.4 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-05/1.289, allocations: 7.875 kB / 1.085 GB, free: 132.4 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.41e-05/1.289, allocations: 11.3 kB / 1.085 GB, free: 132.4 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006744/1.295, allocations: 3.63 MB / 1.089 GB, free: 130.8 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-05/1.295, allocations: 0 / 1.089 GB, free: 130.8 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002902/1.298, allocations: 0.5077 MB / 1.089 GB, free: 130.6 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009442/1.308, allocations: 2.865 MB / 1.092 GB, free: 129.3 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005164/1.308, allocations: 51.38 kB / 1.092 GB, free: 129.3 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03534/1.344, allocations: 17.16 MB / 1.109 GB, free: 115.2 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/1.344, allocations: 0 / 1.109 GB, free: 115.2 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01798/1.362, allocations: 6.545 MB / 1.115 GB, free: 108.6 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002381/1.364, allocations: 0.6961 MB / 1.116 GB, free: 107.9 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001105/1.365, allocations: 44 kB / 1.116 GB, free: 107.8 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003881/1.369, allocations: 420.5 kB / 1.116 GB, free: 107.4 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001447/1.371, allocations: 356.1 kB / 1.116 GB, free: 107.1 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000361/1.371, allocations: 71.91 kB / 1.117 GB, free: 107 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.002879/1.374, allocations: 1.536 MB / 1.118 GB, free: 105.5 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.4e-07/1.374, allocations: 0 / 1.118 GB, free: 105.5 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.00396/1.378, allocations: 1.043 MB / 1.119 GB, free: 104.4 MB / 0.698 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.01937/1.397, allocations: 7.175 MB / 1.126 GB, free: 97.2 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.02318/1.421, allocations: 6.836 MB / 1.133 GB, free: 90.27 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.107e-05/1.421, allocations: 2.625 kB / 1.133 GB, free: 90.27 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.01698/1.438, allocations: 4.236 MB / 1.137 GB, free: 86.01 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006085/1.444, allocations: 1.05 MB / 1.138 GB, free: 84.99 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08468/1.528, allocations: 39.12 MB / 1.176 GB, free: 43.79 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00243/1.531, allocations: 2.231 MB / 1.178 GB, free: 41.53 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.003037/1.534, allocations: 0.5138 MB / 1.179 GB, free: 41.01 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001836/1.536, allocations: 1.319 MB / 1.18 GB, free: 39.69 MB / 0.698 GB Notification: Performance of SimCode: time 2.585e-06/1.536, allocations: 0 / 1.18 GB, free: 39.69 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1643/1.7, allocations: 98.24 MB / 1.276 GB, free: 6.27 MB / 0.7605 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002023/1.7, allocations: 257.2 kB / 1.276 GB, free: 6.008 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.945/7.646, allocations: 3.938 kB / 1.276 GB, free: 6.004 MB / 0.7605 GB (rm -f Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Electrical_DC_Lines_Examples_DCLinesLinearized_fmu --startTime=0 --stopTime=4000 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Electrical_DC_Lines_Examples_DCLinesLinearized.fmu > Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe 2>&1)