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.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.00156/0.00156, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002381/0.002381, allocations: 217 kB / 22.24 MB, free: 4.852 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.488/1.488, allocations: 230.6 MB / 256 MB, free: 8 MB / 206.1 MB " [Timeout remaining time 178] 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 3.35/3.35, allocations: 0.5107 GB / 0.8158 GB, free: 17.8 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/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.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: 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.002901/0.002901, allocations: 69.8 kB / 1.186 GB, free: 13.86 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3621/0.365, allocations: 181.9 MB / 1.363 GB, free: 14.07 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLine): time 0.01003/0.375, allocations: 6.065 MB / 1.369 GB, free: 7.969 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.007633/0.3827, allocations: 4.366 MB / 1.374 GB, free: 3.59 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006651/0.3833, allocations: 39.69 kB / 1.374 GB, free: 3.551 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.002844/0.3862, allocations: 0.8988 MB / 1.374 GB, free: 2.648 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.002705/0.3889, allocations: 0.7913 MB / 1.375 GB, free: 1.855 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009182/0.3898, allocations: 322 kB / 1.376 GB, free: 1.543 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.001959/0.3917, allocations: 1.152 MB / 1.377 GB, free: 396 kB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001082/0.3928, allocations: 0.5716 MB / 1.377 GB, free: 15.8 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001045/0.3939, allocations: 0.5452 MB / 1.378 GB, free: 15.26 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001002/0.3949, allocations: 465.9 kB / 1.378 GB, free: 14.8 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0001893/0.3951, allocations: 68 kB / 1.378 GB, free: 14.73 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006976/0.3958, allocations: 259.5 kB / 1.379 GB, free: 14.48 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0003584/0.3961, allocations: 259.1 kB / 1.379 GB, free: 14.23 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0005764/0.3967, allocations: 334.5 kB / 1.379 GB, free: 13.9 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.001597/0.3983, allocations: 1.086 MB / 1.38 GB, free: 12.81 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.3983, allocations: 0 / 1.38 GB, free: 12.81 MB / 1.076 GB Notification: Performance of FrontEnd: time 4.569e-06/0.3983, allocations: 4 kB / 1.38 GB, free: 12.8 MB / 1.076 GB Notification: Performance of Transformations before backend: time 3.994e-05/0.3983, allocations: 0 / 1.38 GB, free: 12.8 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: 142 * Number of variables: 142 Notification: Performance of Generate backend data structure: time 0.002557/0.4009, allocations: 1.046 MB / 1.381 GB, free: 11.73 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 5.085e-05/0.4009, allocations: 16.02 kB / 1.381 GB, free: 11.71 MB / 1.076 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001582/0.4011, allocations: 94.7 kB / 1.381 GB, free: 11.61 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003342/0.4044, allocations: 0.6363 MB / 1.382 GB, free: 10.97 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001231/0.4057, allocations: 0.5201 MB / 1.382 GB, free: 10.43 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.928e-05/0.4057, allocations: 37.67 kB / 1.382 GB, free: 10.39 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001262/0.4059, allocations: 55.94 kB / 1.383 GB, free: 10.33 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002362/0.4082, allocations: 1.158 MB / 1.384 GB, free: 9.105 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.159e-05/0.4082, allocations: 3.984 kB / 1.384 GB, free: 9.102 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.369e-05/0.4083, allocations: 16 kB / 1.384 GB, free: 9.086 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.263e-05/0.4084, allocations: 45.3 kB / 1.384 GB, free: 9.043 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002609/0.411, allocations: 1.004 MB / 1.385 GB, free: 8.039 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004814/0.4158, allocations: 2.395 MB / 1.387 GB, free: 5.566 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001716/0.4175, allocations: 477 kB / 1.387 GB, free: 5.094 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005823/0.4181, allocations: 216.6 kB / 1.388 GB, free: 4.879 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 4.315e-05/0.4181, allocations: 11.94 kB / 1.388 GB, free: 4.867 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.468e-05/0.4182, allocations: 38.55 kB / 1.388 GB, free: 4.82 MB / 1.076 GB Notification: Performance of pre-optimization done (n=31): time 2.375e-06/0.4182, allocations: 0 / 1.388 GB, free: 4.82 MB / 1.076 GB Notification: Performance of matching and sorting (n=43): time 0.007872/0.4261, allocations: 2.021 MB / 1.39 GB, free: 2.77 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.413e-05/0.4261, allocations: 59.36 kB / 1.39 GB, free: 2.699 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008234/0.427, allocations: 0.5743 MB / 1.39 GB, free: 2.117 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 5.147e-05/0.427, allocations: 33.7 kB / 1.39 GB, free: 2.078 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002986/0.4273, allocations: 360.8 kB / 1.391 GB, free: 1.723 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001652/0.4275, allocations: 158.6 kB / 1.391 GB, free: 1.566 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001812/0.4277, allocations: 90.14 kB / 1.391 GB, free: 1.473 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001941/0.4279, allocations: 374.7 kB / 1.391 GB, free: 1.098 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007636/0.4286, allocations: 278.6 kB / 1.392 GB, free: 0.8203 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008064/0.4294, allocations: 369.1 kB / 1.392 GB, free: 428 kB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001583/0.431, allocations: 0.6422 MB / 1.393 GB, free: 15.73 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.431, allocations: 0 / 1.393 GB, free: 15.73 MB / 1.092 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.002946/0.434, allocations: 0.9862 MB / 1.393 GB, free: 14.72 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 2.436e-05/0.434, allocations: 6.5 kB / 1.394 GB, free: 14.71 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.459e-05/0.434, allocations: 4 kB / 1.394 GB, free: 14.71 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001595/0.4356, allocations: 333.1 kB / 1.394 GB, free: 14.37 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006527/0.4362, allocations: 111.8 kB / 1.394 GB, free: 14.26 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009216/0.4455, allocations: 8.64 MB / 1.402 GB, free: 4.941 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007429/0.4462, allocations: 44.11 kB / 1.402 GB, free: 4.898 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.384e-05/0.4463, allocations: 23.94 kB / 1.402 GB, free: 4.875 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001026/0.4473, allocations: 444.9 kB / 1.403 GB, free: 4.438 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008209/0.4481, allocations: 368.8 kB / 1.403 GB, free: 4.031 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001626/0.4498, allocations: 0.6325 MB / 1.404 GB, free: 3.355 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.657e-06/0.4498, allocations: 0 / 1.404 GB, free: 3.355 MB / 1.092 GB Notification: Performance of matching and sorting (n=59) (initialization_lambda0): time 0.002911/0.4527, allocations: 0.9538 MB / 1.405 GB, free: 2.375 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 2.054e-05/0.4527, allocations: 8 kB / 1.405 GB, free: 2.367 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.496e-06/0.4527, allocations: 4 kB / 1.405 GB, free: 2.363 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001354/0.454, allocations: 293.2 kB / 1.405 GB, free: 2.059 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006563/0.4547, allocations: 119.8 kB / 1.405 GB, free: 1.941 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008632/0.4633, allocations: 8.5 MB / 1.413 GB, free: 8.75 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000763/0.4641, allocations: 52.08 kB / 1.414 GB, free: 8.699 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.528e-05/0.4642, allocations: 19.98 kB / 1.414 GB, free: 8.68 MB / 1.107 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.0002544/0.4644, allocations: 205.7 kB / 1.414 GB, free: 8.473 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001802/0.4646, allocations: 75.58 kB / 1.414 GB, free: 8.398 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001928/0.4648, allocations: 82.38 kB / 1.414 GB, free: 8.316 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.059e-06/0.4648, allocations: 4 kB / 1.414 GB, free: 8.312 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.239e-05/0.4648, allocations: 3.938 kB / 1.414 GB, free: 8.309 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.903e-06/0.4648, allocations: 7.984 kB / 1.414 GB, free: 8.301 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009417/0.4658, allocations: 0.5394 MB / 1.414 GB, free: 7.719 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.038e-06/0.4658, allocations: 0 / 1.414 GB, free: 7.719 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005201/0.4663, allocations: 87.91 kB / 1.415 GB, free: 7.633 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001286/0.4676, allocations: 300.9 kB / 1.415 GB, free: 7.32 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.201e-05/0.4676, allocations: 8 kB / 1.415 GB, free: 7.312 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008475/0.4761, allocations: 8.524 MB / 1.423 GB, free: 14.1 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.714e-06/0.4761, allocations: 0 / 1.423 GB, free: 14.1 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002702/0.4788, allocations: 0.9524 MB / 1.424 GB, free: 13.11 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004/0.4792, allocations: 111.5 kB / 1.424 GB, free: 13 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001174/0.4793, allocations: 12 kB / 1.424 GB, free: 12.99 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005493/0.4799, allocations: 43.89 kB / 1.424 GB, free: 12.95 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001458/0.48, allocations: 39.92 kB / 1.424 GB, free: 12.91 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.053e-05/0.4801, allocations: 15.98 kB / 1.424 GB, free: 12.89 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0005727/0.4806, allocations: 403.1 kB / 1.425 GB, free: 12.51 MB / 1.123 GB Notification: Performance of sort global known variables: time 9.1e-08/0.4806, allocations: 0 / 1.425 GB, free: 12.51 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.00122/0.4818, allocations: 312 kB / 1.425 GB, free: 12.2 MB / 1.123 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.003009/0.4849, allocations: 1.496 MB / 1.426 GB, free: 10.66 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.004524/0.4894, allocations: 2.341 MB / 1.429 GB, free: 8.164 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 4.108e-06/0.4894, allocations: 0 / 1.429 GB, free: 8.164 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.001562/0.4909, allocations: 1.007 MB / 1.43 GB, free: 7.078 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00125/0.4922, allocations: 232.2 kB / 1.43 GB, free: 6.859 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01298/0.5052, allocations: 6.339 MB / 1.436 GB, free: 336 kB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005737/0.5058, allocations: 387.4 kB / 1.436 GB, free: 15.93 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.000641/0.5064, allocations: 153.3 kB / 1.437 GB, free: 15.77 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003833/0.5068, allocations: 231.4 kB / 1.437 GB, free: 15.55 MB / 1.139 GB Notification: Performance of SimCode: time 6.32e-07/0.5068, allocations: 0 / 1.437 GB, free: 15.55 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08052/0.5873, allocations: 22.57 MB / 1.459 GB, free: 9.402 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.12/14.7, allocations: 1.891 kB / 1.459 GB, free: 9.402 MB / 1.154 GB " [Timeout remaining time 285] (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: 21.626142295077443] Failed to read output from testmodel.py, exit status != 0: 14.83662001695484 14.860199337 14.456672638 Calling exit ...