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.449/1.449, allocations: 252 MB / 267 MB, free: 10.97 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.00114/0.00114, allocations: 188 kB / 326.6 MB, free: 2.227 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.913/1.913, allocations: 205.4 MB / 0.5777 GB, free: 20.54 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.0009134/0.0009136, allocations: 104.5 kB / 0.6823 GB, free: 13.33 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003476/0.0003477, allocations: 11.44 kB / 0.7965 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2578/0.2582, allocations: 106.3 MB / 0.9003 GB, free: 64.2 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized): time 0.01728/0.2755, allocations: 20.25 MB / 0.9201 GB, free: 43.88 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.02006/0.2956, allocations: 16.51 MB / 0.9362 GB, free: 27.33 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004105/0.2998, allocations: 103.4 kB / 0.9363 GB, free: 27.23 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.002717/0.3025, allocations: 0.5619 MB / 0.9369 GB, free: 26.66 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.01034/0.3129, allocations: 2.868 MB / 0.9397 GB, free: 23.79 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.003925/0.3168, allocations: 0.947 MB / 0.9406 GB, free: 22.84 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.008451/0.3253, allocations: 5.928 MB / 0.9464 GB, free: 16.9 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004923/0.3303, allocations: 2.071 MB / 0.9484 GB, free: 14.76 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004147/0.3345, allocations: 1.973 MB / 0.9503 GB, free: 12.78 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004706/0.3392, allocations: 2.214 MB / 0.9525 GB, free: 10.56 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.002072/0.3413, allocations: 176 kB / 0.9526 GB, free: 10.39 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003646/0.345, allocations: 0.5033 MB / 0.9531 GB, free: 9.883 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.002189/0.3472, allocations: 0.9498 MB / 0.9541 GB, free: 8.93 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.001932/0.3492, allocations: 0.7028 MB / 0.9548 GB, free: 8.219 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.005403/0.3546, allocations: 3.927 MB / 0.9586 GB, free: 4.281 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 7.193e-06/0.3546, allocations: 0 / 0.9586 GB, free: 4.281 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.655e-06/0.3546, allocations: 8 kB / 0.9586 GB, free: 4.273 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0002781/0.3549, allocations: 0 / 0.9586 GB, free: 4.273 MB / 0.6042 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.01068/0.3656, allocations: 4.103 MB / 0.9626 GB, free: 60 kB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.568e-05/0.3657, allocations: 8.031 kB / 0.9626 GB, free: 52 kB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001605/0.3673, allocations: 366.1 kB / 0.963 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01751/0.3848, allocations: 3.362 MB / 0.9662 GB, free: 12.31 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006876/0.3918, allocations: 1.987 MB / 0.9682 GB, free: 10.26 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006707/0.3925, allocations: 469.7 kB / 0.9686 GB, free: 9.734 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001482/0.394, allocations: 232 kB / 0.9689 GB, free: 9.508 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0169/0.4109, allocations: 4.849 MB / 0.9736 GB, free: 4.512 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001138/0.4111, allocations: 3.938 kB / 0.9736 GB, free: 4.508 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001079/0.4122, allocations: 115.9 kB / 0.9737 GB, free: 4.395 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002914/0.4125, allocations: 172.8 kB / 0.9739 GB, free: 4.223 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01615/0.4286, allocations: 5.292 MB / 0.979 GB, free: 14.91 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03223/0.4609, allocations: 14.58 MB / 0.9933 GB, free: 15.15 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01098/0.472, allocations: 3.675 MB / 0.9969 GB, free: 11.46 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00437/0.4764, allocations: 1.584 MB / 0.9984 GB, free: 9.883 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002351/0.4767, allocations: 25.16 kB / 0.9984 GB, free: 9.863 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005495/0.4822, allocations: 1.928 MB / 1 GB, free: 7.871 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=163): time 7.384e-06/0.4823, allocations: 0 / 1 GB, free: 7.871 MB / 0.6511 GB Notification: Performance of matching and sorting (n=250): time 0.1622/0.6445, allocations: 34.09 MB / 1.034 GB, free: 5.551 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004186/0.645, allocations: 0.4889 MB / 1.034 GB, free: 4.949 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005739/0.6507, allocations: 2.273 MB / 1.036 GB, free: 2.664 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0007769/0.6515, allocations: 81.69 kB / 1.036 GB, free: 2.578 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.002011/0.6536, allocations: 1.438 MB / 1.038 GB, free: 1.125 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.001583/0.6552, allocations: 0.8124 MB / 1.039 GB, free: 308 kB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003145/0.6555, allocations: 48 kB / 1.039 GB, free: 260 kB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0002909/0.6558, allocations: 398.7 kB / 1.039 GB, free: 15.86 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009748/0.6656, allocations: 2.112 MB / 1.041 GB, free: 13.74 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009479/0.6751, allocations: 2.399 MB / 1.043 GB, free: 11.26 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006108/0.6813, allocations: 2.296 MB / 1.046 GB, free: 8.91 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.374e-05/0.6813, allocations: 4 kB / 1.046 GB, free: 8.906 MB / 0.698 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.01937/0.7007, allocations: 6.879 MB / 1.052 GB, free: 1.938 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001416/0.7009, allocations: 150.8 kB / 1.053 GB, free: 1.762 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.423e-05/0.7009, allocations: 11.98 kB / 1.053 GB, free: 1.75 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.4743/1.175, allocations: 2.942 MB / 1.055 GB, free: 139.8 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002845/1.178, allocations: 0.5728 MB / 1.056 GB, free: 139.8 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0401/1.218, allocations: 17.3 MB / 1.073 GB, free: 136.1 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004574/1.223, allocations: 425.3 kB / 1.073 GB, free: 136 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004293/1.223, allocations: 88.62 kB / 1.073 GB, free: 136 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 (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.001583/1.225, allocations: 0.7061 MB / 1.074 GB, free: 135.6 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007681/1.226, allocations: 328.4 kB / 1.074 GB, free: 135.6 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000597/1.226, allocations: 382.9 kB / 1.075 GB, free: 135.4 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.63e-05/1.226, allocations: 29.36 kB / 1.075 GB, free: 135.4 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.769e-05/1.226, allocations: 8.625 kB / 1.075 GB, free: 135.4 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.496e-05/1.226, allocations: 12.5 kB / 1.075 GB, free: 135.4 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00465/1.231, allocations: 3.637 MB / 1.078 GB, free: 133.9 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.759e-06/1.231, allocations: 1.266 kB / 1.078 GB, free: 133.9 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002494/1.234, allocations: 0.5062 MB / 1.079 GB, free: 133.9 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008979/1.243, allocations: 2.863 MB / 1.082 GB, free: 133.3 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005511/1.243, allocations: 47.09 kB / 1.082 GB, free: 133.3 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03501/1.278, allocations: 17.11 MB / 1.098 GB, free: 123.6 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/1.278, allocations: 0 / 1.098 GB, free: 123.6 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01614/1.294, allocations: 6.532 MB / 1.105 GB, free: 118.2 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001891/1.296, allocations: 0.6961 MB / 1.105 GB, free: 117.5 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000683/1.297, allocations: 44 kB / 1.105 GB, free: 117.4 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003147/1.3, allocations: 412.3 kB / 1.106 GB, free: 117 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001097/1.301, allocations: 374.5 kB / 1.106 GB, free: 116.7 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001861/1.302, allocations: 71.97 kB / 1.106 GB, free: 116.6 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001946/1.303, allocations: 1.509 MB / 1.108 GB, free: 115.1 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.5e-07/1.304, allocations: 0 / 1.108 GB, free: 115.1 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.003018/1.307, allocations: 1.043 MB / 1.109 GB, free: 114.1 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 (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.01651/1.323, allocations: 7.153 MB / 1.116 GB, free: 106.9 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.02492/1.348, allocations: 6.829 MB / 1.122 GB, free: 99.93 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.104e-05/1.348, allocations: 0 / 1.122 GB, free: 99.93 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0165/1.365, allocations: 4.228 MB / 1.127 GB, free: 95.68 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005743/1.37, allocations: 1.06 MB / 1.128 GB, free: 94.66 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05757/1.428, allocations: 27.15 MB / 1.154 GB, free: 66.05 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001783/1.43, allocations: 2.231 MB / 1.156 GB, free: 63.79 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.002824/1.433, allocations: 0.5099 MB / 1.157 GB, free: 63.27 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001685/1.434, allocations: 1.327 MB / 1.158 GB, free: 61.95 MB / 0.698 GB Notification: Performance of SimCode: time 1.663e-06/1.434, allocations: 0 / 1.158 GB, free: 61.95 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1425/1.577, allocations: 96.56 MB / 1.252 GB, free: 14.23 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002042/1.577, allocations: 232 kB / 1.253 GB, free: 13.99 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.151/7.728, allocations: 4 kB / 1.253 GB, free: 13.98 MB / 0.7448 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)