Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001297/0.001297, allocations: 110.4 kB / 18.94 MB, free: 2.949 MB / 14.72 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.001452/0.001452, allocations: 218.5 kB / 22.26 MB, free: 5.121 MB / 14.72 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 1.478/1.478, allocations: 230.6 MB / 256 MB, free: 7.984 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.901/2.901, allocations: 476.7 MB / 0.7707 GB, free: 4.23 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_Buildings_Electrical_DC_Lines_Examples_DCLinesLinearized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized,fileNamePrefix="Buildings_11_Buildings_Electrical_DC_Lines_Examples_DCLinesLinearized",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002084/0.002084, allocations: 67.42 kB / 1.117 GB, free: 40.39 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3684/0.3705, allocations: 169.9 MB / 1.283 GB, free: 11.69 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized): time 0.03262/0.4031, allocations: 23.5 MB / 1.306 GB, free: 4.102 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.03102/0.4341, allocations: 18.18 MB / 1.324 GB, free: 1.867 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003079/0.4372, allocations: 170.7 kB / 1.324 GB, free: 1.699 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.01227/0.4495, allocations: 4.353 MB / 1.329 GB, free: 13.34 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.01292/0.4624, allocations: 3.591 MB / 1.332 GB, free: 9.738 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.003833/0.4662, allocations: 1.331 MB / 1.333 GB, free: 8.41 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.009576/0.4758, allocations: 5.784 MB / 1.339 GB, free: 2.609 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006005/0.4818, allocations: 2.873 MB / 1.342 GB, free: 15.66 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006263/0.4881, allocations: 2.827 MB / 1.345 GB, free: 12.82 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005303/0.4934, allocations: 2.319 MB / 1.347 GB, free: 10.49 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.001536/0.4949, allocations: 364 kB / 1.347 GB, free: 10.14 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003422/0.4983, allocations: 1.053 MB / 1.348 GB, free: 9.082 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.002204/0.5005, allocations: 1.219 MB / 1.349 GB, free: 7.859 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.004915/0.5054, allocations: 1.986 MB / 1.351 GB, free: 5.863 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.01014/0.5156, allocations: 5.152 MB / 1.356 GB, free: 0.6914 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 8.807e-06/0.5156, allocations: 0 / 1.356 GB, free: 0.6914 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.904e-06/0.5156, allocations: 0 / 1.356 GB, free: 0.6914 MB / 1.045 GB Notification: Performance of Transformations before backend: time 0.0002013/0.5158, allocations: 0 / 1.356 GB, free: 0.6914 MB / 1.045 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.01431/0.5301, allocations: 4.643 MB / 1.361 GB, free: 11.95 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.891e-05/0.5301, allocations: 8.031 kB / 1.361 GB, free: 11.94 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00118/0.5313, allocations: 358.3 kB / 1.361 GB, free: 11.58 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01717/0.5485, allocations: 3.283 MB / 1.364 GB, free: 8.293 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005783/0.5543, allocations: 2.155 MB / 1.367 GB, free: 6.066 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004625/0.5547, allocations: 477.9 kB / 1.367 GB, free: 5.535 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005415/0.5553, allocations: 236 kB / 1.367 GB, free: 5.305 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01162/0.5669, allocations: 4.706 MB / 1.372 GB, free: 0.5039 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.936e-05/0.5669, allocations: 0 / 1.372 GB, free: 0.5039 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003214/0.5673, allocations: 104 kB / 1.372 GB, free: 412 kB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003099/0.5676, allocations: 180.8 kB / 1.372 GB, free: 228 kB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01434/0.5819, allocations: 5.191 MB / 1.377 GB, free: 11.02 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02743/0.6093, allocations: 14.35 MB / 1.391 GB, free: 11.49 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01067/0.62, allocations: 3.265 MB / 1.394 GB, free: 8.215 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003911/0.6239, allocations: 1.366 MB / 1.396 GB, free: 6.852 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000169/0.6241, allocations: 25.3 kB / 1.396 GB, free: 6.828 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004756/0.6289, allocations: 1.786 MB / 1.397 GB, free: 4.973 MB / 1.092 GB Notification: Performance of pre-optimization done (n=163): time 4.759e-06/0.6289, allocations: 4 kB / 1.397 GB, free: 4.969 MB / 1.092 GB Notification: Performance of matching and sorting (n=250): time 0.1306/0.7595, allocations: 27.54 MB / 1.424 GB, free: 9.375 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003198/0.7598, allocations: 0.4889 MB / 1.425 GB, free: 8.777 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003865/0.7637, allocations: 2.3 MB / 1.427 GB, free: 6.465 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 0.0004214/0.7641, allocations: 77.7 kB / 1.427 GB, free: 6.383 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.001446/0.7655, allocations: 1.448 MB / 1.429 GB, free: 4.922 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.001086/0.7666, allocations: 0.8714 MB / 1.429 GB, free: 4.043 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001019/0.7676, allocations: 416.5 kB / 1.43 GB, free: 3.629 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001331/0.7678, allocations: 305.1 kB / 1.43 GB, free: 3.328 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00543/0.7732, allocations: 1.929 MB / 1.432 GB, free: 1.395 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005675/0.7789, allocations: 2.235 MB / 1.434 GB, free: 15.07 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01091/0.7898, allocations: 4.158 MB / 1.438 GB, free: 10.78 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.253e-05/0.7898, allocations: 4 kB / 1.438 GB, free: 10.78 MB / 1.139 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.02014/0.8099, allocations: 6.478 MB / 1.445 GB, free: 4.203 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001494/0.8101, allocations: 148.5 kB / 1.445 GB, free: 4.027 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.172e-05/0.8101, allocations: 8 kB / 1.445 GB, free: 4.02 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01082/0.8209, allocations: 2.925 MB / 1.448 GB, free: 1.098 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003104/0.824, allocations: 491.2 kB / 1.448 GB, free: 0.6172 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0453/0.8693, allocations: 18.65 MB / 1.466 GB, free: 13.76 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004036/0.8734, allocations: 323.6 kB / 1.467 GB, free: 13.45 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004679/0.8738, allocations: 87.97 kB / 1.467 GB, free: 13.36 MB / 1.17 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.001902/0.8757, allocations: 0.7141 MB / 1.467 GB, free: 12.64 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008475/0.8766, allocations: 349.9 kB / 1.468 GB, free: 12.29 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001001/0.8776, allocations: 380.1 kB / 1.468 GB, free: 11.91 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.602e-05/0.8776, allocations: 27.98 kB / 1.468 GB, free: 11.89 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-05/0.8777, allocations: 12 kB / 1.468 GB, free: 11.88 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.119e-05/0.8777, allocations: 11.95 kB / 1.468 GB, free: 11.86 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006085/0.8838, allocations: 3.603 MB / 1.472 GB, free: 8.215 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.576e-05/0.8838, allocations: 0 / 1.472 GB, free: 8.215 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00258/0.8864, allocations: 423.2 kB / 1.472 GB, free: 7.801 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01064/0.897, allocations: 2.867 MB / 1.475 GB, free: 4.926 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005072/0.8975, allocations: 55.95 kB / 1.475 GB, free: 4.871 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04465/0.9422, allocations: 18.42 MB / 1.493 GB, free: 2.207 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.736e-06/0.9422, allocations: 0 / 1.493 GB, free: 2.207 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0191/0.9613, allocations: 6.116 MB / 1.499 GB, free: 12.06 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00215/0.9634, allocations: 0.6304 MB / 1.499 GB, free: 11.43 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008002/0.9642, allocations: 55.88 kB / 1.499 GB, free: 11.37 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003393/0.9676, allocations: 319.6 kB / 1.5 GB, free: 11.06 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001232/0.9689, allocations: 354.5 kB / 1.5 GB, free: 10.71 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002496/0.9691, allocations: 79.97 kB / 1.5 GB, free: 10.63 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.00261/0.9717, allocations: 1.532 MB / 1.502 GB, free: 9.102 MB / 1.201 GB Notification: Performance of sort global known variables: time 8e-08/0.9717, allocations: 0 / 1.502 GB, free: 9.102 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.00306/0.9748, allocations: 1.047 MB / 1.503 GB, free: 8.055 MB / 1.201 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.01914/0.9939, allocations: 6.737 MB / 1.509 GB, free: 1.277 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.02391/1.018, allocations: 6.313 MB / 1.515 GB, free: 10.87 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 1.267e-05/1.018, allocations: 4 kB / 1.515 GB, free: 10.86 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.01786/1.036, allocations: 3.923 MB / 1.519 GB, free: 6.918 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005601/1.041, allocations: 1.139 MB / 1.52 GB, free: 5.82 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08077/1.122, allocations: 31.83 MB / 1.551 GB, free: 5.508 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002819/1.125, allocations: 2.231 MB / 1.554 GB, free: 3.242 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.002259/1.127, allocations: 0.5058 MB / 1.554 GB, free: 2.73 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002247/1.129, allocations: 1.339 MB / 1.555 GB, free: 1.391 MB / 1.248 GB Notification: Performance of SimCode: time 1.492e-06/1.129, allocations: 0 / 1.555 GB, free: 1.391 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8892/2.019, allocations: 105.8 MB / 1.659 GB, free: 273.7 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.15/23.17, allocations: 6.094 kB / 1.659 GB, free: 273.7 MB / 1.295 GB " [Timeout remaining time 276] (rm -f Buildings_11_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe ; mkfifo Buildings_11_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe >> ../files/Buildings_11_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized_res.mat --tempDir=temp_Buildings_11_Buildings_Electrical_DC_Lines_Examples_DCLinesLinearized_fmu --startTime=0 --stopTime=4000 --stepSize=1.6 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Electrical_DC_Lines_Examples_DCLinesLinearized.fmu > Buildings_11_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 29.972614950034767] Failed to read output from testmodel.py, exit status != 0: 23.900001673959196 23.35624748 22.836827093 Calling exit ...