Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001275/0.001275, allocations: 97.88 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.001468/0.001468, allocations: 215.1 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.447/1.447, allocations: 230.6 MB / 256.8 MB, free: 7.789 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.264/3.264, allocations: 0.5003 GB / 0.8062 GB, free: 28.29 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.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData,fileNamePrefix="Buildings_latest_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData,fileNamePrefix="Buildings_latest_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.001948/0.001948, allocations: 70.53 kB / 1.171 GB, free: 19.52 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3708/0.3727, allocations: 179 MB / 1.345 GB, free: 15.96 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData): time 0.003172/0.3759, allocations: 1.654 MB / 1.347 GB, free: 14.3 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.002734/0.3786, allocations: 1.664 MB / 1.349 GB, free: 12.62 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.085e-05/0.3787, allocations: 4 kB / 1.349 GB, free: 12.62 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0005112/0.3792, allocations: 55.7 kB / 1.349 GB, free: 12.57 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0003015/0.3795, allocations: 99.59 kB / 1.349 GB, free: 12.47 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001934/0.3797, allocations: 75.67 kB / 1.349 GB, free: 12.39 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0002674/0.38, allocations: 183.5 kB / 1.349 GB, free: 12.21 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 5.038e-05/0.3801, allocations: 4 kB / 1.349 GB, free: 12.21 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001054/0.3802, allocations: 63.78 kB / 1.349 GB, free: 12.15 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001628/0.3803, allocations: 79.72 kB / 1.349 GB, free: 12.07 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 2.879e-05/0.3803, allocations: 15.94 kB / 1.349 GB, free: 12.05 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001927/0.3805, allocations: 108 kB / 1.349 GB, free: 11.95 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 9.589e-05/0.3806, allocations: 55.75 kB / 1.349 GB, free: 11.89 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 7.497e-05/0.3807, allocations: 55.72 kB / 1.349 GB, free: 11.84 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0003811/0.3811, allocations: 247.3 kB / 1.35 GB, free: 11.6 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.3811, allocations: 0 / 1.35 GB, free: 11.6 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.853e-06/0.3811, allocations: 0 / 1.35 GB, free: 11.6 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.057e-05/0.3811, allocations: 0 / 1.35 GB, free: 11.6 MB / 1.045 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.0006978/0.3818, allocations: 425 kB / 1.35 GB, free: 11.15 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.634e-05/0.3819, allocations: 8.031 kB / 1.35 GB, free: 11.14 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.533e-05/0.3819, allocations: 4.188 kB / 1.35 GB, free: 11.14 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.295e-05/0.3819, allocations: 42.69 kB / 1.35 GB, free: 11.09 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.967e-05/0.382, allocations: 20.83 kB / 1.35 GB, free: 11.07 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004006/0.3824, allocations: 195.1 kB / 1.35 GB, free: 10.85 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.563e-05/0.3824, allocations: 4.125 kB / 1.35 GB, free: 10.85 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.575e-05/0.3824, allocations: 8 kB / 1.35 GB, free: 10.84 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002901/0.3827, allocations: 156.9 kB / 1.35 GB, free: 10.67 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.586e-06/0.3827, allocations: 0 / 1.35 GB, free: 10.67 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.015e-05/0.3827, allocations: 7.984 kB / 1.35 GB, free: 10.66 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.04e-06/0.3827, allocations: 0 / 1.35 GB, free: 10.66 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003322/0.3831, allocations: 187.8 kB / 1.351 GB, free: 10.48 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002658/0.3833, allocations: 204.7 kB / 1.351 GB, free: 10.23 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004967/0.3838, allocations: 202.5 kB / 1.351 GB, free: 10.03 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001214/0.384, allocations: 68.69 kB / 1.351 GB, free: 9.957 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.092e-05/0.384, allocations: 4 kB / 1.351 GB, free: 9.953 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002363/0.3842, allocations: 126.5 kB / 1.351 GB, free: 9.82 MB / 1.045 GB Notification: Performance of pre-optimization done (n=13): time 1.614e-06/0.3842, allocations: 0 / 1.351 GB, free: 9.82 MB / 1.045 GB Notification: Performance of matching and sorting (n=13): time 0.0005726/0.3848, allocations: 249.5 kB / 1.351 GB, free: 9.57 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.913e-05/0.3848, allocations: 85.09 kB / 1.351 GB, free: 9.469 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000297/0.3851, allocations: 262.7 kB / 1.352 GB, free: 9.199 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 3.555e-05/0.3852, allocations: 33.7 kB / 1.352 GB, free: 9.16 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 7.884e-05/0.3853, allocations: 116.1 kB / 1.352 GB, free: 9.043 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 6.585e-05/0.3853, allocations: 51.59 kB / 1.352 GB, free: 8.992 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.333e-05/0.3854, allocations: 33.7 kB / 1.352 GB, free: 8.953 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001474/0.3855, allocations: 326.8 kB / 1.352 GB, free: 8.625 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001431/0.3857, allocations: 59.97 kB / 1.352 GB, free: 8.566 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001569/0.3858, allocations: 104.2 kB / 1.352 GB, free: 8.449 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002541/0.3861, allocations: 153.5 kB / 1.353 GB, free: 8.293 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.3861, allocations: 4.031 kB / 1.353 GB, free: 8.289 MB / 1.045 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003975/0.3865, allocations: 224.8 kB / 1.353 GB, free: 8.066 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.74e-05/0.3865, allocations: 10.34 kB / 1.353 GB, free: 8.059 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.3865, allocations: 0 / 1.353 GB, free: 8.059 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.36e-05/0.3865, allocations: 0 / 1.353 GB, free: 8.059 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001284/0.3866, allocations: 27.92 kB / 1.353 GB, free: 8.031 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.126e-06/0.3867, allocations: 4 kB / 1.353 GB, free: 8.027 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.768e-05/0.3867, allocations: 15.94 kB / 1.353 GB, free: 8.012 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.406e-05/0.3867, allocations: 4 kB / 1.353 GB, free: 8.008 MB / 1.045 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.0001299/0.3869, allocations: 143.5 kB / 1.353 GB, free: 7.859 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.092e-05/0.3869, allocations: 15.91 kB / 1.353 GB, free: 7.844 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005396/0.3875, allocations: 294.8 kB / 1.353 GB, free: 7.547 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.531e-06/0.3875, allocations: 4 kB / 1.353 GB, free: 7.543 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.3875, allocations: 0 / 1.353 GB, free: 7.543 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.3875, allocations: 0 / 1.353 GB, free: 7.543 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002471/0.3877, allocations: 224.5 kB / 1.353 GB, free: 7.281 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-06/0.3877, allocations: 0 / 1.353 GB, free: 7.281 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001091/0.3878, allocations: 31.98 kB / 1.353 GB, free: 7.25 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.759e-06/0.3878, allocations: 4 kB / 1.353 GB, free: 7.246 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.368e-05/0.3878, allocations: 4 kB / 1.354 GB, free: 7.242 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.603e-06/0.3879, allocations: 4 kB / 1.354 GB, free: 7.238 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.133e-06/0.3879, allocations: 0 / 1.354 GB, free: 7.238 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004362/0.3883, allocations: 278.3 kB / 1.354 GB, free: 6.949 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 4.05e-05/0.3883, allocations: 27.8 kB / 1.354 GB, free: 6.922 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.641e-05/0.3884, allocations: 11.98 kB / 1.354 GB, free: 6.91 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.219e-05/0.3884, allocations: 4 kB / 1.354 GB, free: 6.906 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.637e-05/0.3885, allocations: 19.97 kB / 1.354 GB, free: 6.887 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.456e-05/0.3885, allocations: 8 kB / 1.354 GB, free: 6.879 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0002211/0.3887, allocations: 191.2 kB / 1.354 GB, free: 6.691 MB / 1.045 GB Notification: Performance of sort global known variables: time 9e-08/0.3887, allocations: 4 kB / 1.354 GB, free: 6.688 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002986/0.389, allocations: 59.86 kB / 1.354 GB, free: 6.629 MB / 1.045 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.002583/0.3916, allocations: 1.251 MB / 1.355 GB, free: 5.57 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.000346/0.392, allocations: 153.5 kB / 1.355 GB, free: 5.422 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 7.223e-06/0.392, allocations: 4 kB / 1.355 GB, free: 5.418 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0001529/0.3921, allocations: 75.91 kB / 1.356 GB, free: 5.344 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002999/0.3924, allocations: 39.95 kB / 1.356 GB, free: 5.305 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002589/0.395, allocations: 2.118 MB / 1.358 GB, free: 3.105 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001179/0.3951, allocations: 127.8 kB / 1.358 GB, free: 2.961 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0001147/0.3953, allocations: 45.44 kB / 1.358 GB, free: 2.918 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000151/0.3954, allocations: 71.39 kB / 1.358 GB, free: 2.848 MB / 1.045 GB Notification: Performance of SimCode: time 3.51e-07/0.3954, allocations: 0 / 1.358 GB, free: 2.848 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02942/0.4248, allocations: 6.056 MB / 1.364 GB, free: 12.88 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.68/12.11, allocations: 8 kB / 1.364 GB, free: 12.87 MB / 1.061 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe >> ../files/Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData_fmu --startTime=0 --stopTime=603900 --stepSize=900 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData.fmu > Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 18.950128532014787] Failed to read output from testmodel.py, exit status != 0: 12.326828271034174 12.3509178 11.965235432 Calling exit ...