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.001569/0.001569, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001854/0.001854, allocations: 195.9 kB / 16.25 MB, free: 6.629 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.376/1.376, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.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.412/2.412, allocations: 390.3 MB / 0.6644 GB, free: 0.6289 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001549/0.00155, allocations: 67.88 kB / 0.8122 GB, free: 14.68 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6833/0.6849, allocations: 140.4 MB / 0.9492 GB, free: 9.043 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData): time 0.003226/0.6882, allocations: 1.688 MB / 0.9509 GB, free: 7.723 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002013/0.6902, allocations: 1.457 MB / 0.9523 GB, free: 6.582 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001109/0.6904, allocations: 11.88 kB / 0.9523 GB, free: 6.57 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0004716/0.6909, allocations: 48.45 kB / 0.9524 GB, free: 6.543 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002255/0.6911, allocations: 48.19 kB / 0.9524 GB, free: 6.508 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003396/0.6915, allocations: 82.94 kB / 0.9525 GB, free: 6.457 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002333/0.6917, allocations: 166.8 kB / 0.9527 GB, free: 6.359 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 5.549e-05/0.6918, allocations: 9.406 kB / 0.9527 GB, free: 6.352 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000134/0.6919, allocations: 70.42 kB / 0.9527 GB, free: 6.309 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002033/0.6921, allocations: 66.34 kB / 0.9528 GB, free: 6.27 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.602e-05/0.6922, allocations: 9.75 kB / 0.9528 GB, free: 6.27 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001856/0.6924, allocations: 78.73 kB / 0.9529 GB, free: 6.234 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 7.672e-05/0.6925, allocations: 46.41 kB / 0.9529 GB, free: 6.203 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 7.981e-05/0.6925, allocations: 62.34 kB / 0.953 GB, free: 6.156 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003355/0.6929, allocations: 189.7 kB / 0.9532 GB, free: 6.035 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/0.6929, allocations: 0 / 0.9532 GB, free: 6.035 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.332e-06/0.6929, allocations: 0 / 0.9532 GB, free: 6.035 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.706e-06/0.6929, allocations: 0 / 0.9532 GB, free: 6.035 MB / 0.7169 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.000664/0.6936, allocations: 468.7 kB / 0.9536 GB, free: 5.578 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.708e-05/0.6936, allocations: 13.97 kB / 0.9536 GB, free: 5.574 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.2e-05/0.6937, allocations: 40.11 kB / 0.9537 GB, free: 5.527 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.206e-05/0.6938, allocations: 15.81 kB / 0.9537 GB, free: 5.52 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003391/0.6941, allocations: 262.7 kB / 0.9539 GB, free: 5.254 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.733e-05/0.6941, allocations: 2.656 kB / 0.9539 GB, free: 5.254 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.85e-05/0.6942, allocations: 12.34 kB / 0.9539 GB, free: 5.246 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002419/0.6944, allocations: 115.2 kB / 0.9541 GB, free: 5.156 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.117e-05/0.6944, allocations: 0 / 0.9541 GB, free: 5.156 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.7e-05/0.6945, allocations: 1.219 kB / 0.9541 GB, free: 5.156 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.6945, allocations: 1.188 kB / 0.9541 GB, free: 5.156 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002375/0.6947, allocations: 144 kB / 0.9542 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00024/0.695, allocations: 231.8 kB / 0.9544 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003773/0.6954, allocations: 174.6 kB / 0.9546 GB, free: 4.754 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001015/0.6955, allocations: 54.2 kB / 0.9546 GB, free: 4.723 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.363e-05/0.6955, allocations: 7.734 kB / 0.9546 GB, free: 4.719 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002823/0.6958, allocations: 117 kB / 0.9548 GB, free: 4.625 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=13): time 1.533e-06/0.6958, allocations: 0 / 0.9548 GB, free: 4.625 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13): time 0.0005003/0.6963, allocations: 228.3 kB / 0.955 GB, free: 4.512 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.477e-05/0.6964, allocations: 79.61 kB / 0.9551 GB, free: 4.418 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001881/0.6966, allocations: 206.1 kB / 0.9552 GB, free: 4.258 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.106e-05/0.6966, allocations: 36.62 kB / 0.9553 GB, free: 4.219 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.423e-05/0.6966, allocations: 113.5 kB / 0.9554 GB, free: 4.109 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 4.927e-05/0.6967, allocations: 43.92 kB / 0.9554 GB, free: 4.074 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.275e-05/0.6968, allocations: 34.12 kB / 0.9555 GB, free: 4.047 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.951e-05/0.6968, allocations: 331.7 kB / 0.9558 GB, free: 3.719 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001014/0.6969, allocations: 44.39 kB / 0.9558 GB, free: 3.699 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001154/0.6971, allocations: 73.39 kB / 0.9559 GB, free: 3.648 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002054/0.6973, allocations: 127.3 kB / 0.956 GB, free: 3.574 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.6973, allocations: 3.938 kB / 0.956 GB, free: 3.57 MB / 0.7169 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003212/0.6976, allocations: 191.6 kB / 0.9562 GB, free: 3.473 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.796e-05/0.6976, allocations: 7.969 kB / 0.9562 GB, free: 3.473 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.601e-06/0.6976, allocations: 0 / 0.9562 GB, free: 3.473 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.482e-05/0.6977, allocations: 1.406 kB / 0.9562 GB, free: 3.473 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001193/0.6978, allocations: 29.67 kB / 0.9562 GB, free: 3.465 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.924e-06/0.6978, allocations: 7.875 kB / 0.9562 GB, free: 3.461 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.732e-05/0.6979, allocations: 7.938 kB / 0.9563 GB, free: 3.453 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.258e-05/0.6979, allocations: 12.95 kB / 0.9563 GB, free: 3.445 MB / 0.7169 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.0001007/0.698, allocations: 139.8 kB / 0.9564 GB, free: 3.312 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.689e-05/0.698, allocations: 22.31 kB / 0.9564 GB, free: 3.301 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.056e-05/0.6981, allocations: 32.5 kB / 0.9565 GB, free: 3.277 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.6981, allocations: 3.594 kB / 0.9565 GB, free: 3.277 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.6981, allocations: 0 / 0.9565 GB, free: 3.277 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.6981, allocations: 0 / 0.9565 GB, free: 3.277 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001546/0.6983, allocations: 233.1 kB / 0.9567 GB, free: 3.031 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.6983, allocations: 1.469 kB / 0.9567 GB, free: 3.031 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.637e-05/0.6984, allocations: 23.86 kB / 0.9567 GB, free: 3.023 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/0.6984, allocations: 0 / 0.9567 GB, free: 3.023 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.517e-05/0.6984, allocations: 10.97 kB / 0.9567 GB, free: 3.016 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.394e-06/0.6984, allocations: 2.094 kB / 0.9567 GB, free: 3.016 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.953e-06/0.6984, allocations: 3.984 kB / 0.9567 GB, free: 3.012 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003196/0.6987, allocations: 206.3 kB / 0.9569 GB, free: 2.887 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.741e-05/0.6988, allocations: 97.19 kB / 0.957 GB, free: 2.777 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.704e-05/0.6988, allocations: 6.594 kB / 0.957 GB, free: 2.773 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.899e-05/0.6989, allocations: 6.25 kB / 0.957 GB, free: 2.77 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.905e-05/0.6989, allocations: 14.14 kB / 0.957 GB, free: 2.762 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.011e-05/0.699, allocations: 4.062 kB / 0.957 GB, free: 2.762 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001224/0.6991, allocations: 160 kB / 0.9572 GB, free: 2.645 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6991, allocations: 1.469 kB / 0.9572 GB, free: 2.645 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002903/0.6994, allocations: 33.34 kB / 0.9572 GB, free: 2.637 MB / 0.7169 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.001496/0.7009, allocations: 1.105 MB / 0.9583 GB, free: 1.844 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.000295/0.7012, allocations: 132.9 kB / 0.9584 GB, free: 1.789 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.7012, allocations: 4.062 kB / 0.9584 GB, free: 1.785 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001143/0.7013, allocations: 67.03 kB / 0.9585 GB, free: 1.754 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003031/0.7017, allocations: 35.33 kB / 0.9585 GB, free: 1.734 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00219/0.7038, allocations: 1.96 MB / 0.9604 GB, free: 184 kB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000272/0.7041, allocations: 0.722 MB / 0.9611 GB, free: 15.46 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001499/0.7043, allocations: 50.78 kB / 0.9612 GB, free: 15.44 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001177/0.7044, allocations: 56.94 kB / 0.9613 GB, free: 15.4 MB / 0.7325 GB Notification: Performance of SimCode: time 5.11e-07/0.7044, allocations: 0 / 0.9613 GB, free: 15.4 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0197/0.7241, allocations: 4.505 MB / 0.9657 GB, free: 13.17 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002464/0.7244, allocations: 272.2 kB / 0.9659 GB, free: 12.81 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.896/2.621, allocations: 0 / 0.9659 GB, free: 12.81 MB / 0.7325 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)