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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001834/0.001834, 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.002198/0.002198, allocations: 192.7 kB / 16.25 MB, free: 6.621 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.331/1.331, 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 11.0.1-master/package.mo): time 2.586/2.586, allocations: 461.9 MB / 0.7344 GB, free: 14.91 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001559/0.001559, allocations: 62.42 kB / 0.8987 GB, free: 37.16 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.282/0.2836, allocations: 157.4 MB / 1.052 GB, free: 8.621 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData): time 0.003137/0.2868, allocations: 1.73 MB / 1.054 GB, free: 6.875 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002055/0.2889, allocations: 1.452 MB / 1.056 GB, free: 5.414 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.94e-05/0.289, allocations: 3.938 kB / 1.056 GB, free: 5.41 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0004308/0.2894, allocations: 47.83 kB / 1.056 GB, free: 5.363 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001977/0.2896, allocations: 51.83 kB / 1.056 GB, free: 5.312 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003007/0.29, allocations: 86.97 kB / 1.056 GB, free: 5.23 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.000219/0.2902, allocations: 171.6 kB / 1.056 GB, free: 5.062 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 3.989e-05/0.2902, allocations: 8.234 kB / 1.056 GB, free: 5.055 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001173/0.2904, allocations: 63.77 kB / 1.056 GB, free: 4.992 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002114/0.2906, allocations: 71.8 kB / 1.056 GB, free: 4.922 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.186e-05/0.2906, allocations: 11.94 kB / 1.056 GB, free: 4.91 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001474/0.2908, allocations: 67.97 kB / 1.056 GB, free: 4.844 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 6.054e-05/0.2908, allocations: 43.83 kB / 1.056 GB, free: 4.801 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 7.437e-05/0.2909, allocations: 55.67 kB / 1.056 GB, free: 4.746 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002784/0.2912, allocations: 199.7 kB / 1.056 GB, free: 4.551 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.2912, allocations: 0 / 1.056 GB, free: 4.551 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.422e-06/0.2912, allocations: 0 / 1.056 GB, free: 4.551 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.362e-06/0.2912, allocations: 0 / 1.056 GB, free: 4.551 MB / 0.8106 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.0006249/0.2919, allocations: 478.5 kB / 1.057 GB, free: 4.035 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.83e-05/0.2919, allocations: 12.62 kB / 1.057 GB, free: 4.023 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.46e-05/0.292, allocations: 34.73 kB / 1.057 GB, free: 3.98 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.864e-05/0.292, allocations: 16.75 kB / 1.057 GB, free: 3.965 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003265/0.2924, allocations: 255.9 kB / 1.057 GB, free: 3.676 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.087e-05/0.2924, allocations: 4.375 kB / 1.057 GB, free: 3.672 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.241e-05/0.2924, allocations: 11.94 kB / 1.057 GB, free: 3.66 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002378/0.2927, allocations: 115.3 kB / 1.057 GB, free: 3.535 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.985e-06/0.2927, allocations: 0 / 1.057 GB, free: 3.535 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.645e-05/0.2927, allocations: 4 kB / 1.057 GB, free: 3.531 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.491e-06/0.2927, allocations: 3.938 kB / 1.057 GB, free: 3.527 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002269/0.2929, allocations: 139.9 kB / 1.057 GB, free: 3.391 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002358/0.2932, allocations: 237.5 kB / 1.058 GB, free: 3.109 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003669/0.2936, allocations: 178.5 kB / 1.058 GB, free: 2.926 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.984e-05/0.2937, allocations: 56.77 kB / 1.058 GB, free: 2.867 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 3.101e-05/0.2937, allocations: 4 kB / 1.058 GB, free: 2.863 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002549/0.294, allocations: 103.4 kB / 1.058 GB, free: 2.75 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=13): time 1.623e-06/0.294, allocations: 4 kB / 1.058 GB, free: 2.746 MB / 0.8106 GB Notification: Performance of matching and sorting (n=13): time 0.0004739/0.2945, allocations: 225.4 kB / 1.058 GB, free: 2.52 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.787e-05/0.2945, allocations: 81.05 kB / 1.058 GB, free: 2.422 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001993/0.2947, allocations: 208.1 kB / 1.058 GB, free: 2.207 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.363e-05/0.2948, allocations: 37.69 kB / 1.058 GB, free: 2.164 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.76e-05/0.2948, allocations: 104.1 kB / 1.059 GB, free: 2.059 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 5.453e-05/0.2949, allocations: 47.38 kB / 1.059 GB, free: 2.012 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.195e-05/0.2949, allocations: 29.72 kB / 1.059 GB, free: 1.977 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.646e-05/0.295, allocations: 338.8 kB / 1.059 GB, free: 1.637 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001016/0.2951, allocations: 47.98 kB / 1.059 GB, free: 1.59 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001062/0.2953, allocations: 66.55 kB / 1.059 GB, free: 1.516 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002027/0.2955, allocations: 128.7 kB / 1.059 GB, free: 1.387 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.317e-06/0.2955, allocations: 3.938 kB / 1.059 GB, free: 1.383 MB / 0.8106 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003139/0.2958, allocations: 197.4 kB / 1.059 GB, free: 1.184 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.342e-05/0.2958, allocations: 4 kB / 1.059 GB, free: 1.18 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.2958, allocations: 0 / 1.059 GB, free: 1.18 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.479e-05/0.2958, allocations: 4 kB / 1.059 GB, free: 1.176 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001193/0.296, allocations: 31.92 kB / 1.059 GB, free: 1.145 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/0.296, allocations: 0 / 1.059 GB, free: 1.145 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.796e-05/0.296, allocations: 7.906 kB / 1.059 GB, free: 1.137 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.189e-05/0.2961, allocations: 4 kB / 1.059 GB, free: 1.133 MB / 0.8106 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.0001132/0.2962, allocations: 155.2 kB / 1.06 GB, free: 0.9727 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.657e-05/0.2962, allocations: 19.84 kB / 1.06 GB, free: 0.9531 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.156e-05/0.2963, allocations: 25.52 kB / 1.06 GB, free: 0.9297 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.2963, allocations: 0 / 1.06 GB, free: 0.9297 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.2963, allocations: 0 / 1.06 GB, free: 0.9297 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.2963, allocations: 4 kB / 1.06 GB, free: 0.9258 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001788/0.2965, allocations: 237.5 kB / 1.06 GB, free: 0.6445 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.2965, allocations: 0 / 1.06 GB, free: 0.6445 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.417e-05/0.2966, allocations: 23.92 kB / 1.06 GB, free: 0.6211 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.434e-06/0.2966, allocations: 0 / 1.06 GB, free: 0.6211 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.489e-05/0.2966, allocations: 8 kB / 1.06 GB, free: 0.6133 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.2966, allocations: 0 / 1.06 GB, free: 0.6133 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.2966, allocations: 4 kB / 1.06 GB, free: 0.6094 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003246/0.2969, allocations: 204.8 kB / 1.06 GB, free: 400 kB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.545e-05/0.297, allocations: 88.92 kB / 1.06 GB, free: 292 kB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.509e-05/0.297, allocations: 11.98 kB / 1.06 GB, free: 280 kB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.991e-05/0.2971, allocations: 4 kB / 1.06 GB, free: 276 kB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.033e-05/0.2971, allocations: 15.98 kB / 1.06 GB, free: 260 kB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.788e-05/0.2972, allocations: 4 kB / 1.06 GB, free: 256 kB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.000127/0.2973, allocations: 159 kB / 1.06 GB, free: 96 kB / 0.8106 GB Notification: Performance of sort global known variables: time 1.7e-07/0.2973, allocations: 0 / 1.06 GB, free: 96 kB / 0.8106 GB Notification: Performance of remove unused functions: time 0.000254/0.2976, allocations: 36 kB / 1.06 GB, free: 60 kB / 0.8106 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.001509/0.2991, allocations: 1.102 MB / 1.061 GB, free: 15.11 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002823/0.2994, allocations: 135.9 kB / 1.062 GB, free: 14.97 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.2994, allocations: 4 kB / 1.062 GB, free: 14.97 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001131/0.2995, allocations: 59.91 kB / 1.062 GB, free: 14.91 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002752/0.2998, allocations: 38.83 kB / 1.062 GB, free: 14.88 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002067/0.3019, allocations: 1.964 MB / 1.064 GB, free: 12.83 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002388/0.3021, allocations: 0.7202 MB / 1.064 GB, free: 12.08 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001143/0.3023, allocations: 45.66 kB / 1.064 GB, free: 12.04 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001001/0.3024, allocations: 59.41 kB / 1.064 GB, free: 11.98 MB / 0.8262 GB Notification: Performance of SimCode: time 4.11e-07/0.3024, allocations: 4 kB / 1.064 GB, free: 11.98 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.727/2.03, allocations: 4.502 MB / 1.069 GB, free: 7.672 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002879/2.03, allocations: 280.9 kB / 1.069 GB, free: 7.293 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.586/3.616, allocations: 1.875 kB / 1.069 GB, free: 7.293 MB / 0.8262 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=50 --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)