Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.001237/0.001237, 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.001311/0.001311, 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.459/1.459, allocations: 230.6 MB / 253.5 MB, free: 15.11 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002481/0.002481, allocations: 281.1 kB / 309.8 MB, free: 3.488 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.094/1.094, allocations: 180.6 MB / 0.5338 GB, free: 12.41 MB / 398.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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(BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 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: BuildingSystems 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.004479/0.004479, allocations: 107.8 kB / 0.7347 GB, free: 2.457 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4968/0.5013, allocations: 95.33 MB / 0.8278 GB, free: 3.043 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData): time 0.00277/0.5041, allocations: 1.685 MB / 0.8294 GB, free: 1.875 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001953/0.506, allocations: 1.636 MB / 0.831 GB, free: 0.7344 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.702e-05/0.5061, allocations: 2.625 kB / 0.831 GB, free: 0.7344 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0004137/0.5065, allocations: 55.55 kB / 0.8311 GB, free: 0.7031 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0002234/0.5067, allocations: 98.25 kB / 0.8312 GB, free: 0.6484 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001413/0.5069, allocations: 76.27 kB / 0.8313 GB, free: 0.6055 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0001954/0.5071, allocations: 186.9 kB / 0.8314 GB, free: 0.5195 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.44e-05/0.5071, allocations: 3.422 kB / 0.8314 GB, free: 0.5195 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 9.291e-05/0.5072, allocations: 64.45 kB / 0.8315 GB, free: 0.4922 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001594/0.5074, allocations: 76.98 kB / 0.8316 GB, free: 468 kB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.249e-05/0.5074, allocations: 10.5 kB / 0.8316 GB, free: 468 kB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00016/0.5076, allocations: 117.6 kB / 0.8317 GB, free: 432 kB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 6.236e-05/0.5076, allocations: 42.7 kB / 0.8317 GB, free: 412 kB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 5.735e-05/0.5077, allocations: 65.28 kB / 0.8318 GB, free: 364 kB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0003012/0.508, allocations: 246.8 kB / 0.832 GB, free: 264 kB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.508, allocations: 0 / 0.832 GB, free: 264 kB / 0.5762 GB Notification: Performance of FrontEnd: time 1.223e-06/0.508, allocations: 4 kB / 0.832 GB, free: 260 kB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.352e-06/0.508, allocations: 0.9375 kB / 0.832 GB, free: 260 kB / 0.5762 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.0006261/0.5086, allocations: 493.5 kB / 0.8325 GB, free: 15.8 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.801e-05/0.5086, allocations: 13.55 kB / 0.8325 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.648e-05/0.5087, allocations: 2.938 kB / 0.8325 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.029e-05/0.5087, allocations: 38.78 kB / 0.8326 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.936e-05/0.5088, allocations: 21.38 kB / 0.8326 GB, free: 15.74 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004215/0.5092, allocations: 266.4 kB / 0.8328 GB, free: 15.5 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.234e-05/0.5092, allocations: 10.75 kB / 0.8328 GB, free: 15.49 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.987e-05/0.5092, allocations: 3.156 kB / 0.8329 GB, free: 15.49 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002498/0.5095, allocations: 117.6 kB / 0.833 GB, free: 15.42 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.408e-06/0.5095, allocations: 0 / 0.833 GB, free: 15.42 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.457e-05/0.5095, allocations: 0.6094 kB / 0.833 GB, free: 15.42 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-06/0.5095, allocations: 3.312 kB / 0.833 GB, free: 15.42 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002528/0.5097, allocations: 147.3 kB / 0.8331 GB, free: 15.39 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002927/0.51, allocations: 243.5 kB / 0.8333 GB, free: 15.16 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003763/0.5104, allocations: 163.4 kB / 0.8335 GB, free: 15.09 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.949e-05/0.5105, allocations: 47.42 kB / 0.8335 GB, free: 15.07 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 2.876e-05/0.5105, allocations: 10.2 kB / 0.8336 GB, free: 15.06 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002183/0.5108, allocations: 111.2 kB / 0.8337 GB, free: 14.99 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=13): time 1.462e-06/0.5108, allocations: 4 kB / 0.8337 GB, free: 14.99 MB / 0.5919 GB Notification: Performance of matching and sorting (n=13): time 0.0004951/0.5113, allocations: 223.2 kB / 0.8339 GB, free: 14.9 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.62e-05/0.5113, allocations: 79.8 kB / 0.834 GB, free: 14.8 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002389/0.5116, allocations: 219.8 kB / 0.8342 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.595e-05/0.5116, allocations: 33.28 kB / 0.8342 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 7.499e-05/0.5117, allocations: 112.5 kB / 0.8343 GB, free: 14.52 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 5.515e-05/0.5117, allocations: 45.36 kB / 0.8343 GB, free: 14.49 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.78e-05/0.5118, allocations: 37.02 kB / 0.8344 GB, free: 14.46 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001409/0.5119, allocations: 334.3 kB / 0.8347 GB, free: 14.14 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001011/0.512, allocations: 48.62 kB / 0.8347 GB, free: 14.12 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001297/0.5121, allocations: 73.09 kB / 0.8348 GB, free: 14.08 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002157/0.5124, allocations: 125.1 kB / 0.8349 GB, free: 14.01 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.5124, allocations: 3.938 kB / 0.8349 GB, free: 14.01 MB / 0.5919 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003327/0.5127, allocations: 194.2 kB / 0.8351 GB, free: 13.92 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.28e-05/0.5127, allocations: 5.5 kB / 0.8351 GB, free: 13.92 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.07e-06/0.5127, allocations: 1.453 kB / 0.8351 GB, free: 13.92 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.466e-05/0.5127, allocations: 2.938 kB / 0.8351 GB, free: 13.92 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001173/0.5128, allocations: 28.83 kB / 0.8352 GB, free: 13.92 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.52e-06/0.5128, allocations: 0.7969 kB / 0.8352 GB, free: 13.92 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.285e-05/0.5129, allocations: 11.94 kB / 0.8352 GB, free: 13.91 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.211e-05/0.5129, allocations: 6.656 kB / 0.8352 GB, free: 13.91 MB / 0.5919 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.0001309/0.5131, allocations: 149.3 kB / 0.8353 GB, free: 13.77 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.006e-05/0.5131, allocations: 16.59 kB / 0.8353 GB, free: 13.77 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.801e-05/0.5132, allocations: 26.48 kB / 0.8354 GB, free: 13.75 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.875e-06/0.5132, allocations: 1.906 kB / 0.8354 GB, free: 13.75 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.092e-06/0.5132, allocations: 4 kB / 0.8354 GB, free: 13.75 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.5132, allocations: 2.625 kB / 0.8354 GB, free: 13.75 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002324/0.5134, allocations: 246 kB / 0.8356 GB, free: 13.52 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.5134, allocations: 3.125 kB / 0.8356 GB, free: 13.52 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.443e-05/0.5135, allocations: 15.55 kB / 0.8356 GB, free: 13.52 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.869e-06/0.5135, allocations: 4.609 kB / 0.8356 GB, free: 13.52 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.407e-05/0.5135, allocations: 4.422 kB / 0.8356 GB, free: 13.52 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.354e-06/0.5135, allocations: 6.312 kB / 0.8356 GB, free: 13.52 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.5135, allocations: 0 / 0.8356 GB, free: 13.52 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003586/0.5139, allocations: 218.2 kB / 0.8358 GB, free: 13.39 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 6.728e-05/0.5139, allocations: 94.69 kB / 0.8359 GB, free: 13.29 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.588e-05/0.514, allocations: 7.078 kB / 0.8359 GB, free: 13.29 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.17e-05/0.514, allocations: 3.328 kB / 0.8359 GB, free: 13.29 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.87e-05/0.514, allocations: 9.484 kB / 0.836 GB, free: 13.29 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.338e-05/0.5141, allocations: 14.75 kB / 0.836 GB, free: 13.28 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0001593/0.5142, allocations: 158.1 kB / 0.8361 GB, free: 13.18 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.11e-07/0.5142, allocations: 2.375 kB / 0.8361 GB, free: 13.18 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0002797/0.5145, allocations: 48.7 kB / 0.8362 GB, free: 13.17 MB / 0.5919 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.002353/0.5169, allocations: 1.159 MB / 0.8373 GB, free: 12.38 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0003027/0.5172, allocations: 119.9 kB / 0.8374 GB, free: 12.34 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.5172, allocations: 0 / 0.8374 GB, free: 12.34 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001175/0.5173, allocations: 50.55 kB / 0.8375 GB, free: 12.32 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002955/0.5176, allocations: 39.7 kB / 0.8375 GB, free: 12.31 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00239/0.52, allocations: 1.993 MB / 0.8394 GB, free: 10.89 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003361/0.5203, allocations: 0.7301 MB / 0.8402 GB, free: 10.18 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001174/0.5204, allocations: 47.69 kB / 0.8402 GB, free: 10.17 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001156/0.5205, allocations: 62.53 kB / 0.8403 GB, free: 10.14 MB / 0.5919 GB Notification: Performance of SimCode: time 2.8e-07/0.5205, allocations: 0 / 0.8403 GB, free: 10.14 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02474/0.5453, allocations: 5.249 MB / 0.8454 GB, free: 9.18 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.534/9.079, allocations: 19.14 kB / 0.8454 GB, free: 9.168 MB / 0.5919 GB " [Timeout remaining time 651] (rm -f BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData_fmu --startTime=0 --stopTime=603900 --stepSize=900 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData.fmu > BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.070612473995425] Failed to read output from testmodel.py, exit status != 0: 9.264206367020961 9.285653997 8.773440227 Calling exit ...