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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001117/0.001117, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.008681/0.008681, allocations: 169.9 kB / 16.26 MB, free: 6.613 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.274/1.274, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.263/2.263, allocations: 390.9 MB / 0.6664 GB, free: 2.359 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003141/0.0003143, allocations: 16 kB / 0.8161 GB, free: 13.12 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5769/0.5772, allocations: 142.4 MB / 0.9552 GB, free: 7.77 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData): time 0.001573/0.5788, allocations: 1.356 MB / 0.9565 GB, free: 6.703 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001473/0.5803, allocations: 1.433 MB / 0.9579 GB, free: 5.582 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.218e-05/0.5803, allocations: 1.281 kB / 0.9579 GB, free: 5.582 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0003144/0.5807, allocations: 55.77 kB / 0.958 GB, free: 5.547 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.000111/0.5808, allocations: 39.11 kB / 0.958 GB, free: 5.52 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001984/0.581, allocations: 90.66 kB / 0.9581 GB, free: 5.461 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001575/0.5812, allocations: 158 kB / 0.9582 GB, free: 5.371 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.308e-05/0.5812, allocations: 12.34 kB / 0.9582 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.276e-05/0.5813, allocations: 57.89 kB / 0.9583 GB, free: 5.328 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001442/0.5814, allocations: 69.86 kB / 0.9584 GB, free: 5.285 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.78e-05/0.5815, allocations: 5.5 kB / 0.9584 GB, free: 5.285 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001055/0.5816, allocations: 59.72 kB / 0.9584 GB, free: 5.262 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 5.16e-05/0.5816, allocations: 42.95 kB / 0.9585 GB, free: 5.234 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.453e-05/0.5817, allocations: 75.12 kB / 0.9585 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002005/0.5819, allocations: 184.4 kB / 0.9587 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.5819, allocations: 0 / 0.9587 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.563e-06/0.5819, allocations: 5.094 kB / 0.9587 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.687e-06/0.5819, allocations: 0 / 0.9587 GB, free: 5.047 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.0004472/0.5824, allocations: 444.7 kB / 0.9591 GB, free: 4.602 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.373e-05/0.5824, allocations: 9.219 kB / 0.9592 GB, free: 4.602 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.522e-05/0.5825, allocations: 37.12 kB / 0.9592 GB, free: 4.559 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.791e-05/0.5825, allocations: 16.59 kB / 0.9592 GB, free: 4.551 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002595/0.5828, allocations: 262.3 kB / 0.9595 GB, free: 4.285 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.348e-05/0.5828, allocations: 6.859 kB / 0.9595 GB, free: 4.281 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.622e-05/0.5828, allocations: 7.844 kB / 0.9595 GB, free: 4.277 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001939/0.583, allocations: 122.6 kB / 0.9596 GB, free: 4.18 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.364e-06/0.583, allocations: 7.922 kB / 0.9596 GB, free: 4.172 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.271e-05/0.583, allocations: 1.25 kB / 0.9596 GB, free: 4.172 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.229e-06/0.5831, allocations: 0.9688 kB / 0.9596 GB, free: 4.172 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002002/0.5833, allocations: 141.2 kB / 0.9597 GB, free: 4.113 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001808/0.5835, allocations: 238.5 kB / 0.96 GB, free: 3.859 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003279/0.5838, allocations: 183.5 kB / 0.9601 GB, free: 3.758 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.549e-05/0.5839, allocations: 49.59 kB / 0.9602 GB, free: 3.73 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.576e-05/0.5839, allocations: 4.125 kB / 0.9602 GB, free: 3.73 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000206/0.5841, allocations: 113.7 kB / 0.9603 GB, free: 3.641 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=13): time 1.462e-06/0.5841, allocations: 0 / 0.9603 GB, free: 3.641 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13): time 0.0003983/0.5845, allocations: 224.4 kB / 0.9605 GB, free: 3.531 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.304e-05/0.5846, allocations: 83.8 kB / 0.9606 GB, free: 3.434 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001634/0.5847, allocations: 205.2 kB / 0.9608 GB, free: 3.273 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.595e-05/0.5848, allocations: 28.8 kB / 0.9608 GB, free: 3.242 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.132e-05/0.5848, allocations: 114.2 kB / 0.9609 GB, free: 3.133 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 4.059e-05/0.5849, allocations: 39.23 kB / 0.961 GB, free: 3.102 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.518e-05/0.5849, allocations: 17.62 kB / 0.961 GB, free: 3.082 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.866e-05/0.5849, allocations: 331.8 kB / 0.9613 GB, free: 2.754 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.14e-05/0.585, allocations: 48.33 kB / 0.9613 GB, free: 2.73 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.731e-05/0.5851, allocations: 72.36 kB / 0.9614 GB, free: 2.68 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001808/0.5853, allocations: 122.9 kB / 0.9615 GB, free: 2.609 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.5853, allocations: 4.906 kB / 0.9615 GB, free: 2.605 MB / 0.7169 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002792/0.5856, allocations: 193.6 kB / 0.9617 GB, free: 2.508 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.267e-05/0.5856, allocations: 5 kB / 0.9617 GB, free: 2.508 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.5857, allocations: 5.062 kB / 0.9617 GB, free: 2.504 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.648e-06/0.5857, allocations: 1.031 kB / 0.9617 GB, free: 2.504 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001055/0.5858, allocations: 28.77 kB / 0.9618 GB, free: 2.496 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.568e-06/0.5858, allocations: 1.031 kB / 0.9618 GB, free: 2.496 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.533e-05/0.5859, allocations: 16 kB / 0.9618 GB, free: 2.484 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.323e-05/0.5859, allocations: 8.672 kB / 0.9618 GB, free: 2.48 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 9.981e-05/0.586, allocations: 136.1 kB / 0.9619 GB, free: 2.352 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.641e-05/0.586, allocations: 19.81 kB / 0.9619 GB, free: 2.34 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.857e-05/0.5861, allocations: 31 kB / 0.962 GB, free: 2.32 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.544e-06/0.5861, allocations: 5.531 kB / 0.962 GB, free: 2.316 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.5861, allocations: 0.6875 kB / 0.962 GB, free: 2.316 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.965e-06/0.5861, allocations: 0 / 0.962 GB, free: 2.316 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001419/0.5862, allocations: 243.1 kB / 0.9622 GB, free: 2.062 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.5863, allocations: 0 / 0.9622 GB, free: 2.062 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.993e-05/0.5863, allocations: 27.14 kB / 0.9622 GB, free: 2.051 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.5863, allocations: 1.25 kB / 0.9622 GB, free: 2.051 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.048e-05/0.5863, allocations: 2.438 kB / 0.9622 GB, free: 2.051 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.5863, allocations: 5.109 kB / 0.9622 GB, free: 2.047 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.5864, allocations: 1.125 kB / 0.9622 GB, free: 2.047 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002787/0.5866, allocations: 214 kB / 0.9624 GB, free: 1.914 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.376e-05/0.5867, allocations: 98.31 kB / 0.9625 GB, free: 1.805 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.993e-05/0.5867, allocations: 6.344 kB / 0.9625 GB, free: 1.801 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.862e-05/0.5868, allocations: 10.56 kB / 0.9625 GB, free: 1.793 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.233e-05/0.5868, allocations: 9.078 kB / 0.9625 GB, free: 1.789 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.777e-05/0.5868, allocations: 12.81 kB / 0.9626 GB, free: 1.781 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001071/0.5869, allocations: 156.8 kB / 0.9627 GB, free: 1.668 MB / 0.7169 GB Notification: Performance of sort global known variables: time 6.81e-07/0.5869, allocations: 4 kB / 0.9627 GB, free: 1.664 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002379/0.5872, allocations: 47.2 kB / 0.9628 GB, free: 1.645 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.001271/0.5885, allocations: 1.093 MB / 0.9638 GB, free: 0.8633 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002326/0.5887, allocations: 120.6 kB / 0.9639 GB, free: 0.8125 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.5887, allocations: 1.031 kB / 0.9639 GB, free: 0.8125 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 9.798e-05/0.5888, allocations: 63 kB / 0.964 GB, free: 0.7852 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002535/0.5891, allocations: 38.39 kB / 0.964 GB, free: 0.7656 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00186/0.591, allocations: 1.966 MB / 0.966 GB, free: 15.2 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002341/0.5912, allocations: 0.7216 MB / 0.9667 GB, free: 14.48 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001183/0.5913, allocations: 50.09 kB / 0.9667 GB, free: 14.46 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.623e-05/0.5914, allocations: 60.66 kB / 0.9668 GB, free: 14.42 MB / 0.7325 GB Notification: Performance of SimCode: time 3.41e-07/0.5914, allocations: 0 / 0.9668 GB, free: 14.42 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01529/0.6067, allocations: 4.144 MB / 0.9708 GB, free: 12.5 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002191/0.607, allocations: 276.3 kB / 0.9711 GB, free: 12.14 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.717/2.324, allocations: 0 / 0.9711 GB, free: 12.14 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)