Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.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.001262/0.001262, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.001473/0.001473, allocations: 217.8 kB / 23.03 MB, free: 4.945 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.524/1.524, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.855/2.855, allocations: 476.8 MB / 0.7715 GB, free: 3.891 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.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData,fileNamePrefix="Buildings_11_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData,fileNamePrefix="Buildings_11_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData",fmuType="cs",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.002115/0.002115, allocations: 68.53 kB / 1.118 GB, free: 39.66 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3949/0.397, allocations: 170 MB / 1.284 GB, free: 10.66 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData): time 0.003847/0.4009, allocations: 1.66 MB / 1.286 GB, free: 8.996 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.003214/0.4041, allocations: 1.666 MB / 1.287 GB, free: 7.324 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001371/0.4042, allocations: 3.938 kB / 1.287 GB, free: 7.32 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0005799/0.4048, allocations: 47.77 kB / 1.287 GB, free: 7.273 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0004507/0.4052, allocations: 111.5 kB / 1.288 GB, free: 7.164 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002765/0.4055, allocations: 71.67 kB / 1.288 GB, free: 7.094 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0003391/0.4059, allocations: 187.6 kB / 1.288 GB, free: 6.91 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 5.502e-05/0.4059, allocations: 4 kB / 1.288 GB, free: 6.906 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001429/0.4061, allocations: 63.77 kB / 1.288 GB, free: 6.844 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001989/0.4063, allocations: 79.67 kB / 1.288 GB, free: 6.766 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 4.026e-05/0.4063, allocations: 15.94 kB / 1.288 GB, free: 6.75 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003024/0.4066, allocations: 107.9 kB / 1.288 GB, free: 6.645 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001091/0.4067, allocations: 55.77 kB / 1.288 GB, free: 6.59 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 9.12e-05/0.4068, allocations: 47.72 kB / 1.288 GB, free: 6.543 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0005415/0.4073, allocations: 248.5 kB / 1.288 GB, free: 6.301 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.382e-06/0.4073, allocations: 0 / 1.288 GB, free: 6.301 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.294e-06/0.4073, allocations: 4 kB / 1.288 GB, free: 6.297 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 9.147e-06/0.4074, allocations: 4 kB / 1.288 GB, free: 6.293 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0008611/0.4082, allocations: 420.9 kB / 1.289 GB, free: 5.852 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.293e-05/0.4083, allocations: 12.03 kB / 1.289 GB, free: 5.84 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.852e-05/0.4083, allocations: 192 / 1.289 GB, free: 5.84 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.584e-05/0.4083, allocations: 34.75 kB / 1.289 GB, free: 5.797 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.395e-05/0.4084, allocations: 20.8 kB / 1.289 GB, free: 5.777 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005388/0.409, allocations: 191.2 kB / 1.289 GB, free: 5.562 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.693e-05/0.409, allocations: 12.12 kB / 1.289 GB, free: 5.551 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.34e-05/0.409, allocations: 4 kB / 1.289 GB, free: 5.547 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003663/0.4094, allocations: 164.8 kB / 1.289 GB, free: 5.367 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.378e-05/0.4094, allocations: 0 / 1.289 GB, free: 5.367 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.809e-05/0.4094, allocations: 0 / 1.289 GB, free: 5.367 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.216e-05/0.4094, allocations: 4 kB / 1.289 GB, free: 5.363 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004004/0.4098, allocations: 191.8 kB / 1.289 GB, free: 5.176 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003861/0.4102, allocations: 200.6 kB / 1.29 GB, free: 4.938 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005557/0.4108, allocations: 198.4 kB / 1.29 GB, free: 4.734 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001373/0.4109, allocations: 56.83 kB / 1.29 GB, free: 4.676 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.996e-05/0.4109, allocations: 3.984 kB / 1.29 GB, free: 4.672 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000292/0.4112, allocations: 127.3 kB / 1.29 GB, free: 4.535 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=13): time 1.613e-06/0.4112, allocations: 0 / 1.29 GB, free: 4.535 MB / 0.9825 GB Notification: Performance of matching and sorting (n=13): time 0.0006964/0.4119, allocations: 254.9 kB / 1.29 GB, free: 4.281 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.745e-05/0.412, allocations: 85.09 kB / 1.29 GB, free: 4.18 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003581/0.4124, allocations: 251 kB / 1.29 GB, free: 3.922 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.932e-05/0.4124, allocations: 29.81 kB / 1.291 GB, free: 3.887 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 9.289e-05/0.4125, allocations: 120.1 kB / 1.291 GB, free: 3.766 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 9.818e-05/0.4126, allocations: 63.48 kB / 1.291 GB, free: 3.703 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.137e-05/0.4127, allocations: 29.72 kB / 1.291 GB, free: 3.668 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000194/0.4129, allocations: 338.8 kB / 1.291 GB, free: 3.328 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001322/0.413, allocations: 51.97 kB / 1.291 GB, free: 3.277 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001778/0.4132, allocations: 114.8 kB / 1.291 GB, free: 3.152 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002659/0.4135, allocations: 149 kB / 1.291 GB, free: 3.004 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.4135, allocations: 0 / 1.291 GB, free: 3.004 MB / 0.9825 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000417/0.4139, allocations: 221.4 kB / 1.292 GB, free: 2.781 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.924e-05/0.4139, allocations: 6.188 kB / 1.292 GB, free: 2.777 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.037e-06/0.4139, allocations: 3.984 kB / 1.292 GB, free: 2.773 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.109e-05/0.4139, allocations: 4 kB / 1.292 GB, free: 2.77 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001521/0.4141, allocations: 32.05 kB / 1.292 GB, free: 2.738 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.102e-05/0.4141, allocations: 3.938 kB / 1.292 GB, free: 2.734 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.758e-05/0.4142, allocations: 4 kB / 1.292 GB, free: 2.73 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.899e-05/0.4142, allocations: 7.984 kB / 1.292 GB, free: 2.723 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.combiTimeTable.nextTimeEvent,$whenCondition1,combiTimeTable.nextTimeEventScaled,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001484/0.4143, allocations: 145 kB / 1.292 GB, free: 2.574 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.957e-05/0.4144, allocations: 19.86 kB / 1.292 GB, free: 2.555 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005793/0.415, allocations: 289.7 kB / 1.292 GB, free: 2.266 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.081e-06/0.415, allocations: 4 kB / 1.292 GB, free: 2.262 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.415, allocations: 4 kB / 1.292 GB, free: 2.258 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/0.415, allocations: 0 / 1.292 GB, free: 2.258 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000288/0.4153, allocations: 224.6 kB / 1.292 GB, free: 1.996 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.549e-06/0.4153, allocations: 4 kB / 1.292 GB, free: 1.992 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001257/0.4154, allocations: 31.98 kB / 1.292 GB, free: 1.961 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.077e-06/0.4154, allocations: 0 / 1.292 GB, free: 1.961 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.018e-05/0.4154, allocations: 15.92 kB / 1.292 GB, free: 1.945 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.304e-06/0.4154, allocations: 0 / 1.292 GB, free: 1.945 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.4154, allocations: 0 / 1.292 GB, free: 1.945 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004849/0.4159, allocations: 284.7 kB / 1.293 GB, free: 1.648 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.514e-05/0.416, allocations: 15.84 kB / 1.293 GB, free: 1.633 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.376e-05/0.416, allocations: 12 kB / 1.293 GB, free: 1.621 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.979e-05/0.4161, allocations: 11.98 kB / 1.293 GB, free: 1.609 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.818e-05/0.4161, allocations: 11.97 kB / 1.293 GB, free: 1.598 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.416e-05/0.4161, allocations: 8 kB / 1.293 GB, free: 1.59 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0002289/0.4164, allocations: 191.2 kB / 1.293 GB, free: 1.402 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1e-07/0.4164, allocations: 0 / 1.293 GB, free: 1.402 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003297/0.4167, allocations: 63.83 kB / 1.293 GB, free: 1.34 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002765/0.4195, allocations: 1.246 MB / 1.294 GB, free: 296 kB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.00046/0.4199, allocations: 159.8 kB / 1.294 GB, free: 136 kB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.4199, allocations: 0 / 1.294 GB, free: 136 kB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001805/0.4201, allocations: 83.91 kB / 1.294 GB, free: 52 kB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003574/0.4205, allocations: 33.84 kB / 1.294 GB, free: 20 kB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003049/0.4235, allocations: 2.122 MB / 1.296 GB, free: 13.8 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001287/0.4236, allocations: 119.9 kB / 1.297 GB, free: 13.67 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001497/0.4238, allocations: 53.5 kB / 1.297 GB, free: 13.62 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001493/0.4239, allocations: 71.41 kB / 1.297 GB, free: 13.55 MB / 0.9981 GB Notification: Performance of SimCode: time 1.222e-06/0.4239, allocations: 0 / 1.297 GB, free: 13.55 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03335/0.4573, allocations: 6.045 MB / 1.303 GB, free: 7.605 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.94/12.4, allocations: 15.27 kB / 1.303 GB, free: 7.598 MB / 0.9981 GB " [Timeout remaining time 287] (rm -f Buildings_11_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe ; mkfifo Buildings_11_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe >> ../files/Buildings_11_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData_fmu --startTime=0 --stopTime=603900 --stepSize=900 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData.fmu > Buildings_11_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 19.36692379997112] Failed to read output from testmodel.py, exit status != 0: 13.28038213995751 12.639407369 12.227137558 Calling exit ...