Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007867/0.0007867, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008108/0.0008108, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8863/0.8863, allocations: 177.1 MB / 202.8 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.782/1.782, allocations: 389 MB / 0.633 GB, free: 12.7 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized,fileNamePrefix="Buildings_latest_Buildings_Electrical_DC_Lines_Examples_DCLinesLinearized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized,fileNamePrefix="Buildings_latest_Buildings_Electrical_DC_Lines_Examples_DCLinesLinearized",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.644e-06/1.644e-06, allocations: 0 / 0.9997 GB, free: 13.49 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.116e-05/2.28e-05, allocations: 2.281 kB / 0.9997 GB, free: 13.48 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized): time 0.01601/0.01603, allocations: 20.93 MB / 1.02 GB, free: 8.48 MB / 0.9792 GB Notification: Performance of NFInst.instExpressions: time 0.01732/0.03335, allocations: 16.64 MB / 1.036 GB, free: 7.785 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002643/0.03599, allocations: 178.6 kB / 1.037 GB, free: 7.609 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.005309/0.0413, allocations: 4.178 MB / 1.041 GB, free: 3.422 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.4458/0.4871, allocations: 3.686 MB / 1.044 GB, free: 45.08 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.002687/0.4898, allocations: 1.323 MB / 1.046 GB, free: 45.08 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.005867/0.4957, allocations: 5.95 MB / 1.051 GB, free: 44.13 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003258/0.4989, allocations: 2.844 MB / 1.054 GB, free: 43.71 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004733/0.5036, allocations: 3.691 MB / 1.058 GB, free: 43.43 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002764/0.5064, allocations: 1.925 MB / 1.06 GB, free: 43.23 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 0.0005678/0.507, allocations: 364.1 kB / 1.06 GB, free: 43.23 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001508/0.5085, allocations: 0.9712 MB / 1.061 GB, free: 43.18 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0006842/0.5092, allocations: 1.258 MB / 1.062 GB, free: 42.99 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.001378/0.5105, allocations: 1.369 MB / 1.063 GB, free: 42.82 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.00426/0.5148, allocations: 5.197 MB / 1.069 GB, free: 41.84 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 6.331e-06/0.5148, allocations: 0 / 1.069 GB, free: 41.84 MB / 0.9948 GB Notification: Performance of FrontEnd: time 2.044e-06/0.5148, allocations: 0 / 1.069 GB, free: 41.84 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 0.0001271/0.5149, allocations: 0 / 1.069 GB, free: 41.84 MB / 0.9948 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.006583/0.5215, allocations: 4.599 MB / 1.073 GB, free: 39.3 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 5.326e-05/0.5216, allocations: 12.03 kB / 1.073 GB, free: 39.3 MB / 0.9948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003714/0.522, allocations: 366.9 kB / 1.073 GB, free: 39.09 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008268/0.5302, allocations: 3.283 MB / 1.077 GB, free: 38.71 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003892/0.5341, allocations: 2.161 MB / 1.079 GB, free: 37.6 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002467/0.5344, allocations: 464.3 kB / 1.079 GB, free: 37.21 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005732/0.5349, allocations: 239.4 kB / 1.079 GB, free: 37.13 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007523/0.5425, allocations: 5.354 MB / 1.085 GB, free: 34.72 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.809e-05/0.5425, allocations: 8.875 kB / 1.085 GB, free: 34.71 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002436/0.5427, allocations: 110.1 kB / 1.085 GB, free: 34.64 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001539/0.5429, allocations: 171 kB / 1.085 GB, free: 34.62 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008498/0.5514, allocations: 5.191 MB / 1.09 GB, free: 33.09 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0143/0.5657, allocations: 9.164 MB / 1.099 GB, free: 28.71 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005495/0.5712, allocations: 3.254 MB / 1.102 GB, free: 27.71 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002186/0.5734, allocations: 1.373 MB / 1.103 GB, free: 27.31 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001021/0.5735, allocations: 17.84 kB / 1.103 GB, free: 27.31 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00266/0.5761, allocations: 2.452 MB / 1.106 GB, free: 25.87 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=163): time 4.979e-06/0.5761, allocations: 1.062 kB / 1.106 GB, free: 25.87 MB / 0.9948 GB Notification: Performance of matching and sorting (n=250): time 0.06387/0.64, allocations: 27.54 MB / 1.133 GB, free: 19.79 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.499e-05/0.6401, allocations: 0.4899 MB / 1.133 GB, free: 19.22 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00238/0.6425, allocations: 2.316 MB / 1.135 GB, free: 18 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.000342/0.6428, allocations: 73.52 kB / 1.136 GB, free: 17.94 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007179/0.6435, allocations: 1.46 MB / 1.137 GB, free: 16.66 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005237/0.6441, allocations: 0.8519 MB / 1.138 GB, free: 15.92 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005738/0.6446, allocations: 415.7 kB / 1.138 GB, free: 15.7 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 2.228e-05/0.6447, allocations: 306.4 kB / 1.138 GB, free: 15.39 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002762/0.6474, allocations: 2.066 MB / 1.14 GB, free: 14.25 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002833/0.6503, allocations: 2.772 MB / 1.143 GB, free: 12.31 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005462/0.6557, allocations: 4.166 MB / 1.147 GB, free: 9.957 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.087e-06/0.6557, allocations: 4 kB / 1.147 GB, free: 9.953 MB / 0.9948 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.009875/0.6656, allocations: 6.618 MB / 1.154 GB, free: 6.367 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 5.773e-05/0.6657, allocations: 147.9 kB / 1.154 GB, free: 6.203 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.465e-05/0.6657, allocations: 13.98 kB / 1.154 GB, free: 6.195 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005132/0.6708, allocations: 2.918 MB / 1.157 GB, free: 4.484 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001457/0.6723, allocations: 489.3 kB / 1.157 GB, free: 4.023 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02257/0.6948, allocations: 18.28 MB / 1.175 GB, free: 1.605 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002779/0.6976, allocations: 327.6 kB / 1.175 GB, free: 1.285 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002684/0.6979, allocations: 87.97 kB / 1.175 GB, free: 1.199 MB / 1.01 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 (varLoad5.count,$PRE.varLoad5.count,varLoad5.T_start,$PRE.varLoad5.T_start,varLoad4.count,$PRE.varLoad4.count,varLoad4.T_start,$PRE.varLoad4.T_start,varLoad3.count,$PRE.varLoad3.count,varLoad3.T_start,$PRE.varLoad3.T_start,varLoad2.count,$PRE.varLoad2.count,varLoad2.T_start,$PRE.varLoad2.T_start,varLoad1.count,$PRE.varLoad1.count,varLoad1.T_start,$PRE.varLoad1.T_start,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * 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 {(8,64)} Notification: Performance of prepare postOptimizeDAE: time 0.00145/0.6993, allocations: 0.7044 MB / 1.176 GB, free: 0.5039 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005659/0.6999, allocations: 356.7 kB / 1.176 GB, free: 160 kB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004651/0.7004, allocations: 384.1 kB / 1.177 GB, free: 15.77 MB / 1.026 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.324e-05/0.7004, allocations: 24 kB / 1.177 GB, free: 15.75 MB / 1.026 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.758e-05/0.7004, allocations: 11.98 kB / 1.177 GB, free: 15.74 MB / 1.026 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.203e-05/0.7004, allocations: 11.95 kB / 1.177 GB, free: 15.73 MB / 1.026 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003416/0.7039, allocations: 3.041 MB / 1.18 GB, free: 12.69 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.226e-06/0.7039, allocations: 3.938 kB / 1.18 GB, free: 12.69 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00122/0.7051, allocations: 418 kB / 1.18 GB, free: 12.29 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005129/0.7102, allocations: 2.863 MB / 1.183 GB, free: 9.414 MB / 1.026 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001758/0.7104, allocations: 47.97 kB / 1.183 GB, free: 9.367 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0222/0.7326, allocations: 18.06 MB / 1.201 GB, free: 7.105 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.7326, allocations: 4 kB / 1.201 GB, free: 7.102 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01014/0.7427, allocations: 6.114 MB / 1.207 GB, free: 1.035 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001396/0.7441, allocations: 0.6381 MB / 1.207 GB, free: 404 kB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003487/0.7445, allocations: 44 kB / 1.207 GB, free: 360 kB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00156/0.746, allocations: 315.6 kB / 1.208 GB, free: 44 kB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008508/0.7469, allocations: 366.4 kB / 1.208 GB, free: 15.69 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000139/0.747, allocations: 71.66 kB / 1.208 GB, free: 15.62 MB / 1.057 GB Notification: Performance of sorting global known variables: time 0.001587/0.7486, allocations: 1.532 MB / 1.21 GB, free: 14.09 MB / 1.057 GB Notification: Performance of sort global known variables: time 8e-08/0.7486, allocations: 3.938 kB / 1.21 GB, free: 14.09 MB / 1.057 GB Notification: Performance of remove unused functions: time 0.00214/0.7507, allocations: 1.047 MB / 1.211 GB, free: 13.04 MB / 1.057 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.01026/0.761, allocations: 6.739 MB / 1.217 GB, free: 6.34 MB / 1.057 GB Notification: Performance of simCode: created initialization part: time 0.01235/0.7734, allocations: 6.45 MB / 1.224 GB, free: 15.81 MB / 1.073 GB Notification: Performance of simCode: created event and clocks part: time 5.61e-06/0.7734, allocations: 4 kB / 1.224 GB, free: 15.8 MB / 1.073 GB Notification: Performance of simCode: created simulation system equations: time 0.008531/0.7819, allocations: 3.926 MB / 1.227 GB, free: 11.88 MB / 1.073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003155/0.785, allocations: 1.142 MB / 1.228 GB, free: 10.79 MB / 1.073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04762/0.8327, allocations: 32.56 MB / 1.26 GB, free: 9.879 MB / 1.104 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001432/0.8341, allocations: 1.688 MB / 1.262 GB, free: 8.152 MB / 1.104 GB Notification: Performance of simCode: alias equations: time 0.001617/0.8357, allocations: 0.5019 MB / 1.262 GB, free: 7.645 MB / 1.104 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001306/0.837, allocations: 1.34 MB / 1.264 GB, free: 6.305 MB / 1.104 GB Notification: Performance of SimCode: time 1.453e-06/0.837, allocations: 3.938 kB / 1.264 GB, free: 6.301 MB / 1.104 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1187/0.9558, allocations: 106.8 MB / 1.368 GB, free: 13.2 MB / 1.214 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.61/11.57, allocations: 8 kB / 1.368 GB, free: 13.19 MB / 1.214 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe ; mkfifo Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe >> ../files/Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_DC_Lines_Examples_DCLinesLinearized_fmu --startTime=0 --stopTime=4000 --stepSize=1.6 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_DC_Lines_Examples_DCLinesLinearized.fmu > Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 15.714628716930747] Failed to read output from testmodel.py, exit status != 0: 11.706029830500484 11.713427202 11.19676905 Calling exit ...