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.00127/0.00127, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.00145/0.00145, allocations: 209.5 kB / 23.04 MB, free: 5.07 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.445/1.445, allocations: 230.6 MB / 256.8 MB, free: 8.051 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.258/3.258, allocations: 0.49 GB / 0.7959 GB, free: 33.51 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.002111/0.002111, allocations: 60.22 kB / 1.155 GB, free: 25.75 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.359/0.3611, allocations: 176.1 MB / 1.327 GB, free: 1.953 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData): time 0.003224/0.3643, allocations: 1.691 MB / 1.328 GB, free: 264 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002667/0.367, allocations: 1.743 MB / 1.33 GB, free: 14.51 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.582e-05/0.367, allocations: 7.938 kB / 1.33 GB, free: 14.5 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0004339/0.3675, allocations: 51.75 kB / 1.33 GB, free: 14.45 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0002556/0.3677, allocations: 99.53 kB / 1.33 GB, free: 14.35 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001674/0.3679, allocations: 71.75 kB / 1.33 GB, free: 14.28 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.000258/0.3682, allocations: 191.5 kB / 1.33 GB, free: 14.09 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 4.435e-05/0.3682, allocations: 4 kB / 1.33 GB, free: 14.09 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001265/0.3683, allocations: 67.77 kB / 1.33 GB, free: 14.02 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001869/0.3685, allocations: 75.73 kB / 1.331 GB, free: 13.95 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.592e-05/0.3685, allocations: 12 kB / 1.331 GB, free: 13.94 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001966/0.3687, allocations: 119.9 kB / 1.331 GB, free: 13.82 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 7.682e-05/0.3688, allocations: 55.77 kB / 1.331 GB, free: 13.77 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 7.822e-05/0.3689, allocations: 59.61 kB / 1.331 GB, free: 13.71 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003357/0.3692, allocations: 235.4 kB / 1.331 GB, free: 13.48 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.3692, allocations: 0 / 1.331 GB, free: 13.48 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.293e-06/0.3692, allocations: 0 / 1.331 GB, free: 13.48 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.851e-06/0.3692, allocations: 4 kB / 1.331 GB, free: 13.47 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.0006641/0.3699, allocations: 432.8 kB / 1.331 GB, free: 13.02 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.055e-05/0.3699, allocations: 8.031 kB / 1.331 GB, free: 13.01 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.588e-05/0.37, allocations: 8.188 kB / 1.331 GB, free: 13 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.058e-05/0.37, allocations: 38.73 kB / 1.331 GB, free: 12.96 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.434e-05/0.3701, allocations: 16.84 kB / 1.332 GB, free: 12.94 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003939/0.3705, allocations: 195.2 kB / 1.332 GB, free: 12.72 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.61e-05/0.3705, allocations: 8.125 kB / 1.332 GB, free: 12.71 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.546e-05/0.3705, allocations: 4 kB / 1.332 GB, free: 12.71 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002461/0.3707, allocations: 123.2 kB / 1.332 GB, free: 12.58 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.085e-06/0.3707, allocations: 4 kB / 1.332 GB, free: 12.57 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.284e-05/0.3707, allocations: 0 / 1.332 GB, free: 12.57 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.462e-06/0.3708, allocations: 4 kB / 1.332 GB, free: 12.57 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000237/0.371, allocations: 139.9 kB / 1.332 GB, free: 12.43 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002553/0.3712, allocations: 208.6 kB / 1.332 GB, free: 12.19 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003766/0.3716, allocations: 166.4 kB / 1.332 GB, free: 12.02 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001083/0.3717, allocations: 56.83 kB / 1.332 GB, free: 11.96 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.755e-05/0.3718, allocations: 4 kB / 1.332 GB, free: 11.95 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002277/0.372, allocations: 111.3 kB / 1.332 GB, free: 11.83 MB / 1.029 GB Notification: Performance of pre-optimization done (n=13): time 1.333e-06/0.372, allocations: 0 / 1.332 GB, free: 11.83 MB / 1.029 GB Notification: Performance of matching and sorting (n=13): time 0.0005016/0.3725, allocations: 224.6 kB / 1.333 GB, free: 11.61 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.443e-05/0.3726, allocations: 85.03 kB / 1.333 GB, free: 11.51 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002337/0.3728, allocations: 222.9 kB / 1.333 GB, free: 11.28 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.08e-05/0.3728, allocations: 33.7 kB / 1.333 GB, free: 11.24 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 7.653e-05/0.3729, allocations: 116.1 kB / 1.333 GB, free: 11.12 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 5.242e-05/0.3729, allocations: 39.69 kB / 1.333 GB, free: 11.08 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.673e-05/0.373, allocations: 33.7 kB / 1.333 GB, free: 11.04 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001579/0.3732, allocations: 326.8 kB / 1.334 GB, free: 10.71 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001066/0.3733, allocations: 51.97 kB / 1.334 GB, free: 10.66 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001253/0.3734, allocations: 74.55 kB / 1.334 GB, free: 10.58 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002216/0.3736, allocations: 129.7 kB / 1.334 GB, free: 10.45 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.3736, allocations: 3.938 kB / 1.334 GB, free: 10.45 MB / 1.029 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003359/0.374, allocations: 193.5 kB / 1.334 GB, free: 10.25 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.616e-05/0.374, allocations: 4 kB / 1.334 GB, free: 10.25 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.149e-06/0.374, allocations: 0 / 1.334 GB, free: 10.25 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.17e-05/0.374, allocations: 0 / 1.334 GB, free: 10.25 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001219/0.3741, allocations: 35.92 kB / 1.334 GB, free: 10.21 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.212e-06/0.3741, allocations: 32 / 1.334 GB, free: 10.21 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.011e-05/0.3742, allocations: 11.94 kB / 1.334 GB, free: 10.2 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.189e-05/0.3742, allocations: 4 kB / 1.334 GB, free: 10.2 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.0001415/0.3743, allocations: 139.1 kB / 1.334 GB, free: 10.05 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.243e-05/0.3744, allocations: 23.84 kB / 1.334 GB, free: 10.03 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004549/0.3748, allocations: 224.6 kB / 1.334 GB, free: 9.793 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.439e-06/0.3748, allocations: 4 kB / 1.334 GB, free: 9.789 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.3748, allocations: 0 / 1.334 GB, free: 9.789 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.291e-06/0.3748, allocations: 3.984 kB / 1.334 GB, free: 9.785 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002465/0.3751, allocations: 224.5 kB / 1.335 GB, free: 9.523 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-06/0.3751, allocations: 0 / 1.335 GB, free: 9.523 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.783e-05/0.3752, allocations: 19.98 kB / 1.335 GB, free: 9.504 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.3752, allocations: 0 / 1.335 GB, free: 9.504 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.429e-05/0.3752, allocations: 4 kB / 1.335 GB, free: 9.5 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.3752, allocations: 0 / 1.335 GB, free: 9.5 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.3752, allocations: 0 / 1.335 GB, free: 9.5 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003753/0.3756, allocations: 220.7 kB / 1.335 GB, free: 9.266 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.974e-05/0.3756, allocations: 19.84 kB / 1.335 GB, free: 9.246 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.767e-05/0.3756, allocations: 8 kB / 1.335 GB, free: 9.238 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.173e-05/0.3757, allocations: 3.984 kB / 1.335 GB, free: 9.234 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.444e-05/0.3757, allocations: 11.98 kB / 1.335 GB, free: 9.223 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.998e-05/0.3757, allocations: 4 kB / 1.335 GB, free: 9.219 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001881/0.3759, allocations: 172.2 kB / 1.335 GB, free: 9.051 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3759, allocations: 0 / 1.335 GB, free: 9.051 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002988/0.3762, allocations: 51.86 kB / 1.335 GB, free: 9 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 (13): * Single equations (assignments): 11 * 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.002481/0.3787, allocations: 1.171 MB / 1.336 GB, free: 7.996 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003042/0.379, allocations: 111.9 kB / 1.336 GB, free: 7.887 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.379, allocations: 0 / 1.336 GB, free: 7.887 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.000121/0.3791, allocations: 55.97 kB / 1.336 GB, free: 7.832 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003035/0.3794, allocations: 43.62 kB / 1.336 GB, free: 7.797 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002407/0.3819, allocations: 1.982 MB / 1.338 GB, free: 5.73 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003697/0.3822, allocations: 0.7241 MB / 1.339 GB, free: 4.98 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001237/0.3823, allocations: 53.58 kB / 1.339 GB, free: 4.926 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001175/0.3825, allocations: 63.41 kB / 1.339 GB, free: 4.863 MB / 1.029 GB Notification: Performance of SimCode: time 2.8e-07/0.3825, allocations: 0 / 1.339 GB, free: 4.863 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02768/0.4101, allocations: 5.412 MB / 1.344 GB, free: 15.55 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.62/12.03, allocations: 16.47 kB / 1.344 GB, free: 15.54 MB / 1.045 GB " [Timeout remaining time 288] (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.003115823026747] Failed to read output from testmodel.py, exit status != 0: 12.240112744038925 12.258726338 11.885859129 Calling exit ...