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.803/1.803, allocations: 288.2 MB / 303.2 MB, free: 8.145 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.001172/0.001172, allocations: 187.3 kB / 371.8 MB, free: 10.28 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.509/1.509, allocations: 205.4 MB / 0.6305 GB, free: 9.941 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.001011/0.001011, allocations: 108.2 kB / 0.7439 GB, free: 5.859 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005785/0.0005788, allocations: 15.05 kB / 0.8668 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.304/0.3046, allocations: 115.3 MB / 0.9795 GB, free: 27.6 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized): time 0.02335/0.328, allocations: 19.17 MB / 0.9982 GB, free: 8.375 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.03027/0.3583, allocations: 16.06 MB / 1.014 GB, free: 8.277 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003974/0.3623, allocations: 91.44 kB / 1.014 GB, free: 8.188 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.003353/0.3657, allocations: 0.5509 MB / 1.014 GB, free: 7.633 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.01511/0.3809, allocations: 2.824 MB / 1.017 GB, free: 4.812 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.006188/0.3871, allocations: 0.945 MB / 1.018 GB, free: 3.871 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.01297/0.4001, allocations: 3.418 MB / 1.022 GB, free: 460 kB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004646/0.4048, allocations: 2.071 MB / 1.024 GB, free: 14.31 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005743/0.4105, allocations: 1.814 MB / 1.025 GB, free: 12.49 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006017/0.4166, allocations: 1.794 MB / 1.027 GB, free: 10.69 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.001188/0.4178, allocations: 180 kB / 1.027 GB, free: 10.51 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002705/0.4206, allocations: 487.4 kB / 1.028 GB, free: 10.04 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.001364/0.4219, allocations: 0.88 MB / 1.029 GB, free: 9.152 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.002309/0.4243, allocations: 0.6912 MB / 1.029 GB, free: 8.453 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.009675/0.434, allocations: 3.912 MB / 1.033 GB, free: 4.531 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 8.106e-06/0.4341, allocations: 0 / 1.033 GB, free: 4.531 MB / 0.6511 GB Notification: Performance of FrontEnd: time 4.439e-06/0.4341, allocations: 0 / 1.033 GB, free: 4.531 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0002855/0.4344, allocations: 0 / 1.033 GB, free: 4.531 MB / 0.6511 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.01695/0.4513, allocations: 4.097 MB / 1.037 GB, free: 332 kB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 8.319e-05/0.4514, allocations: 16 kB / 1.037 GB, free: 316 kB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002547/0.454, allocations: 358.2 kB / 1.037 GB, free: 15.95 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02717/0.4812, allocations: 3.409 MB / 1.041 GB, free: 12.53 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009042/0.4903, allocations: 1.991 MB / 1.043 GB, free: 10.47 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008192/0.4912, allocations: 465.7 kB / 1.043 GB, free: 9.953 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001725/0.493, allocations: 232 kB / 1.043 GB, free: 9.727 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02144/0.5145, allocations: 4.837 MB / 1.048 GB, free: 4.746 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.687e-05/0.5146, allocations: 0 / 1.048 GB, free: 4.746 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005604/0.5151, allocations: 99.98 kB / 1.048 GB, free: 4.648 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000352/0.5155, allocations: 172.8 kB / 1.048 GB, free: 4.477 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02218/0.5377, allocations: 5.308 MB / 1.054 GB, free: 15.15 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5688/1.107, allocations: 14.58 MB / 1.068 GB, free: 80.88 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01223/1.119, allocations: 3.669 MB / 1.071 GB, free: 80.62 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002255/1.119, allocations: 21.09 kB / 1.071 GB, free: 80.62 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005238/1.124, allocations: 1.912 MB / 1.073 GB, free: 80.01 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=163): time 5.12e-06/1.124, allocations: 0 / 1.073 GB, free: 80.01 MB / 0.6823 GB Notification: Performance of matching and sorting (n=250): time 0.1419/1.266, allocations: 34.1 MB / 1.107 GB, free: 71.15 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001611/1.266, allocations: 0.4933 MB / 1.107 GB, free: 70.57 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003526/1.27, allocations: 2.27 MB / 1.109 GB, free: 69.37 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0005344/1.271, allocations: 80.16 kB / 1.109 GB, free: 69.3 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.001169/1.272, allocations: 1.438 MB / 1.111 GB, free: 68.04 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.000983/1.273, allocations: 0.8161 MB / 1.112 GB, free: 67.34 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002947/1.273, allocations: 49.94 kB / 1.112 GB, free: 67.3 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001314/1.273, allocations: 393.6 kB / 1.112 GB, free: 66.93 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005105/1.278, allocations: 2.11 MB / 1.114 GB, free: 65.93 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005423/1.284, allocations: 2.397 MB / 1.116 GB, free: 64.63 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005198/1.289, allocations: 2.292 MB / 1.119 GB, free: 62.99 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.828e-06/1.289, allocations: 8 kB / 1.119 GB, free: 62.98 MB / 0.6823 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.01779/1.307, allocations: 6.873 MB / 1.125 GB, free: 56.02 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001155/1.307, allocations: 152.5 kB / 1.125 GB, free: 55.84 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.84e-05/1.307, allocations: 8.344 kB / 1.125 GB, free: 55.83 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009491/1.316, allocations: 2.942 MB / 1.128 GB, free: 52.88 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00287/1.319, allocations: 0.5734 MB / 1.129 GB, free: 52.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03617/1.356, allocations: 18.14 MB / 1.147 GB, free: 33.98 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004715/1.36, allocations: 415.6 kB / 1.147 GB, free: 33.57 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005046/1.361, allocations: 93.61 kB / 1.147 GB, free: 33.48 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.001816/1.363, allocations: 0.7102 MB / 1.148 GB, free: 32.77 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007955/1.364, allocations: 332.1 kB / 1.148 GB, free: 32.44 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008759/1.364, allocations: 388.1 kB / 1.148 GB, free: 32.05 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.748e-05/1.364, allocations: 27.95 kB / 1.148 GB, free: 32.02 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.099e-05/1.364, allocations: 8 kB / 1.148 GB, free: 32.02 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.987e-05/1.365, allocations: 11.95 kB / 1.148 GB, free: 32 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005219/1.37, allocations: 3.638 MB / 1.152 GB, free: 28.39 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.178e-05/1.37, allocations: 0 / 1.152 GB, free: 28.39 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002474/1.372, allocations: 0.4993 MB / 1.153 GB, free: 27.89 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009296/1.382, allocations: 2.861 MB / 1.155 GB, free: 25.01 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000552/1.382, allocations: 51.97 kB / 1.155 GB, free: 24.96 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03708/1.419, allocations: 17.94 MB / 1.173 GB, free: 6.766 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/1.419, allocations: 3.984 kB / 1.173 GB, free: 6.762 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01761/1.437, allocations: 6.526 MB / 1.179 GB, free: 204 kB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002377/1.439, allocations: 0.7001 MB / 1.18 GB, free: 15.47 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001126/1.441, allocations: 44 kB / 1.18 GB, free: 15.43 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004005/1.445, allocations: 415.6 kB / 1.18 GB, free: 15.02 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001318/1.446, allocations: 362.6 kB / 1.181 GB, free: 14.67 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002429/1.446, allocations: 75.97 kB / 1.181 GB, free: 14.6 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.002572/1.449, allocations: 1.509 MB / 1.182 GB, free: 13.09 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.81e-07/1.449, allocations: 2.625 kB / 1.182 GB, free: 13.09 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.003295/1.452, allocations: 1.043 MB / 1.183 GB, free: 12.05 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.01912/1.471, allocations: 7.159 MB / 1.19 GB, free: 4.852 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.02406/1.495, allocations: 6.82 MB / 1.197 GB, free: 13.94 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.335e-05/1.495, allocations: 4 kB / 1.197 GB, free: 13.93 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.01815/1.514, allocations: 4.228 MB / 1.201 GB, free: 9.68 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004594/1.518, allocations: 1.006 MB / 1.202 GB, free: 8.699 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06471/1.583, allocations: 30.53 MB / 1.232 GB, free: 8.664 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002578/1.586, allocations: 2.293 MB / 1.234 GB, free: 6.336 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.002814/1.588, allocations: 0.5099 MB / 1.235 GB, free: 5.82 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001971/1.59, allocations: 1.331 MB / 1.236 GB, free: 4.488 MB / 0.7448 GB Notification: Performance of SimCode: time 1.082e-06/1.59, allocations: 0 / 1.236 GB, free: 4.488 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1642/1.755, allocations: 96.49 MB / 1.33 GB, free: 4.855 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001889/1.755, allocations: 230.3 kB / 1.33 GB, free: 4.613 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.682/7.436, allocations: 0 / 1.33 GB, free: 4.613 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)