Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLine.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.001646/0.001646, allocations: 109.4 kB / 16.46 MB, free: 6.035 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.001942/0.001942, allocations: 191.8 kB / 19.41 MB, free: 3.539 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.4/1.4, allocations: 225.6 MB / 247.8 MB, free: 13.93 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.177/3.177, allocations: 497.2 MB / 0.7811 GB, free: 33.79 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.DCLine,fileNamePrefix="Buildings_latest_Buildings_Electrical_DC_Lines_Examples_DCLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.DC.Lines.Examples.DCLine,fileNamePrefix="Buildings_latest_Buildings_Electrical_DC_Lines_Examples_DCLine",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001852/0.001852, allocations: 63.2 kB / 1.134 GB, free: 33.69 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.334/0.3359, allocations: 173.9 MB / 1.304 GB, free: 1.594 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLine): time 0.009682/0.3456, allocations: 6.368 MB / 1.31 GB, free: 11.2 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.007492/0.3531, allocations: 4.591 MB / 1.315 GB, free: 6.59 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005776/0.3536, allocations: 23.88 kB / 1.315 GB, free: 6.566 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.002604/0.3562, allocations: 0.9296 MB / 1.316 GB, free: 5.637 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.002152/0.3584, allocations: 0.7772 MB / 1.316 GB, free: 4.855 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007718/0.3592, allocations: 330.7 kB / 1.317 GB, free: 4.535 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.001474/0.3606, allocations: 1.14 MB / 1.318 GB, free: 3.391 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008081/0.3614, allocations: 0.5483 MB / 1.318 GB, free: 2.836 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006646/0.3621, allocations: 490.3 kB / 1.319 GB, free: 2.355 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008131/0.3629, allocations: 0.5176 MB / 1.319 GB, free: 1.836 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0001086/0.363, allocations: 75.94 kB / 1.319 GB, free: 1.762 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005605/0.3636, allocations: 291.5 kB / 1.32 GB, free: 1.477 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0002575/0.3639, allocations: 259.1 kB / 1.32 GB, free: 1.223 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0004237/0.3643, allocations: 413.9 kB / 1.32 GB, free: 0.8164 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.00133/0.3656, allocations: 1.082 MB / 1.321 GB, free: 15.73 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 6.512e-06/0.3656, allocations: 4 kB / 1.321 GB, free: 15.73 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.804e-06/0.3656, allocations: 0 / 1.321 GB, free: 15.73 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.404e-05/0.3656, allocations: 0 / 1.321 GB, free: 15.73 MB / 1.029 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 142 * Number of variables: 142 Notification: Performance of Generate backend data structure: time 0.002112/0.3677, allocations: 1.129 MB / 1.322 GB, free: 14.55 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.362e-05/0.3678, allocations: 8.922 kB / 1.322 GB, free: 14.54 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001355/0.3679, allocations: 106.6 kB / 1.323 GB, free: 14.43 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003038/0.371, allocations: 0.6324 MB / 1.323 GB, free: 13.79 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001095/0.3721, allocations: 0.578 MB / 1.324 GB, free: 13.17 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.924e-05/0.3721, allocations: 37.69 kB / 1.324 GB, free: 13.13 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.579e-05/0.3722, allocations: 55.92 kB / 1.324 GB, free: 13.08 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001992/0.3742, allocations: 1.033 MB / 1.325 GB, free: 12 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.602e-05/0.3742, allocations: 0 / 1.325 GB, free: 12 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.748e-05/0.3743, allocations: 24 kB / 1.325 GB, free: 11.98 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.336e-05/0.3743, allocations: 49.23 kB / 1.325 GB, free: 11.93 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002224/0.3765, allocations: 1.004 MB / 1.326 GB, free: 10.93 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004516/0.3811, allocations: 3.491 MB / 1.329 GB, free: 7.129 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001535/0.3826, allocations: 490.3 kB / 1.33 GB, free: 6.641 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005218/0.3831, allocations: 216.7 kB / 1.33 GB, free: 6.426 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.301e-05/0.3832, allocations: 4 kB / 1.33 GB, free: 6.422 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.157e-05/0.3832, allocations: 34.56 kB / 1.33 GB, free: 6.379 MB / 1.029 GB Notification: Performance of pre-optimization done (n=31): time 3.467e-06/0.3832, allocations: 3.984 kB / 1.33 GB, free: 6.375 MB / 1.029 GB Notification: Performance of matching and sorting (n=43): time 0.007148/0.3903, allocations: 2.096 MB / 1.332 GB, free: 4.234 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.425e-05/0.3904, allocations: 55.41 kB / 1.332 GB, free: 4.168 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007034/0.3911, allocations: 0.5705 MB / 1.333 GB, free: 3.586 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 4.508e-05/0.3911, allocations: 29.7 kB / 1.333 GB, free: 3.551 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002789/0.3914, allocations: 372.8 kB / 1.333 GB, free: 3.184 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.000143/0.3916, allocations: 154.7 kB / 1.333 GB, free: 3.031 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001671/0.3917, allocations: 94.14 kB / 1.333 GB, free: 2.934 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001974/0.3919, allocations: 378.7 kB / 1.334 GB, free: 2.555 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006569/0.3926, allocations: 266.9 kB / 1.334 GB, free: 2.289 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007409/0.3933, allocations: 369.8 kB / 1.334 GB, free: 1.883 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001401/0.3947, allocations: 0.6499 MB / 1.335 GB, free: 1.191 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.3947, allocations: 3.938 kB / 1.335 GB, free: 1.188 MB / 1.029 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.002651/0.3974, allocations: 0.9862 MB / 1.336 GB, free: 180 kB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.883e-05/0.3974, allocations: 5.406 kB / 1.336 GB, free: 176 kB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.518e-06/0.3974, allocations: 4 kB / 1.336 GB, free: 172 kB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001541/0.3989, allocations: 329.2 kB / 1.336 GB, free: 15.82 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006011/0.3995, allocations: 115.8 kB / 1.336 GB, free: 15.71 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008726/0.4083, allocations: 9.268 MB / 1.345 GB, free: 5.609 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006604/0.4089, allocations: 43.95 kB / 1.345 GB, free: 5.566 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.617e-05/0.409, allocations: 27.98 kB / 1.345 GB, free: 5.539 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009256/0.4099, allocations: 449 kB / 1.346 GB, free: 5.094 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007356/0.4106, allocations: 373.4 kB / 1.346 GB, free: 4.688 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001384/0.412, allocations: 0.6325 MB / 1.347 GB, free: 4.012 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.545e-06/0.412, allocations: 0 / 1.347 GB, free: 4.012 MB / 1.045 GB Notification: Performance of matching and sorting (n=59) (initialization_lambda0): time 0.002582/0.4146, allocations: 0.9536 MB / 1.348 GB, free: 3.031 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.606e-05/0.4146, allocations: 8 kB / 1.348 GB, free: 3.023 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.023e-05/0.4146, allocations: 11.98 kB / 1.348 GB, free: 3.012 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001256/0.4159, allocations: 293.3 kB / 1.348 GB, free: 2.707 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005803/0.4165, allocations: 115.8 kB / 1.348 GB, free: 2.594 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00852/0.425, allocations: 9.168 MB / 1.357 GB, free: 8.59 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006559/0.4256, allocations: 43.89 kB / 1.357 GB, free: 8.547 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.541e-05/0.4257, allocations: 23.98 kB / 1.357 GB, free: 8.523 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (47): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,2), (1,2), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0002396/0.426, allocations: 208.2 kB / 1.357 GB, free: 8.312 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001624/0.4261, allocations: 67.58 kB / 1.357 GB, free: 8.246 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001835/0.4263, allocations: 82.38 kB / 1.357 GB, free: 8.16 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.498e-06/0.4263, allocations: 8 kB / 1.358 GB, free: 8.152 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.279e-05/0.4263, allocations: 3.938 kB / 1.358 GB, free: 8.148 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.322e-06/0.4263, allocations: 3.984 kB / 1.358 GB, free: 8.145 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009772/0.4273, allocations: 0.657 MB / 1.358 GB, free: 7.438 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.649e-06/0.4273, allocations: 4 kB / 1.358 GB, free: 7.434 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00049/0.4278, allocations: 91.84 kB / 1.358 GB, free: 7.344 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001219/0.429, allocations: 296.9 kB / 1.359 GB, free: 7.035 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.207e-05/0.4291, allocations: 8 kB / 1.359 GB, free: 7.027 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008341/0.4374, allocations: 9.179 MB / 1.367 GB, free: 13 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.4374, allocations: 0 / 1.367 GB, free: 13 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002549/0.4399, allocations: 0.9408 MB / 1.368 GB, free: 12.03 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003797/0.4403, allocations: 188.6 kB / 1.369 GB, free: 11.82 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001057/0.4404, allocations: 8 kB / 1.369 GB, free: 11.82 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004981/0.4409, allocations: 43.89 kB / 1.369 GB, free: 11.77 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000136/0.4411, allocations: 43.88 kB / 1.369 GB, free: 11.73 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.295e-05/0.4411, allocations: 12 kB / 1.369 GB, free: 11.72 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0005543/0.4417, allocations: 403.1 kB / 1.369 GB, free: 11.33 MB / 1.076 GB Notification: Performance of sort global known variables: time 8e-08/0.4417, allocations: 0 / 1.369 GB, free: 11.33 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.001192/0.4428, allocations: 312 kB / 1.369 GB, free: 11.03 MB / 1.076 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (31): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,2), (1,2), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002892/0.4457, allocations: 1.502 MB / 1.371 GB, free: 9.48 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.004157/0.4499, allocations: 2.344 MB / 1.373 GB, free: 6.98 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/0.4499, allocations: 0 / 1.373 GB, free: 6.98 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.001558/0.4515, allocations: 0.9998 MB / 1.374 GB, free: 5.902 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001156/0.4526, allocations: 239 kB / 1.374 GB, free: 5.68 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01235/0.465, allocations: 6.327 MB / 1.381 GB, free: 15.15 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007691/0.4657, allocations: 0.9821 MB / 1.381 GB, free: 14.14 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.0005854/0.4663, allocations: 157.3 kB / 1.382 GB, free: 13.99 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000348/0.4667, allocations: 231.4 kB / 1.382 GB, free: 13.77 MB / 1.092 GB Notification: Performance of SimCode: time 9.52e-07/0.4667, allocations: 0 / 1.382 GB, free: 13.77 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09387/0.5605, allocations: 20.91 MB / 1.402 GB, free: 9.164 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.29/13.85, allocations: 13.8 kB / 1.402 GB, free: 9.156 MB / 1.107 GB " [Timeout remaining time 286] (rm -f Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe ; mkfifo Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe >> ../files/Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLine.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLine_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_DC_Lines_Examples_DCLine_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_DC_Lines_Examples_DCLine.fmu > Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 20.529623314272612] Failed to read output from testmodel.py, exit status != 0: 13.95640316605568 13.972228599 13.603578597 Calling exit ...