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.001863/0.001863, allocations: 116.8 kB / 17.16 MB, free: 5.895 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.002193/0.002193, allocations: 212 kB / 20.13 MB, free: 2.949 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.509/1.509, allocations: 230.6 MB / 253.5 MB, free: 15.09 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.825/2.825, allocations: 476.7 MB / 0.7678 GB, free: 9.328 MB / 0.6075 GB " [Timeout remaining time 176] 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.002006/0.002006, allocations: 63.89 kB / 1.113 GB, free: 15.81 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.027/1.029, allocations: 169.9 MB / 1.279 GB, free: 11.71 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData): time 0.003502/1.033, allocations: 1.681 MB / 1.281 GB, free: 10.54 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.002855/1.036, allocations: 1.644 MB / 1.282 GB, free: 9.395 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001001/1.036, allocations: 1 kB / 1.282 GB, free: 9.395 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.000502/1.036, allocations: 57.66 kB / 1.282 GB, free: 9.363 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0003285/1.037, allocations: 102.3 kB / 1.282 GB, free: 9.305 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002138/1.037, allocations: 72.5 kB / 1.282 GB, free: 9.266 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0002583/1.037, allocations: 177.2 kB / 1.283 GB, free: 9.188 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.915e-05/1.037, allocations: 3.969 kB / 1.283 GB, free: 9.188 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001356/1.037, allocations: 73.58 kB / 1.283 GB, free: 9.152 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001992/1.038, allocations: 69.66 kB / 1.283 GB, free: 9.125 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.799e-05/1.038, allocations: 14.75 kB / 1.283 GB, free: 9.121 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002296/1.038, allocations: 114.6 kB / 1.283 GB, free: 9.086 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 8.521e-05/1.038, allocations: 48.78 kB / 1.283 GB, free: 9.062 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 8.782e-05/1.038, allocations: 62.86 kB / 1.283 GB, free: 9.02 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003957/1.038, allocations: 250.6 kB / 1.283 GB, free: 8.914 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/1.038, allocations: 0 / 1.283 GB, free: 8.914 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.543e-06/1.038, allocations: 1.406 kB / 1.283 GB, free: 8.914 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.091e-06/1.038, allocations: 0 / 1.283 GB, free: 8.914 MB / 0.9981 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.0007511/1.039, allocations: 498.9 kB / 1.284 GB, free: 8.453 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.101e-05/1.039, allocations: 14.14 kB / 1.284 GB, free: 8.449 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.209e-05/1.039, allocations: 1.5 kB / 1.284 GB, free: 8.449 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.1e-05/1.039, allocations: 38.75 kB / 1.284 GB, free: 8.406 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.143e-05/1.039, allocations: 16.48 kB / 1.284 GB, free: 8.398 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004461/1.04, allocations: 267.2 kB / 1.284 GB, free: 8.156 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.839e-05/1.04, allocations: 6.688 kB / 1.284 GB, free: 8.152 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.154e-05/1.04, allocations: 8.094 kB / 1.284 GB, free: 8.148 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000276/1.04, allocations: 120.3 kB / 1.284 GB, free: 8.074 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.277e-06/1.04, allocations: 0 / 1.284 GB, free: 8.074 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.399e-05/1.04, allocations: 0.7031 kB / 1.284 GB, free: 8.074 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/1.04, allocations: 1.438 kB / 1.284 GB, free: 8.074 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002593/1.04, allocations: 144.4 kB / 1.284 GB, free: 8.047 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003128/1.041, allocations: 249.9 kB / 1.285 GB, free: 7.812 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003963/1.041, allocations: 161 kB / 1.285 GB, free: 7.746 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001207/1.041, allocations: 56.73 kB / 1.285 GB, free: 7.715 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.275e-05/1.041, allocations: 5.016 kB / 1.285 GB, free: 7.715 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002464/1.042, allocations: 111.2 kB / 1.285 GB, free: 7.645 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=13): time 1.363e-06/1.042, allocations: 0 / 1.285 GB, free: 7.645 MB / 0.9981 GB Notification: Performance of matching and sorting (n=13): time 0.0005499/1.042, allocations: 224.2 kB / 1.285 GB, free: 7.555 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.117e-05/1.042, allocations: 79.16 kB / 1.285 GB, free: 7.461 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002665/1.042, allocations: 221.9 kB / 1.285 GB, free: 7.32 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.463e-05/1.042, allocations: 29 kB / 1.285 GB, free: 7.289 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 8.526e-05/1.043, allocations: 119.9 kB / 1.285 GB, free: 7.18 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 7.151e-05/1.043, allocations: 47.56 kB / 1.286 GB, free: 7.145 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.145e-05/1.043, allocations: 32.84 kB / 1.286 GB, free: 7.121 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.000172/1.043, allocations: 330.3 kB / 1.286 GB, free: 6.801 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001079/1.043, allocations: 50.09 kB / 1.286 GB, free: 6.781 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001291/1.043, allocations: 79.19 kB / 1.286 GB, free: 6.73 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002307/1.043, allocations: 124 kB / 1.286 GB, free: 6.668 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/1.043, allocations: 0 / 1.286 GB, free: 6.668 MB / 0.9981 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003526/1.044, allocations: 191.5 kB / 1.286 GB, free: 6.582 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/1.044, allocations: 8.859 kB / 1.286 GB, free: 6.582 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.62e-06/1.044, allocations: 0 / 1.286 GB, free: 6.582 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.765e-05/1.044, allocations: 2.094 kB / 1.286 GB, free: 6.582 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001222/1.044, allocations: 28.64 kB / 1.286 GB, free: 6.578 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.372e-06/1.044, allocations: 1 kB / 1.286 GB, free: 6.578 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.524e-05/1.044, allocations: 12.59 kB / 1.286 GB, free: 6.57 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.714e-05/1.044, allocations: 9.641 kB / 1.286 GB, free: 6.566 MB / 0.9981 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.0001383/1.044, allocations: 140.6 kB / 1.286 GB, free: 6.438 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.366e-05/1.044, allocations: 19.58 kB / 1.287 GB, free: 6.426 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.718e-05/1.044, allocations: 30.84 kB / 1.287 GB, free: 6.398 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.517e-06/1.044, allocations: 2.594 kB / 1.287 GB, free: 6.398 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/1.044, allocations: 0.75 kB / 1.287 GB, free: 6.398 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.127e-06/1.044, allocations: 4.797 kB / 1.287 GB, free: 6.395 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002642/1.044, allocations: 242.6 kB / 1.287 GB, free: 6.172 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/1.044, allocations: 0 / 1.287 GB, free: 6.172 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.402e-05/1.045, allocations: 18.61 kB / 1.287 GB, free: 6.172 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.826e-06/1.045, allocations: 1.094 kB / 1.287 GB, free: 6.172 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.935e-05/1.045, allocations: 8.938 kB / 1.287 GB, free: 6.168 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/1.045, allocations: 0 / 1.287 GB, free: 6.168 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.073e-06/1.045, allocations: 1.75 kB / 1.287 GB, free: 6.168 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003772/1.045, allocations: 217.6 kB / 1.287 GB, free: 6.047 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 9.012e-05/1.045, allocations: 99.62 kB / 1.287 GB, free: 5.938 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.697e-05/1.045, allocations: 6.828 kB / 1.287 GB, free: 5.934 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.629e-05/1.045, allocations: 7.906 kB / 1.287 GB, free: 5.93 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.799e-05/1.045, allocations: 13.52 kB / 1.287 GB, free: 5.926 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.153e-05/1.045, allocations: 5.625 kB / 1.287 GB, free: 5.926 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001767/1.045, allocations: 159.4 kB / 1.287 GB, free: 5.828 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1e-07/1.045, allocations: 3.938 kB / 1.287 GB, free: 5.824 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.000314/1.046, allocations: 54.12 kB / 1.287 GB, free: 5.809 MB / 0.9981 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.nextTimeEventScaled,combiTimeTable.nextTimeEvent) * 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.002406/1.048, allocations: 1.146 MB / 1.288 GB, free: 5.027 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0003238/1.048, allocations: 117.4 kB / 1.289 GB, free: 4.992 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/1.048, allocations: 1.469 kB / 1.289 GB, free: 4.992 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001318/1.049, allocations: 57.92 kB / 1.289 GB, free: 4.973 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003185/1.049, allocations: 33.53 kB / 1.289 GB, free: 4.961 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002811/1.052, allocations: 1.996 MB / 1.291 GB, free: 3.527 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003602/1.052, allocations: 0.7184 MB / 1.291 GB, free: 2.832 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001431/1.052, allocations: 53 kB / 1.291 GB, free: 2.82 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001269/1.052, allocations: 63.45 kB / 1.291 GB, free: 2.785 MB / 0.9981 GB Notification: Performance of SimCode: time 6.41e-07/1.052, allocations: 0 / 1.291 GB, free: 2.785 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03379/1.086, allocations: 5.262 MB / 1.297 GB, free: 1.809 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.837/9.923, allocations: 13.66 kB / 1.297 GB, free: 1.805 MB / 0.9981 GB " [Timeout remaining time 290] (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: 16.260175171948504] Failed to read output from testmodel.py, exit status != 0: 10.107540185039397 10.132019964 9.088964086 Calling exit ...