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.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData,fileNamePrefix="Buildings_latest_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.007197/0.007197, allocations: 94.98 kB / 15.73 MB, free: 6.039 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.002126/0.002126, allocations: 200.4 kB / 16.68 MB, free: 5.969 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.205/1.205, allocations: 222.9 MB / 240.4 MB, free: 4.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.445/2.445, allocations: 482.6 MB / 0.755 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001767/0.001767, allocations: 63.91 kB / 1.083 GB, free: 12.17 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2717/0.2735, allocations: 162.3 MB / 1.242 GB, free: 9.762 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData): time 0.002752/0.2763, allocations: 1.634 MB / 1.243 GB, free: 8.117 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001912/0.2782, allocations: 1.483 MB / 1.245 GB, free: 6.625 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.084e-05/0.2783, allocations: 4 kB / 1.245 GB, free: 6.621 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0003322/0.2786, allocations: 55.75 kB / 1.245 GB, free: 6.566 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001518/0.2788, allocations: 55.7 kB / 1.245 GB, free: 6.512 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002342/0.279, allocations: 107.6 kB / 1.245 GB, free: 6.406 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0002066/0.2792, allocations: 163.6 kB / 1.245 GB, free: 6.246 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.273e-05/0.2793, allocations: 12.2 kB / 1.245 GB, free: 6.234 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 9.097e-05/0.2794, allocations: 71.75 kB / 1.245 GB, free: 6.164 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001454/0.2795, allocations: 59.81 kB / 1.245 GB, free: 6.105 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.983e-05/0.2796, allocations: 12 kB / 1.245 GB, free: 6.094 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001201/0.2797, allocations: 63.98 kB / 1.245 GB, free: 6.031 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 6.247e-05/0.2798, allocations: 47.77 kB / 1.246 GB, free: 5.984 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 7.564e-05/0.2798, allocations: 71.58 kB / 1.246 GB, free: 5.914 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002584/0.2801, allocations: 191.2 kB / 1.246 GB, free: 5.727 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.56e-06/0.2801, allocations: 0 / 1.246 GB, free: 5.727 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.132e-06/0.2801, allocations: 3.938 kB / 1.246 GB, free: 5.723 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.027e-06/0.2801, allocations: 0 / 1.246 GB, free: 5.723 MB / 0.9981 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.0005819/0.2807, allocations: 474.4 kB / 1.246 GB, free: 5.211 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 2.85e-05/0.2808, allocations: 16.03 kB / 1.246 GB, free: 5.195 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.384e-05/0.2808, allocations: 34.75 kB / 1.246 GB, free: 5.152 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.769e-05/0.2809, allocations: 20.84 kB / 1.246 GB, free: 5.133 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003597/0.2812, allocations: 273.1 kB / 1.247 GB, free: 4.828 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.012e-05/0.2812, allocations: 4.375 kB / 1.247 GB, free: 4.824 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.944e-05/0.2813, allocations: 11.92 kB / 1.247 GB, free: 4.812 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002166/0.2815, allocations: 115.3 kB / 1.247 GB, free: 4.688 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.592e-06/0.2815, allocations: 4 kB / 1.247 GB, free: 4.684 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.09e-05/0.2815, allocations: 4 kB / 1.247 GB, free: 4.68 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.517e-06/0.2815, allocations: 0 / 1.247 GB, free: 4.68 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002247/0.2818, allocations: 143.8 kB / 1.247 GB, free: 4.539 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002406/0.282, allocations: 229.6 kB / 1.247 GB, free: 4.266 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003583/0.2824, allocations: 170.5 kB / 1.247 GB, free: 4.09 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.931e-05/0.2825, allocations: 48.84 kB / 1.247 GB, free: 4.039 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.363e-05/0.2825, allocations: 8 kB / 1.247 GB, free: 4.031 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002033/0.2827, allocations: 115.3 kB / 1.247 GB, free: 3.906 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=13): time 1.322e-06/0.2827, allocations: 0 / 1.247 GB, free: 3.906 MB / 0.9981 GB Notification: Performance of matching and sorting (n=13): time 0.0004505/0.2832, allocations: 225.5 kB / 1.248 GB, free: 3.68 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.21e-05/0.2832, allocations: 77.11 kB / 1.248 GB, free: 3.586 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002097/0.2835, allocations: 207.8 kB / 1.248 GB, free: 3.371 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.381e-05/0.2835, allocations: 29.7 kB / 1.248 GB, free: 3.336 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 7.675e-05/0.2836, allocations: 120.2 kB / 1.248 GB, free: 3.215 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 4.812e-05/0.2836, allocations: 47.61 kB / 1.248 GB, free: 3.168 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.263e-05/0.2837, allocations: 33.7 kB / 1.248 GB, free: 3.129 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.000144/0.2838, allocations: 326.8 kB / 1.248 GB, free: 2.801 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.59e-05/0.2839, allocations: 47.97 kB / 1.248 GB, free: 2.754 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001189/0.2841, allocations: 78.42 kB / 1.249 GB, free: 2.668 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002153/0.2843, allocations: 132.6 kB / 1.249 GB, free: 2.535 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.536e-06/0.2843, allocations: 3.938 kB / 1.249 GB, free: 2.531 MB / 0.9981 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003186/0.2846, allocations: 189.5 kB / 1.249 GB, free: 2.34 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.045e-05/0.2846, allocations: 4 kB / 1.249 GB, free: 2.336 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.169e-06/0.2846, allocations: 7.938 kB / 1.249 GB, free: 2.328 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.518e-06/0.2847, allocations: 0 / 1.249 GB, free: 2.328 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001022/0.2848, allocations: 23.98 kB / 1.249 GB, free: 2.305 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.827e-06/0.2848, allocations: 0 / 1.249 GB, free: 2.305 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.904e-05/0.2848, allocations: 12.03 kB / 1.249 GB, free: 2.293 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.456e-05/0.2848, allocations: 8 kB / 1.249 GB, free: 2.285 MB / 0.9981 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.0001233/0.285, allocations: 147.9 kB / 1.249 GB, free: 2.133 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.6e-05/0.285, allocations: 19.86 kB / 1.249 GB, free: 2.113 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.564e-05/0.2851, allocations: 21.52 kB / 1.249 GB, free: 2.09 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.2851, allocations: 4 kB / 1.249 GB, free: 2.086 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.775e-06/0.2851, allocations: 0 / 1.249 GB, free: 2.086 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.2851, allocations: 0 / 1.249 GB, free: 2.086 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002099/0.2853, allocations: 241.4 kB / 1.249 GB, free: 1.801 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.2853, allocations: 4 kB / 1.249 GB, free: 1.797 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.157e-05/0.2854, allocations: 16 kB / 1.249 GB, free: 1.781 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.446e-06/0.2854, allocations: 3.984 kB / 1.249 GB, free: 1.777 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.534e-05/0.2854, allocations: 12 kB / 1.249 GB, free: 1.766 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.2854, allocations: 0 / 1.249 GB, free: 1.766 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.32e-07/0.2854, allocations: 0 / 1.249 GB, free: 1.766 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003369/0.2858, allocations: 219.2 kB / 1.25 GB, free: 1.535 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.262e-05/0.2858, allocations: 89.02 kB / 1.25 GB, free: 1.43 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.963e-05/0.2859, allocations: 8 kB / 1.25 GB, free: 1.422 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.67e-05/0.2859, allocations: 4 kB / 1.25 GB, free: 1.418 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.791e-05/0.286, allocations: 15.92 kB / 1.25 GB, free: 1.402 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.904e-05/0.286, allocations: 11.98 kB / 1.25 GB, free: 1.391 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.000133/0.2861, allocations: 148.5 kB / 1.25 GB, free: 1.246 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.6e-07/0.2861, allocations: 0 / 1.25 GB, free: 1.246 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.000242/0.2864, allocations: 35.92 kB / 1.25 GB, free: 1.211 MB / 0.9981 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.002002/0.2884, allocations: 1.116 MB / 1.251 GB, free: 252 kB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002538/0.2887, allocations: 123.9 kB / 1.251 GB, free: 128 kB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.2887, allocations: 0 / 1.251 GB, free: 128 kB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001115/0.2888, allocations: 59.97 kB / 1.251 GB, free: 68 kB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002648/0.2891, allocations: 27.98 kB / 1.251 GB, free: 40 kB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4466/0.7357, allocations: 1.943 MB / 1.253 GB, free: 13.58 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001247/0.7358, allocations: 0.7193 MB / 1.254 GB, free: 12.88 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001195/0.736, allocations: 46.56 kB / 1.254 GB, free: 12.88 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.18e-05/0.736, allocations: 59.45 kB / 1.254 GB, free: 12.88 MB / 0.9981 GB Notification: Performance of SimCode: time 9.22e-07/0.7361, allocations: 1.5 kB / 1.254 GB, free: 12.88 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3704/1.106, allocations: 4.706 MB / 1.258 GB, free: 12.18 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.17/12.27, allocations: 12.89 kB / 1.258 GB, free: 12.17 MB / 0.9981 GB (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 --timeout=400 --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)