Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized,fileNamePrefix="Buildings_maint_8_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_8_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 8.0.1-maint.8.0.x/package.mo): time 1.766/1.766, allocations: 288.4 MB / 303.3 MB, free: 8.047 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001077/0.001077, allocations: 181.5 kB / 372 MB, free: 10.29 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.758/1.758, allocations: 205.4 MB / 0.6307 GB, free: 10.02 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008867/0.0008867, allocations: 94.34 kB / 0.7441 GB, free: 5.938 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004498/0.00045, allocations: 14.75 kB / 0.867 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2413/0.2418, allocations: 115.3 MB / 0.9796 GB, free: 27.6 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized): time 0.02876/0.2706, allocations: 20.27 MB / 0.9994 GB, free: 7.266 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.03137/0.302, allocations: 16.49 MB / 1.016 GB, free: 6.73 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003906/0.306, allocations: 107.4 kB / 1.016 GB, free: 6.625 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.003407/0.3094, allocations: 0.558 MB / 1.016 GB, free: 6.062 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.01578/0.3252, allocations: 2.865 MB / 1.019 GB, free: 3.191 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.005749/0.331, allocations: 0.9581 MB / 1.02 GB, free: 2.238 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0124/0.3434, allocations: 5.922 MB / 1.026 GB, free: 12.3 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004332/0.3478, allocations: 2.075 MB / 1.028 GB, free: 10.15 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004336/0.3522, allocations: 1.965 MB / 1.03 GB, free: 8.18 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004371/0.3566, allocations: 2.214 MB / 1.032 GB, free: 5.957 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.0006779/0.3573, allocations: 180 kB / 1.032 GB, free: 5.781 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001731/0.359, allocations: 0.4994 MB / 1.032 GB, free: 5.281 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.0009067/0.3599, allocations: 0.9498 MB / 1.033 GB, free: 4.328 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.001028/0.361, allocations: 0.6951 MB / 1.034 GB, free: 3.625 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.00436/0.3653, allocations: 3.923 MB / 1.038 GB, free: 15.69 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.3654, allocations: 0 / 1.038 GB, free: 15.69 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.763e-06/0.3654, allocations: 4 kB / 1.038 GB, free: 15.69 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.0001716/0.3655, allocations: 0 / 1.038 GB, free: 15.69 MB / 0.6667 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.009503/0.3751, allocations: 4.119 MB / 1.042 GB, free: 11.46 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.527e-05/0.3751, allocations: 12.02 kB / 1.042 GB, free: 11.45 MB / 0.6667 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008264/0.3759, allocations: 362.2 kB / 1.042 GB, free: 11.08 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01604/0.392, allocations: 3.37 MB / 1.046 GB, free: 7.703 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006786/0.3988, allocations: 1.983 MB / 1.048 GB, free: 5.652 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007291/0.3996, allocations: 465.7 kB / 1.048 GB, free: 5.133 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001237/0.4008, allocations: 228 kB / 1.048 GB, free: 4.91 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02064/0.4215, allocations: 4.861 MB / 1.053 GB, free: 15.91 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.657e-05/0.4216, allocations: 3.938 kB / 1.053 GB, free: 15.9 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005858/0.4222, allocations: 99.98 kB / 1.053 GB, free: 15.8 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003649/0.4226, allocations: 172.8 kB / 1.053 GB, free: 15.63 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02491/0.4475, allocations: 5.3 MB / 1.058 GB, free: 10.32 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4895/0.937, allocations: 14.59 MB / 1.073 GB, free: 78.69 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01494/0.952, allocations: 3.667 MB / 1.076 GB, free: 77.77 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004808/0.9569, allocations: 1.593 MB / 1.078 GB, free: 77.31 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000188/0.9571, allocations: 24.38 kB / 1.078 GB, free: 77.31 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005572/0.9627, allocations: 1.913 MB / 1.08 GB, free: 76.7 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=163): time 5.099e-06/0.9628, allocations: 7.297 kB / 1.08 GB, free: 76.7 MB / 0.6823 GB Notification: Performance of matching and sorting (n=250): time 0.1459/1.109, allocations: 34.1 MB / 1.113 GB, free: 66.34 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001538/1.109, allocations: 0.4919 MB / 1.113 GB, free: 65.77 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003067/1.112, allocations: 2.277 MB / 1.116 GB, free: 64.56 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0006913/1.113, allocations: 76.02 kB / 1.116 GB, free: 64.5 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.001242/1.114, allocations: 1.426 MB / 1.117 GB, free: 63.24 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.001151/1.115, allocations: 0.8253 MB / 1.118 GB, free: 62.53 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001975/1.115, allocations: 43.34 kB / 1.118 GB, free: 62.5 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001327/1.115, allocations: 400 kB / 1.118 GB, free: 62.12 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004825/1.12, allocations: 2.107 MB / 1.12 GB, free: 60.39 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005187/1.125, allocations: 2.413 MB / 1.123 GB, free: 57.89 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00521/1.131, allocations: 2.288 MB / 1.125 GB, free: 55.55 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-05/1.131, allocations: 4 kB / 1.125 GB, free: 55.55 MB / 0.6823 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.01836/1.149, allocations: 6.881 MB / 1.132 GB, free: 48.57 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001871/1.149, allocations: 148.5 kB / 1.132 GB, free: 48.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.17e-05/1.149, allocations: 4 kB / 1.132 GB, free: 48.39 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01001/1.159, allocations: 2.955 MB / 1.135 GB, free: 45.43 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003026/1.163, allocations: 0.5657 MB / 1.135 GB, free: 44.87 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03266/1.195, allocations: 17.31 MB / 1.152 GB, free: 27.36 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005124/1.2, allocations: 423.5 kB / 1.153 GB, free: 26.95 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005464/1.201, allocations: 87.97 kB / 1.153 GB, free: 26.86 MB / 0.6823 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.001913/1.203, allocations: 0.7066 MB / 1.153 GB, free: 26.15 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000882/1.204, allocations: 324.2 kB / 1.154 GB, free: 25.83 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000697/1.204, allocations: 392.1 kB / 1.154 GB, free: 25.44 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.622e-05/1.205, allocations: 30.95 kB / 1.154 GB, free: 25.41 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.87e-05/1.205, allocations: 8 kB / 1.154 GB, free: 25.4 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.752e-05/1.205, allocations: 11.95 kB / 1.154 GB, free: 25.39 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005137/1.21, allocations: 3.629 MB / 1.158 GB, free: 21.76 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.596e-05/1.21, allocations: 0 / 1.158 GB, free: 21.76 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0026/1.212, allocations: 0.5032 MB / 1.158 GB, free: 21.25 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009057/1.221, allocations: 2.865 MB / 1.161 GB, free: 18.38 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005116/1.222, allocations: 55.97 kB / 1.161 GB, free: 18.33 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03202/1.254, allocations: 17.11 MB / 1.178 GB, free: 0.957 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/1.254, allocations: 0 / 1.178 GB, free: 0.957 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01929/1.273, allocations: 6.531 MB / 1.184 GB, free: 10.39 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002059/1.276, allocations: 0.6923 MB / 1.185 GB, free: 9.68 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007443/1.276, allocations: 47.98 kB / 1.185 GB, free: 9.633 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00376/1.28, allocations: 414.4 kB / 1.185 GB, free: 9.23 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0013/1.281, allocations: 366.6 kB / 1.186 GB, free: 8.875 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002636/1.282, allocations: 67.97 kB / 1.186 GB, free: 8.809 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.002494/1.284, allocations: 1.517 MB / 1.187 GB, free: 7.293 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.2e-07/1.284, allocations: 0 / 1.187 GB, free: 7.293 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.003741/1.288, allocations: 1.043 MB / 1.188 GB, free: 6.25 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.01945/1.307, allocations: 7.152 MB / 1.195 GB, free: 15.05 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.02434/1.332, allocations: 6.825 MB / 1.202 GB, free: 8.133 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 9.168e-06/1.332, allocations: 0 / 1.202 GB, free: 8.133 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.01718/1.349, allocations: 4.245 MB / 1.206 GB, free: 3.855 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006792/1.356, allocations: 1.044 MB / 1.207 GB, free: 2.832 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0647/1.421, allocations: 27.15 MB / 1.233 GB, free: 6.211 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002468/1.423, allocations: 2.234 MB / 1.236 GB, free: 3.941 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.002811/1.426, allocations: 0.5138 MB / 1.236 GB, free: 3.422 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00182/1.428, allocations: 1.327 MB / 1.237 GB, free: 2.094 MB / 0.7448 GB Notification: Performance of SimCode: time 7.21e-07/1.428, allocations: 0 / 1.237 GB, free: 2.094 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1863/1.614, allocations: 96.57 MB / 1.332 GB, free: 2.387 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002774/1.614, allocations: 236 kB / 1.332 GB, free: 2.145 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.052/7.666, allocations: 0 / 1.332 GB, free: 2.145 MB / 0.8386 GB (rm -f Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Electrical_DC_Lines_Examples_DCLinesLinearized_fmu --startTime=0 --stopTime=4000 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Electrical_DC_Lines_Examples_DCLinesLinearized.fmu > Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe 2>&1)