Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData,fileNamePrefix="Buildings_9_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData,fileNamePrefix="Buildings_9_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007855/0.007855, allocations: 102.3 kB / 15.73 MB, free: 5.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001855/0.001855, allocations: 191.2 kB / 16.67 MB, free: 5.52 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.284/1.284, allocations: 222.9 MB / 240.4 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.059/2.059, allocations: 390.2 MB / 0.6648 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001137/0.001137, allocations: 63.89 kB / 0.9504 GB, free: 8.152 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6769/0.678, allocations: 140.4 MB / 1.087 GB, free: 5.281 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData): time 0.002445/0.6805, allocations: 1.648 MB / 1.089 GB, free: 4.145 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001676/0.6822, allocations: 1.479 MB / 1.091 GB, free: 3.102 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.2e-05/0.6822, allocations: 1.312 kB / 1.091 GB, free: 3.102 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0003595/0.6826, allocations: 56.59 kB / 1.091 GB, free: 3.07 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001499/0.6828, allocations: 54.08 kB / 1.091 GB, free: 3.039 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002458/0.683, allocations: 103.8 kB / 1.091 GB, free: 2.984 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001869/0.6832, allocations: 173.7 kB / 1.091 GB, free: 2.906 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.119e-05/0.6833, allocations: 5.609 kB / 1.091 GB, free: 2.902 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 8.459e-05/0.6834, allocations: 58.3 kB / 1.091 GB, free: 2.879 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001369/0.6835, allocations: 68.08 kB / 1.091 GB, free: 2.848 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.257e-05/0.6835, allocations: 10.75 kB / 1.091 GB, free: 2.848 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001224/0.6837, allocations: 71.41 kB / 1.091 GB, free: 2.824 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 6.138e-05/0.6837, allocations: 39.28 kB / 1.091 GB, free: 2.809 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 6.471e-05/0.6838, allocations: 61.14 kB / 1.091 GB, free: 2.766 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002609/0.6841, allocations: 198.5 kB / 1.091 GB, free: 2.684 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.6841, allocations: 4.781 kB / 1.091 GB, free: 2.68 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.542e-06/0.6841, allocations: 0 / 1.091 GB, free: 2.68 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.917e-06/0.6841, allocations: 0 / 1.091 GB, free: 2.68 MB / 0.8575 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.000504/0.6846, allocations: 465.2 kB / 1.092 GB, free: 2.246 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.336e-05/0.6847, allocations: 9.531 kB / 1.092 GB, free: 2.246 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.011e-05/0.6847, allocations: 38.44 kB / 1.092 GB, free: 2.203 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.897e-05/0.6847, allocations: 16.75 kB / 1.092 GB, free: 2.195 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003416/0.6851, allocations: 263.1 kB / 1.092 GB, free: 1.957 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.542e-05/0.6851, allocations: 7.266 kB / 1.092 GB, free: 1.953 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.772e-05/0.6851, allocations: 11.94 kB / 1.092 GB, free: 1.945 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002161/0.6854, allocations: 115.2 kB / 1.092 GB, free: 1.875 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.406e-06/0.6854, allocations: 0.6562 kB / 1.092 GB, free: 1.875 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.376e-05/0.6854, allocations: 4.688 kB / 1.092 GB, free: 1.871 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.6854, allocations: 1.438 kB / 1.092 GB, free: 1.871 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002433/0.6857, allocations: 140.9 kB / 1.092 GB, free: 1.848 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001876/0.6859, allocations: 234.8 kB / 1.093 GB, free: 1.625 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003642/0.6862, allocations: 187.1 kB / 1.093 GB, free: 1.539 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001008/0.6863, allocations: 55.34 kB / 1.093 GB, free: 1.512 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 3.027e-05/0.6864, allocations: 10.55 kB / 1.093 GB, free: 1.508 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002074/0.6866, allocations: 108.6 kB / 1.093 GB, free: 1.441 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=13): time 1.513e-06/0.6866, allocations: 0.9688 kB / 1.093 GB, free: 1.441 MB / 0.8575 GB Notification: Performance of matching and sorting (n=13): time 0.0004702/0.6871, allocations: 225.2 kB / 1.093 GB, free: 1.348 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.291e-05/0.6871, allocations: 83.36 kB / 1.093 GB, free: 1.25 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001863/0.6873, allocations: 203 kB / 1.093 GB, free: 1.117 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.672e-05/0.6873, allocations: 31.92 kB / 1.094 GB, free: 1.082 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.018e-05/0.6874, allocations: 110.2 kB / 1.094 GB, free: 0.9805 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 4.382e-05/0.6874, allocations: 44.97 kB / 1.094 GB, free: 0.9492 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.043e-05/0.6875, allocations: 32.16 kB / 1.094 GB, free: 0.9258 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.947e-05/0.6875, allocations: 333.7 kB / 1.094 GB, free: 0.6016 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001032/0.6876, allocations: 46.23 kB / 1.094 GB, free: 0.5859 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001122/0.6878, allocations: 72.22 kB / 1.094 GB, free: 0.543 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000206/0.688, allocations: 122.9 kB / 1.094 GB, free: 496 kB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.688, allocations: 3.938 kB / 1.094 GB, free: 492 kB / 0.8575 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003228/0.6883, allocations: 195.1 kB / 1.094 GB, free: 400 kB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.528e-05/0.6883, allocations: 11.97 kB / 1.094 GB, free: 396 kB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.05e-06/0.6884, allocations: 1.391 kB / 1.094 GB, free: 396 kB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.469e-05/0.6884, allocations: 1.469 kB / 1.094 GB, free: 396 kB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001235/0.6885, allocations: 28.33 kB / 1.094 GB, free: 392 kB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.452e-06/0.6885, allocations: 5.438 kB / 1.094 GB, free: 388 kB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.879e-05/0.6886, allocations: 16.33 kB / 1.094 GB, free: 376 kB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.428e-05/0.6886, allocations: 9.188 kB / 1.095 GB, free: 372 kB / 0.8575 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 9.013e-05/0.6887, allocations: 136.1 kB / 1.095 GB, free: 244 kB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.53e-05/0.6887, allocations: 19.56 kB / 1.095 GB, free: 232 kB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.182e-05/0.6888, allocations: 26.78 kB / 1.095 GB, free: 216 kB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.6888, allocations: 5.562 kB / 1.095 GB, free: 212 kB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.6888, allocations: 0.7188 kB / 1.095 GB, free: 212 kB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.6888, allocations: 0.8438 kB / 1.095 GB, free: 212 kB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001984/0.689, allocations: 240.5 kB / 1.095 GB, free: 15.98 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.689, allocations: 0 / 1.095 GB, free: 15.98 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.247e-05/0.6891, allocations: 22.33 kB / 1.095 GB, free: 15.98 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.6891, allocations: 0.7812 kB / 1.095 GB, free: 15.98 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.524e-05/0.6891, allocations: 4.797 kB / 1.095 GB, free: 15.98 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.6892, allocations: 0.6562 kB / 1.095 GB, free: 15.98 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.6892, allocations: 4.75 kB / 1.095 GB, free: 15.98 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003742/0.6895, allocations: 217.6 kB / 1.095 GB, free: 15.86 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 4.798e-05/0.6896, allocations: 90.19 kB / 1.095 GB, free: 15.75 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.566e-05/0.6896, allocations: 7.047 kB / 1.095 GB, free: 15.75 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.06e-05/0.6897, allocations: 2.391 kB / 1.095 GB, free: 15.75 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.25e-05/0.6897, allocations: 14.55 kB / 1.095 GB, free: 15.75 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.043e-05/0.6898, allocations: 5.234 kB / 1.095 GB, free: 15.75 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0001585/0.6899, allocations: 164.1 kB / 1.095 GB, free: 15.64 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6899, allocations: 0 / 1.095 GB, free: 15.64 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0002705/0.6902, allocations: 32.55 kB / 1.095 GB, free: 15.64 MB / 0.8731 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.001507/0.6917, allocations: 1.099 MB / 1.097 GB, free: 14.87 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0002962/0.692, allocations: 130.6 kB / 1.097 GB, free: 14.82 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.6921, allocations: 0 / 1.097 GB, free: 14.82 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.000129/0.6922, allocations: 61.19 kB / 1.097 GB, free: 14.8 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002856/0.6925, allocations: 35.08 kB / 1.097 GB, free: 14.79 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002192/0.6947, allocations: 1.943 MB / 1.099 GB, free: 13.39 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002545/0.695, allocations: 0.7244 MB / 1.099 GB, free: 12.69 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0001263/0.6951, allocations: 51.7 kB / 1.099 GB, free: 12.67 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001001/0.6952, allocations: 57.36 kB / 1.099 GB, free: 12.64 MB / 0.8731 GB Notification: Performance of SimCode: time 3.51e-07/0.6952, allocations: 0 / 1.099 GB, free: 12.64 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.159/1.854, allocations: 4.692 MB / 1.104 GB, free: 11.78 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.54/14.4, allocations: 9.938 kB / 1.104 GB, free: 11.77 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe ; mkfifo Buildings_9_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe >> ../files/Buildings_9_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData_fmu --startTime=0 --stopTime=603900 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData.fmu > Buildings_9_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe 2>&1)