Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0007941/0.0007941, 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.0008797/0.0008797, 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.8932/0.8932, allocations: 177.1 MB / 202.8 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.745/1.745, allocations: 377.8 MB / 0.6221 GB, free: 8.652 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/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_12_Buildings_Electrical_DC_Lines_Examples_DCLinesLinearized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized,fileNamePrefix="Buildings_12_Buildings_Electrical_DC_Lines_Examples_DCLinesLinearized",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.332e-06/1.332e-06, allocations: 0 / 0.981 GB, free: 2.566 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.926e-05/2.059e-05, allocations: 2.281 kB / 0.981 GB, free: 2.562 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized): time 0.01609/0.01611, allocations: 20.93 MB / 1.001 GB, free: 13.56 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.01776/0.03387, allocations: 16.66 MB / 1.018 GB, free: 12.85 MB / 0.9792 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002997/0.03687, allocations: 170.7 kB / 1.018 GB, free: 12.68 MB / 0.9792 GB Notification: Performance of NFTyping.typeComponents: time 0.005957/0.04283, allocations: 4.179 MB / 1.022 GB, free: 8.496 MB / 0.9792 GB Notification: Performance of NFTyping.typeBindings: time 0.008448/0.05128, allocations: 3.691 MB / 1.026 GB, free: 4.793 MB / 0.9792 GB Notification: Performance of NFTyping.typeClassSections: time 0.002726/0.054, allocations: 1.314 MB / 1.027 GB, free: 3.48 MB / 0.9792 GB Notification: Performance of NFFlatten.flatten: time 0.006893/0.06089, allocations: 5.966 MB / 1.033 GB, free: 13.49 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004205/0.0651, allocations: 2.849 MB / 1.035 GB, free: 10.57 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006572/0.07167, allocations: 3.687 MB / 1.039 GB, free: 6.871 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003155/0.07483, allocations: 1.916 MB / 1.041 GB, free: 4.949 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 0.001049/0.07587, allocations: 371.9 kB / 1.041 GB, free: 4.586 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00211/0.07798, allocations: 0.9668 MB / 1.042 GB, free: 3.617 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.001313/0.0793, allocations: 1.261 MB / 1.043 GB, free: 2.352 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.002576/0.08187, allocations: 1.364 MB / 1.045 GB, free: 0.9844 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.4398/0.5217, allocations: 5.199 MB / 1.05 GB, free: 53.77 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 7.835e-06/0.5217, allocations: 0 / 1.05 GB, free: 53.77 MB / 0.9948 GB Notification: Performance of FrontEnd: time 2.264e-06/0.5217, allocations: 0 / 1.05 GB, free: 53.77 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 0.0001996/0.5219, allocations: 0 / 1.05 GB, free: 53.77 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.008858/0.5308, allocations: 4.599 MB / 1.054 GB, free: 51.79 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 5.004e-05/0.5308, allocations: 9.469 kB / 1.054 GB, free: 51.79 MB / 0.9948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008353/0.5317, allocations: 362.2 kB / 1.055 GB, free: 51.74 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007982/0.5396, allocations: 3.283 MB / 1.058 GB, free: 51.41 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004554/0.5442, allocations: 2.158 MB / 1.06 GB, free: 50.74 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002933/0.5445, allocations: 468.3 kB / 1.06 GB, free: 50.42 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001081/0.5456, allocations: 230 kB / 1.061 GB, free: 50.42 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008372/0.5539, allocations: 5.371 MB / 1.066 GB, free: 49.31 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.011e-05/0.554, allocations: 6.719 kB / 1.066 GB, free: 49.3 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002794/0.5543, allocations: 99.44 kB / 1.066 GB, free: 49.3 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001613/0.5544, allocations: 175.7 kB / 1.066 GB, free: 49.29 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008408/0.5628, allocations: 5.19 MB / 1.071 GB, free: 49.17 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01749/0.5803, allocations: 9.167 MB / 1.08 GB, free: 46.97 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006376/0.5867, allocations: 3.254 MB / 1.083 GB, free: 45.97 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002534/0.5892, allocations: 1.372 MB / 1.085 GB, free: 45.56 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001301/0.5894, allocations: 17.64 kB / 1.085 GB, free: 45.56 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003243/0.5926, allocations: 2.447 MB / 1.087 GB, free: 44.12 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=163): time 5.8e-06/0.5926, allocations: 0 / 1.087 GB, free: 44.12 MB / 0.9948 GB Notification: Performance of matching and sorting (n=250): time 0.07178/0.6644, allocations: 27.53 MB / 1.114 GB, free: 39.5 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001443/0.6645, allocations: 0.4925 MB / 1.114 GB, free: 38.93 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003166/0.6677, allocations: 2.316 MB / 1.117 GB, free: 38.06 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.0005657/0.6683, allocations: 74.94 kB / 1.117 GB, free: 38 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008603/0.6691, allocations: 1.46 MB / 1.118 GB, free: 36.86 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008222/0.6699, allocations: 0.8458 MB / 1.119 GB, free: 36.18 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006558/0.6706, allocations: 413 kB / 1.119 GB, free: 36 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 2.851e-05/0.6706, allocations: 310 kB / 1.12 GB, free: 35.7 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003248/0.6739, allocations: 2.066 MB / 1.122 GB, free: 34.95 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003662/0.6775, allocations: 2.772 MB / 1.124 GB, free: 33.45 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006727/0.6843, allocations: 4.16 MB / 1.129 GB, free: 31.73 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.628e-05/0.6843, allocations: 1.625 kB / 1.129 GB, free: 31.73 MB / 0.9948 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.01229/0.6966, allocations: 6.621 MB / 1.135 GB, free: 28.57 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 7.311e-05/0.6966, allocations: 151.5 kB / 1.135 GB, free: 28.41 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.506e-05/0.6967, allocations: 5.5 kB / 1.135 GB, free: 28.41 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005551/0.7022, allocations: 2.927 MB / 1.138 GB, free: 27.1 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001595/0.7038, allocations: 483.3 kB / 1.138 GB, free: 26.95 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02188/0.7257, allocations: 18.29 MB / 1.156 GB, free: 15.64 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002997/0.7287, allocations: 332.1 kB / 1.157 GB, free: 15.48 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003733/0.7291, allocations: 87.66 kB / 1.157 GB, free: 15.45 MB / 0.9948 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.001424/0.7305, allocations: 0.697 MB / 1.157 GB, free: 15 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005999/0.7311, allocations: 356 kB / 1.158 GB, free: 14.82 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004702/0.7316, allocations: 383.4 kB / 1.158 GB, free: 14.51 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.034e-05/0.7316, allocations: 27.81 kB / 1.158 GB, free: 14.5 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.328e-05/0.7316, allocations: 11.91 kB / 1.158 GB, free: 14.5 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.173e-05/0.7316, allocations: 11.95 kB / 1.158 GB, free: 14.49 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003636/0.7353, allocations: 3.037 MB / 1.161 GB, free: 12.67 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.075e-05/0.7353, allocations: 0 / 1.161 GB, free: 12.67 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001313/0.7366, allocations: 420.7 kB / 1.162 GB, free: 12.53 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005234/0.7418, allocations: 2.865 MB / 1.164 GB, free: 9.863 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004241/0.7423, allocations: 51.97 kB / 1.164 GB, free: 9.812 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02229/0.7645, allocations: 18.06 MB / 1.182 GB, free: 7.551 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.484e-06/0.7646, allocations: 0 / 1.182 GB, free: 7.551 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01164/0.7762, allocations: 6.117 MB / 1.188 GB, free: 1.477 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001963/0.7782, allocations: 0.6381 MB / 1.189 GB, free: 0.8359 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007028/0.7789, allocations: 44 kB / 1.189 GB, free: 0.793 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002299/0.7812, allocations: 315.6 kB / 1.189 GB, free: 496 kB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001011/0.7822, allocations: 362.5 kB / 1.189 GB, free: 136 kB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002067/0.7824, allocations: 73.88 kB / 1.189 GB, free: 64 kB / 1.01 GB Notification: Performance of sorting global known variables: time 0.001958/0.7843, allocations: 1.535 MB / 1.191 GB, free: 14.53 MB / 1.026 GB Notification: Performance of sort global known variables: time 1.81e-07/0.7843, allocations: 0 / 1.191 GB, free: 14.53 MB / 1.026 GB Notification: Performance of remove unused functions: time 0.003416/0.7877, allocations: 1.043 MB / 1.192 GB, free: 13.49 MB / 1.026 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.0123/0.8, allocations: 6.752 MB / 1.199 GB, free: 6.781 MB / 1.026 GB Notification: Performance of simCode: created initialization part: time 0.01393/0.814, allocations: 6.45 MB / 1.205 GB, free: 240 kB / 1.026 GB Notification: Performance of simCode: created event and clocks part: time 9.007e-06/0.814, allocations: 4.562 kB / 1.205 GB, free: 236 kB / 1.026 GB Notification: Performance of simCode: created simulation system equations: time 0.009963/0.8239, allocations: 3.925 MB / 1.209 GB, free: 12.31 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004416/0.8284, allocations: 1.14 MB / 1.21 GB, free: 11.23 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05515/0.8835, allocations: 32.57 MB / 1.242 GB, free: 10.33 MB / 1.073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002068/0.8856, allocations: 1.688 MB / 1.243 GB, free: 8.605 MB / 1.073 GB Notification: Performance of simCode: alias equations: time 0.001944/0.8875, allocations: 0.5057 MB / 1.244 GB, free: 8.094 MB / 1.073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001609/0.8891, allocations: 1.34 MB / 1.245 GB, free: 6.754 MB / 1.073 GB Notification: Performance of SimCode: time 1.333e-06/0.8891, allocations: 0 / 1.245 GB, free: 6.754 MB / 1.073 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1306/1.02, allocations: 106.8 MB / 1.349 GB, free: 13.86 MB / 1.182 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.62/11.64, allocations: 5.547 kB / 1.349 GB, free: 13.86 MB / 1.182 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe ; mkfifo Buildings_12_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe >> ../files/Buildings_12_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized_res.mat --tempDir=temp_Buildings_12_Buildings_Electrical_DC_Lines_Examples_DCLinesLinearized_fmu --startTime=0 --stopTime=4000 --stepSize=1.6 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Electrical_DC_Lines_Examples_DCLinesLinearized.fmu > Buildings_12_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 15.76303214021027] Failed to read output from testmodel.py, exit status != 0: 11.783659470267594 11.795617848 11.272117634 Calling exit ...