Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001284/0.001284, allocations: 97.31 kB / 19.73 MB, free: 2.117 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.001436/0.001436, allocations: 218.5 kB / 23.03 MB, free: 4.922 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.462/1.462, 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 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.198/3.198, allocations: 0.49 GB / 0.7959 GB, free: 35.48 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData,fileNamePrefix="Buildings_12_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.002014/0.002014, allocations: 61.75 kB / 1.155 GB, free: 25.4 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.388/0.39, allocations: 176.1 MB / 1.327 GB, free: 1.48 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData): time 0.003553/0.3936, allocations: 1.661 MB / 1.328 GB, free: 15.82 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.002696/0.3963, allocations: 1.66 MB / 1.33 GB, free: 14.15 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.804e-05/0.3964, allocations: 0 / 1.33 GB, free: 14.15 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0005332/0.3969, allocations: 59.69 kB / 1.33 GB, free: 14.09 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0003214/0.3972, allocations: 107.5 kB / 1.33 GB, free: 13.98 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001815/0.3974, allocations: 75.73 kB / 1.33 GB, free: 13.91 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.000285/0.3977, allocations: 183.5 kB / 1.33 GB, free: 13.73 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 5.07e-05/0.3978, allocations: 4 kB / 1.33 GB, free: 13.73 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001008/0.3979, allocations: 63.77 kB / 1.33 GB, free: 13.66 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001647/0.398, allocations: 79.73 kB / 1.33 GB, free: 13.59 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.725e-05/0.3981, allocations: 15.98 kB / 1.33 GB, free: 13.57 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002042/0.3983, allocations: 111.9 kB / 1.331 GB, free: 13.46 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 9.326e-05/0.3984, allocations: 51.81 kB / 1.331 GB, free: 13.41 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 8.022e-05/0.3984, allocations: 51.72 kB / 1.331 GB, free: 13.36 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.000391/0.3988, allocations: 251.3 kB / 1.331 GB, free: 13.11 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.56e-06/0.3988, allocations: 0 / 1.331 GB, free: 13.11 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.134e-06/0.3988, allocations: 0 / 1.331 GB, free: 13.11 MB / 1.029 GB Notification: Performance of Transformations before backend: time 9.017e-06/0.3988, allocations: 4 kB / 1.331 GB, free: 13.11 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0007056/0.3995, allocations: 421 kB / 1.331 GB, free: 12.67 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.27e-05/0.3996, allocations: 12.03 kB / 1.331 GB, free: 12.66 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.392e-05/0.3996, allocations: 192 / 1.331 GB, free: 12.66 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5e-05/0.3997, allocations: 42.75 kB / 1.331 GB, free: 12.61 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.732e-05/0.3997, allocations: 16.84 kB / 1.331 GB, free: 12.59 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003983/0.4001, allocations: 195.1 kB / 1.332 GB, free: 12.37 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.49e-05/0.4001, allocations: 12.12 kB / 1.332 GB, free: 12.36 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.212e-05/0.4001, allocations: 4 kB / 1.332 GB, free: 12.36 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002847/0.4004, allocations: 153 kB / 1.332 GB, free: 12.19 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.959e-06/0.4004, allocations: 0 / 1.332 GB, free: 12.19 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.811e-05/0.4005, allocations: 4 kB / 1.332 GB, free: 12.18 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.003e-06/0.4005, allocations: 4 kB / 1.332 GB, free: 12.18 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003392/0.4008, allocations: 191.8 kB / 1.332 GB, free: 11.99 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002974/0.4011, allocations: 196.6 kB / 1.332 GB, free: 11.76 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005131/0.4016, allocations: 210.3 kB / 1.332 GB, free: 11.54 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001218/0.4017, allocations: 68.81 kB / 1.332 GB, free: 11.47 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.951e-05/0.4018, allocations: 0 / 1.332 GB, free: 11.47 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002451/0.402, allocations: 119.3 kB / 1.332 GB, free: 11.34 MB / 1.029 GB Notification: Performance of pre-optimization done (n=13): time 1.553e-06/0.402, allocations: 0 / 1.332 GB, free: 11.34 MB / 1.029 GB Notification: Performance of matching and sorting (n=13): time 0.0005821/0.4026, allocations: 253.4 kB / 1.333 GB, free: 11.09 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.701e-05/0.4027, allocations: 85.09 kB / 1.333 GB, free: 10.99 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003016/0.403, allocations: 258.9 kB / 1.333 GB, free: 10.72 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.696e-05/0.403, allocations: 29.81 kB / 1.333 GB, free: 10.69 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 7.74e-05/0.4031, allocations: 120 kB / 1.333 GB, free: 10.57 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 6.584e-05/0.4031, allocations: 55.61 kB / 1.333 GB, free: 10.51 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.098e-05/0.4032, allocations: 29.72 kB / 1.333 GB, free: 10.48 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001657/0.4034, allocations: 334.8 kB / 1.334 GB, free: 10.14 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000118/0.4035, allocations: 55.97 kB / 1.334 GB, free: 10.09 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001544/0.4036, allocations: 108.2 kB / 1.334 GB, free: 9.965 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002663/0.4039, allocations: 154.9 kB / 1.334 GB, free: 9.809 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.4039, allocations: 0 / 1.334 GB, free: 9.809 MB / 1.029 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003858/0.4043, allocations: 214.7 kB / 1.334 GB, free: 9.594 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.03e-05/0.4043, allocations: 12 kB / 1.334 GB, free: 9.582 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.4043, allocations: 0 / 1.334 GB, free: 9.582 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.699e-05/0.4043, allocations: 0 / 1.334 GB, free: 9.582 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001348/0.4045, allocations: 27.98 kB / 1.334 GB, free: 9.555 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.462e-06/0.4045, allocations: 0 / 1.334 GB, free: 9.555 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.946e-05/0.4045, allocations: 8 kB / 1.334 GB, free: 9.547 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.578e-05/0.4045, allocations: 7.984 kB / 1.334 GB, free: 9.539 MB / 1.029 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.0001462/0.4047, allocations: 141.7 kB / 1.334 GB, free: 9.391 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.736e-05/0.4047, allocations: 19.86 kB / 1.334 GB, free: 9.371 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005571/0.4053, allocations: 292 kB / 1.335 GB, free: 9.07 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.23e-06/0.4053, allocations: 4 kB / 1.335 GB, free: 9.066 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.4053, allocations: 0 / 1.335 GB, free: 9.066 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.4053, allocations: 0 / 1.335 GB, free: 9.066 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002666/0.4056, allocations: 220.6 kB / 1.335 GB, free: 8.809 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/0.4056, allocations: 3.984 kB / 1.335 GB, free: 8.805 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001143/0.4057, allocations: 31.94 kB / 1.335 GB, free: 8.773 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.029e-06/0.4057, allocations: 3.984 kB / 1.335 GB, free: 8.77 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.419e-05/0.4057, allocations: 15.94 kB / 1.335 GB, free: 8.754 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.4057, allocations: 0 / 1.335 GB, free: 8.754 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.4057, allocations: 0 / 1.335 GB, free: 8.754 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004928/0.4062, allocations: 287.6 kB / 1.335 GB, free: 8.457 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 3.848e-05/0.4063, allocations: 19.8 kB / 1.335 GB, free: 8.438 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.359e-05/0.4063, allocations: 8 kB / 1.335 GB, free: 8.43 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.938e-05/0.4064, allocations: 11.98 kB / 1.335 GB, free: 8.418 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.198e-05/0.4064, allocations: 11.97 kB / 1.335 GB, free: 8.406 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.595e-05/0.4065, allocations: 12 kB / 1.335 GB, free: 8.395 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0002245/0.4067, allocations: 196.4 kB / 1.335 GB, free: 8.203 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.4067, allocations: 0 / 1.335 GB, free: 8.203 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003029/0.407, allocations: 63.81 kB / 1.335 GB, free: 8.141 MB / 1.029 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.002642/0.4096, allocations: 1.256 MB / 1.337 GB, free: 7.078 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003955/0.41, allocations: 153.7 kB / 1.337 GB, free: 6.93 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.41, allocations: 0 / 1.337 GB, free: 6.93 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002242/0.4102, allocations: 83.91 kB / 1.337 GB, free: 6.848 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004386/0.4107, allocations: 43.05 kB / 1.337 GB, free: 6.812 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002705/0.4134, allocations: 2.115 MB / 1.339 GB, free: 4.617 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001277/0.4135, allocations: 127.9 kB / 1.339 GB, free: 4.469 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001271/0.4136, allocations: 53.42 kB / 1.339 GB, free: 4.418 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001359/0.4138, allocations: 67.41 kB / 1.339 GB, free: 4.352 MB / 1.029 GB Notification: Performance of SimCode: time 5.41e-07/0.4138, allocations: 0 / 1.339 GB, free: 4.352 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03056/0.4443, allocations: 6.048 MB / 1.345 GB, free: 14.41 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.94/12.38, allocations: 9.375 kB / 1.345 GB, free: 14.4 MB / 1.045 GB " [Timeout remaining time 287] (rm -f Buildings_12_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe ; mkfifo Buildings_12_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe >> ../files/Buildings_12_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData_fmu --startTime=0 --stopTime=603900 --stepSize=900 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData.fmu > Buildings_12_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 19.25488795398269] Failed to read output from testmodel.py, exit status != 0: 12.599312323960476 12.625020783 12.221538349 Calling exit ...