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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001639/0.001639, allocations: 103 kB / 16.45 MB, free: 6.457 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00189/0.00189, allocations: 199.6 kB / 19.41 MB, free: 3.645 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.463/1.463, allocations: 225.6 MB / 247.8 MB, free: 13.94 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.007/3.007, allocations: 497.2 MB / 0.7812 GB, free: 33.54 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.002494/0.002494, allocations: 68.61 kB / 1.134 GB, free: 33.7 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3646/0.3671, allocations: 173.9 MB / 1.304 GB, free: 1.535 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized): time 0.02863/0.3958, allocations: 22.93 MB / 1.326 GB, free: 10.52 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.02846/0.4242, allocations: 17.79 MB / 1.344 GB, free: 8.672 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003877/0.4281, allocations: 107.4 kB / 1.344 GB, free: 8.566 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.01149/0.4396, allocations: 4.22 MB / 1.348 GB, free: 4.336 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.01289/0.4525, allocations: 3.581 MB / 1.351 GB, free: 0.75 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.004251/0.4567, allocations: 1.312 MB / 1.353 GB, free: 15.44 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.009658/0.4664, allocations: 5.784 MB / 1.358 GB, free: 9.641 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004659/0.4711, allocations: 2.796 MB / 1.361 GB, free: 6.766 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004588/0.4756, allocations: 2.48 MB / 1.364 GB, free: 4.277 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004902/0.4805, allocations: 2.514 MB / 1.366 GB, free: 1.754 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0009848/0.4815, allocations: 372 kB / 1.366 GB, free: 1.391 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002695/0.4842, allocations: 1.053 MB / 1.367 GB, free: 344 kB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.001742/0.486, allocations: 1.23 MB / 1.369 GB, free: 15.1 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.003533/0.4895, allocations: 1.986 MB / 1.371 GB, free: 13.11 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.009023/0.4985, allocations: 5.195 MB / 1.376 GB, free: 7.891 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 7.865e-06/0.4985, allocations: 0 / 1.376 GB, free: 7.891 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.645e-06/0.4985, allocations: 0 / 1.376 GB, free: 7.891 MB / 1.076 GB Notification: Performance of Transformations before backend: time 0.0002272/0.4988, allocations: 0 / 1.376 GB, free: 7.891 MB / 1.076 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.01417/0.5129, allocations: 4.722 MB / 1.38 GB, free: 3.051 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 5.492e-05/0.513, allocations: 12.92 kB / 1.38 GB, free: 3.039 MB / 1.076 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006535/0.5136, allocations: 358.3 kB / 1.381 GB, free: 2.68 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01555/0.5292, allocations: 3.283 MB / 1.384 GB, free: 15.39 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006141/0.5353, allocations: 2.246 MB / 1.386 GB, free: 13.08 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005271/0.5359, allocations: 478 kB / 1.386 GB, free: 12.55 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000926/0.5368, allocations: 228 kB / 1.387 GB, free: 12.32 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01202/0.5488, allocations: 4.822 MB / 1.391 GB, free: 7.355 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.852e-05/0.5489, allocations: 4 kB / 1.391 GB, free: 7.352 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004155/0.5493, allocations: 104 kB / 1.391 GB, free: 7.25 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002256/0.5495, allocations: 168.8 kB / 1.392 GB, free: 7.082 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01401/0.5635, allocations: 5.202 MB / 1.397 GB, free: 1.863 MB / 1.092 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03033/0.5939, allocations: 14.42 MB / 1.411 GB, free: 2.277 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01035/0.6042, allocations: 3.265 MB / 1.414 GB, free: 15 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004008/0.6082, allocations: 1.366 MB / 1.415 GB, free: 13.63 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002249/0.6084, allocations: 29.28 kB / 1.415 GB, free: 13.6 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004659/0.6131, allocations: 1.796 MB / 1.417 GB, free: 11.74 MB / 1.123 GB Notification: Performance of pre-optimization done (n=163): time 5.11e-06/0.6131, allocations: 4 kB / 1.417 GB, free: 11.73 MB / 1.123 GB Notification: Performance of matching and sorting (n=250): time 0.1238/0.7369, allocations: 28.2 MB / 1.445 GB, free: 15.32 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003298/0.7372, allocations: 0.4967 MB / 1.445 GB, free: 14.72 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004438/0.7417, allocations: 2.296 MB / 1.447 GB, free: 12.41 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 0.0005215/0.7422, allocations: 77.7 kB / 1.447 GB, free: 12.33 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.001526/0.7437, allocations: 1.452 MB / 1.449 GB, free: 10.86 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.001198/0.7449, allocations: 0.8676 MB / 1.45 GB, free: 9.988 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00128/0.7462, allocations: 416.5 kB / 1.45 GB, free: 9.574 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001448/0.7464, allocations: 305.1 kB / 1.45 GB, free: 9.273 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00533/0.7517, allocations: 1.929 MB / 1.452 GB, free: 7.34 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005732/0.7574, allocations: 2.231 MB / 1.454 GB, free: 5.023 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01105/0.7685, allocations: 4.158 MB / 1.459 GB, free: 0.7305 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.955e-05/0.7685, allocations: 4 kB / 1.459 GB, free: 0.7266 MB / 1.154 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.02029/0.7888, allocations: 6.475 MB / 1.465 GB, free: 10.16 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001671/0.7889, allocations: 144.5 kB / 1.465 GB, free: 9.984 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.642e-05/0.789, allocations: 11.98 kB / 1.465 GB, free: 9.973 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01174/0.8007, allocations: 2.934 MB / 1.468 GB, free: 7.031 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003269/0.804, allocations: 491.2 kB / 1.468 GB, free: 6.551 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04577/0.8498, allocations: 18.86 MB / 1.487 GB, free: 3.441 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004212/0.854, allocations: 315.6 kB / 1.487 GB, free: 3.133 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006346/0.8546, allocations: 87.97 kB / 1.487 GB, free: 3.047 MB / 1.186 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.002332/0.8569, allocations: 0.7143 MB / 1.488 GB, free: 2.32 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001099/0.858, allocations: 345.9 kB / 1.488 GB, free: 1.98 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001061/0.8591, allocations: 384.1 kB / 1.489 GB, free: 1.598 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.864e-05/0.8591, allocations: 24 kB / 1.489 GB, free: 1.574 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.349e-05/0.8592, allocations: 12 kB / 1.489 GB, free: 1.562 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.432e-05/0.8592, allocations: 11.95 kB / 1.489 GB, free: 1.551 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007041/0.8663, allocations: 3.632 MB / 1.492 GB, free: 13.86 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.985e-05/0.8663, allocations: 0 / 1.492 GB, free: 13.86 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002638/0.8689, allocations: 423.2 kB / 1.493 GB, free: 13.45 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01064/0.8796, allocations: 2.872 MB / 1.495 GB, free: 10.56 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000604/0.8802, allocations: 47.97 kB / 1.495 GB, free: 10.52 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04271/0.9229, allocations: 18.63 MB / 1.514 GB, free: 7.594 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.9229, allocations: 4 kB / 1.514 GB, free: 7.59 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01818/0.9411, allocations: 6.116 MB / 1.52 GB, free: 1.445 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002432/0.9435, allocations: 0.7173 MB / 1.52 GB, free: 0.707 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008656/0.9444, allocations: 51.92 kB / 1.52 GB, free: 0.6562 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003538/0.9479, allocations: 307.6 kB / 1.521 GB, free: 364 kB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001322/0.9492, allocations: 354.7 kB / 1.521 GB, free: 4 kB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002613/0.9495, allocations: 67.97 kB / 1.521 GB, free: 15.94 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.002568/0.9521, allocations: 1.536 MB / 1.522 GB, free: 14.4 MB / 1.232 GB Notification: Performance of sort global known variables: time 8e-08/0.9521, allocations: 0 / 1.522 GB, free: 14.4 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.003327/0.9554, allocations: 1.043 MB / 1.523 GB, free: 13.36 MB / 1.232 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.01887/0.9743, allocations: 6.751 MB / 1.53 GB, free: 6.574 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.02297/0.9972, allocations: 6.305 MB / 1.536 GB, free: 180 kB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 8.706e-06/0.9972, allocations: 0 / 1.536 GB, free: 180 kB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.01678/1.014, allocations: 3.939 MB / 1.54 GB, free: 12.2 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005078/1.019, allocations: 1.129 MB / 1.541 GB, free: 11.1 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07871/1.098, allocations: 31.82 MB / 1.572 GB, free: 10.82 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002658/1.1, allocations: 2.231 MB / 1.574 GB, free: 8.559 MB / 1.279 GB Notification: Performance of simCode: alias equations: time 0.002444/1.103, allocations: 0.5021 MB / 1.575 GB, free: 8.051 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002073/1.105, allocations: 1.347 MB / 1.576 GB, free: 6.703 MB / 1.279 GB Notification: Performance of SimCode: time 1.573e-06/1.105, allocations: 0 / 1.576 GB, free: 6.703 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9165/2.022, allocations: 103.3 MB / 1.677 GB, free: 261.1 MB / 1.311 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.52/21.54, allocations: 9.016 kB / 1.677 GB, free: 261.1 MB / 1.311 GB " [Timeout remaining time 278] (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: 28.262519658077508] Failed to read output from testmodel.py, exit status != 0: 21.692742560990155 21.70240145 21.201678837 Calling exit ...