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.001286/0.001286, 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.001427/0.001427, allocations: 215.3 kB / 23.04 MB, free: 5.074 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.446/1.446, allocations: 230.6 MB / 256.8 MB, free: 7.984 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.231/3.231, allocations: 0.5003 GB / 0.8061 GB, free: 26.76 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.002023/0.002023, allocations: 67.69 kB / 1.171 GB, free: 19.8 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3791/0.3811, allocations: 179 MB / 1.345 GB, free: 456 kB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData): time 0.003243/0.3844, allocations: 1.69 MB / 1.347 GB, free: 14.74 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.00265/0.387, allocations: 1.734 MB / 1.349 GB, free: 13 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.789e-05/0.3871, allocations: 3.938 kB / 1.349 GB, free: 13 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0004256/0.3875, allocations: 55.69 kB / 1.349 GB, free: 12.94 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0002695/0.3878, allocations: 99.53 kB / 1.349 GB, free: 12.84 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001745/0.388, allocations: 75.75 kB / 1.349 GB, free: 12.77 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0002818/0.3883, allocations: 187.5 kB / 1.349 GB, free: 12.59 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 5.23e-05/0.3883, allocations: 7.984 kB / 1.349 GB, free: 12.58 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001305/0.3884, allocations: 71.72 kB / 1.349 GB, free: 12.51 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001992/0.3886, allocations: 75.72 kB / 1.349 GB, free: 12.43 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 2.846e-05/0.3887, allocations: 12 kB / 1.349 GB, free: 12.42 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002127/0.3889, allocations: 111.9 kB / 1.349 GB, free: 12.31 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 8.697e-05/0.389, allocations: 51.78 kB / 1.349 GB, free: 12.26 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 8.262e-05/0.389, allocations: 59.59 kB / 1.349 GB, free: 12.2 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.000381/0.3894, allocations: 243.3 kB / 1.35 GB, free: 11.96 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.3894, allocations: 8 kB / 1.35 GB, free: 11.96 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.084e-06/0.3894, allocations: 0 / 1.35 GB, free: 11.96 MB / 1.045 GB Notification: Performance of Transformations before backend: time 6.633e-06/0.3894, allocations: 0 / 1.35 GB, free: 11.96 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.0007113/0.3901, allocations: 428.8 kB / 1.35 GB, free: 11.51 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.58e-05/0.3902, allocations: 8.031 kB / 1.35 GB, free: 11.5 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.324e-05/0.3902, allocations: 4.188 kB / 1.35 GB, free: 11.5 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.642e-05/0.3903, allocations: 38.73 kB / 1.35 GB, free: 11.45 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.985e-05/0.3903, allocations: 16.84 kB / 1.35 GB, free: 11.43 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004417/0.3908, allocations: 211.2 kB / 1.35 GB, free: 11.2 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.224e-05/0.3908, allocations: 4.125 kB / 1.35 GB, free: 11.2 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.976e-05/0.3908, allocations: 4 kB / 1.35 GB, free: 11.19 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002485/0.391, allocations: 123.2 kB / 1.35 GB, free: 11.06 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.035e-06/0.391, allocations: 0 / 1.35 GB, free: 11.06 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.367e-05/0.3911, allocations: 0 / 1.35 GB, free: 11.06 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.294e-06/0.3911, allocations: 4 kB / 1.35 GB, free: 11.05 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002504/0.3913, allocations: 139.9 kB / 1.351 GB, free: 10.92 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002576/0.3916, allocations: 204.7 kB / 1.351 GB, free: 10.68 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000425/0.392, allocations: 170.4 kB / 1.351 GB, free: 10.5 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001114/0.3921, allocations: 52.83 kB / 1.351 GB, free: 10.45 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 3.065e-05/0.3921, allocations: 4 kB / 1.351 GB, free: 10.44 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002358/0.3924, allocations: 111.4 kB / 1.351 GB, free: 10.32 MB / 1.045 GB Notification: Performance of pre-optimization done (n=13): time 1.393e-06/0.3924, allocations: 0 / 1.351 GB, free: 10.32 MB / 1.045 GB Notification: Performance of matching and sorting (n=13): time 0.0005229/0.3929, allocations: 230.8 kB / 1.351 GB, free: 10.09 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.009e-05/0.393, allocations: 77.11 kB / 1.351 GB, free: 9.996 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002455/0.3932, allocations: 226.7 kB / 1.352 GB, free: 9.762 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.573e-05/0.3932, allocations: 29.7 kB / 1.352 GB, free: 9.727 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.000122/0.3934, allocations: 116.2 kB / 1.352 GB, free: 9.609 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 5.723e-05/0.3934, allocations: 43.62 kB / 1.352 GB, free: 9.566 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.152e-05/0.3935, allocations: 37.7 kB / 1.352 GB, free: 9.523 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001487/0.3936, allocations: 326.8 kB / 1.352 GB, free: 9.195 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001075/0.3937, allocations: 51.97 kB / 1.352 GB, free: 9.145 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001224/0.3939, allocations: 77.08 kB / 1.352 GB, free: 9.062 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002215/0.3941, allocations: 127 kB / 1.352 GB, free: 8.934 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.3941, allocations: 4.031 kB / 1.352 GB, free: 8.93 MB / 1.045 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003283/0.3944, allocations: 193.5 kB / 1.353 GB, free: 8.734 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.618e-05/0.3944, allocations: 4 kB / 1.353 GB, free: 8.73 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.3944, allocations: 0 / 1.353 GB, free: 8.73 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.745e-05/0.3944, allocations: 7.938 kB / 1.353 GB, free: 8.723 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001267/0.3946, allocations: 31.92 kB / 1.353 GB, free: 8.691 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.111e-06/0.3946, allocations: 0 / 1.353 GB, free: 8.691 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.429e-05/0.3946, allocations: 7.938 kB / 1.353 GB, free: 8.684 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.271e-05/0.3947, allocations: 4 kB / 1.353 GB, free: 8.68 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.0001424/0.3948, allocations: 147.3 kB / 1.353 GB, free: 8.527 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.351e-05/0.3948, allocations: 27.84 kB / 1.353 GB, free: 8.5 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004465/0.3953, allocations: 225.6 kB / 1.353 GB, free: 8.273 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.3953, allocations: 0 / 1.353 GB, free: 8.273 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.873e-06/0.3953, allocations: 0 / 1.353 GB, free: 8.273 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.3953, allocations: 0 / 1.353 GB, free: 8.273 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002304/0.3955, allocations: 216.5 kB / 1.353 GB, free: 8.02 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.3955, allocations: 0 / 1.353 GB, free: 8.02 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.975e-05/0.3956, allocations: 23.98 kB / 1.353 GB, free: 7.996 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.088e-06/0.3956, allocations: 4 kB / 1.353 GB, free: 7.992 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.345e-05/0.3956, allocations: 4 kB / 1.353 GB, free: 7.988 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.3956, allocations: 0 / 1.353 GB, free: 7.988 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.3956, allocations: 0 / 1.353 GB, free: 7.988 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003669/0.396, allocations: 212.9 kB / 1.353 GB, free: 7.762 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 3.111e-05/0.396, allocations: 15.84 kB / 1.354 GB, free: 7.746 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.108e-05/0.3961, allocations: 8 kB / 1.354 GB, free: 7.738 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.753e-05/0.3961, allocations: 7.984 kB / 1.354 GB, free: 7.73 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.465e-05/0.3962, allocations: 15.92 kB / 1.354 GB, free: 7.715 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.203e-05/0.3962, allocations: 4 kB / 1.354 GB, free: 7.711 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0001632/0.3963, allocations: 163.2 kB / 1.354 GB, free: 7.551 MB / 1.045 GB Notification: Performance of sort global known variables: time 7e-08/0.3963, allocations: 0 / 1.354 GB, free: 7.551 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002958/0.3966, allocations: 51.86 kB / 1.354 GB, free: 7.5 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 (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.002378/0.399, allocations: 1.162 MB / 1.355 GB, free: 6.504 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0003004/0.3993, allocations: 115.9 kB / 1.355 GB, free: 6.391 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.3993, allocations: 0 / 1.355 GB, free: 6.391 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0001179/0.3994, allocations: 51.97 kB / 1.355 GB, free: 6.34 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003038/0.3997, allocations: 39.17 kB / 1.355 GB, free: 6.305 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002466/0.4022, allocations: 1.987 MB / 1.357 GB, free: 4.23 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003593/0.4026, allocations: 0.7319 MB / 1.358 GB, free: 3.473 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0001255/0.4027, allocations: 57.56 kB / 1.358 GB, free: 3.414 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001224/0.4028, allocations: 63.41 kB / 1.358 GB, free: 3.352 MB / 1.045 GB Notification: Performance of SimCode: time 7.41e-07/0.4028, allocations: 192 / 1.358 GB, free: 3.352 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0277/0.4305, allocations: 5.414 MB / 1.363 GB, free: 14.02 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.38/11.81, allocations: 10.73 kB / 1.363 GB, free: 14.01 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.711382978013717] Failed to read output from testmodel.py, exit status != 0: 12.030270498013124 12.058552735 11.663929652 Calling exit ...