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.001558/0.001558, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001771/0.001771, allocations: 196.6 kB / 16.53 MB, free: 6.664 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.35/1.35, allocations: 222.9 MB / 240.2 MB, free: 4.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.617/2.617, allocations: 461.9 MB / 0.7346 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002054/0.002054, allocations: 67.47 kB / 0.8992 GB, free: 36.94 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2745/0.2765, allocations: 157.4 MB / 1.053 GB, free: 8.266 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData): time 0.002837/0.2794, allocations: 1.661 MB / 1.055 GB, free: 6.59 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001899/0.2813, allocations: 1.48 MB / 1.056 GB, free: 5.102 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.248e-05/0.2814, allocations: 3.938 kB / 1.056 GB, free: 5.098 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0003935/0.2818, allocations: 51.77 kB / 1.056 GB, free: 5.047 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001616/0.282, allocations: 47.77 kB / 1.056 GB, free: 5 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002478/0.2823, allocations: 111.6 kB / 1.056 GB, free: 4.891 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001825/0.2825, allocations: 163.6 kB / 1.056 GB, free: 4.73 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 3.932e-05/0.2825, allocations: 12.22 kB / 1.056 GB, free: 4.719 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 8.855e-05/0.2826, allocations: 67.77 kB / 1.056 GB, free: 4.652 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001637/0.2828, allocations: 67.73 kB / 1.056 GB, free: 4.586 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.654e-05/0.2828, allocations: 8 kB / 1.056 GB, free: 4.578 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001257/0.2829, allocations: 67.97 kB / 1.057 GB, free: 4.512 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 6.318e-05/0.283, allocations: 43.83 kB / 1.057 GB, free: 4.469 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 6.912e-05/0.2831, allocations: 59.67 kB / 1.057 GB, free: 4.41 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002445/0.2833, allocations: 191.7 kB / 1.057 GB, free: 4.223 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.159e-06/0.2834, allocations: 0 / 1.057 GB, free: 4.223 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.452e-06/0.2834, allocations: 3.938 kB / 1.057 GB, free: 4.219 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.24e-06/0.2834, allocations: 4 kB / 1.057 GB, free: 4.215 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.0005771/0.284, allocations: 474.6 kB / 1.057 GB, free: 3.703 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.893e-05/0.284, allocations: 12.62 kB / 1.057 GB, free: 3.691 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.59e-05/0.284, allocations: 34.75 kB / 1.057 GB, free: 3.648 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.184e-05/0.2841, allocations: 16.75 kB / 1.057 GB, free: 3.633 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003115/0.2844, allocations: 255.9 kB / 1.058 GB, free: 3.344 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.216e-05/0.2844, allocations: 4.312 kB / 1.058 GB, free: 3.34 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.747e-05/0.2845, allocations: 7.938 kB / 1.058 GB, free: 3.332 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002185/0.2847, allocations: 127.2 kB / 1.058 GB, free: 3.195 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.574e-06/0.2847, allocations: 0 / 1.058 GB, free: 3.195 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.912e-05/0.2847, allocations: 0 / 1.058 GB, free: 3.195 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.051e-06/0.2847, allocations: 7.938 kB / 1.058 GB, free: 3.188 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002145/0.285, allocations: 143.8 kB / 1.058 GB, free: 3.047 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002191/0.2852, allocations: 225.5 kB / 1.058 GB, free: 2.777 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003745/0.2856, allocations: 182.4 kB / 1.058 GB, free: 2.59 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.806e-05/0.2857, allocations: 56.83 kB / 1.058 GB, free: 2.531 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.671e-05/0.2857, allocations: 4 kB / 1.058 GB, free: 2.527 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002556/0.286, allocations: 110.7 kB / 1.058 GB, free: 2.41 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=13): time 1.443e-06/0.286, allocations: 0 / 1.058 GB, free: 2.41 MB / 0.8106 GB Notification: Performance of matching and sorting (n=13): time 0.0004576/0.2864, allocations: 225.4 kB / 1.059 GB, free: 2.184 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.818e-05/0.2865, allocations: 85.09 kB / 1.059 GB, free: 2.082 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001852/0.2867, allocations: 208.1 kB / 1.059 GB, free: 1.867 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.021e-05/0.2867, allocations: 29.7 kB / 1.059 GB, free: 1.832 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.482e-05/0.2868, allocations: 112.1 kB / 1.059 GB, free: 1.719 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 4.91e-05/0.2868, allocations: 43.39 kB / 1.059 GB, free: 1.676 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.109e-05/0.2869, allocations: 33.7 kB / 1.059 GB, free: 1.637 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.279e-05/0.287, allocations: 326.8 kB / 1.059 GB, free: 1.309 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.769e-05/0.2871, allocations: 51.98 kB / 1.059 GB, free: 1.258 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000109/0.2872, allocations: 70.55 kB / 1.06 GB, free: 1.18 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002011/0.2874, allocations: 125.7 kB / 1.06 GB, free: 1.051 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.085e-06/0.2874, allocations: 3.938 kB / 1.06 GB, free: 1.047 MB / 0.8106 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003043/0.2877, allocations: 196.7 kB / 1.06 GB, free: 0.8516 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.264e-05/0.2878, allocations: 5.25 kB / 1.06 GB, free: 0.8477 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.028e-06/0.2878, allocations: 4.062 kB / 1.06 GB, free: 0.8438 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.106e-05/0.2878, allocations: 0 / 1.06 GB, free: 0.8438 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001147/0.2879, allocations: 31.92 kB / 1.06 GB, free: 0.8125 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/0.2879, allocations: 0 / 1.06 GB, free: 0.8125 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.907e-05/0.288, allocations: 15.89 kB / 1.06 GB, free: 0.7969 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.205e-05/0.288, allocations: 4 kB / 1.06 GB, free: 0.793 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.0001056/0.2881, allocations: 140.6 kB / 1.06 GB, free: 0.6484 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.688e-05/0.2882, allocations: 19.81 kB / 1.06 GB, free: 0.6289 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.803e-05/0.2882, allocations: 25.52 kB / 1.06 GB, free: 0.6055 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.933e-06/0.2882, allocations: 4 kB / 1.06 GB, free: 0.6016 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.04e-06/0.2882, allocations: 4 kB / 1.06 GB, free: 0.5977 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.189e-06/0.2882, allocations: 7.922 kB / 1.06 GB, free: 0.5898 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001765/0.2884, allocations: 245.5 kB / 1.06 GB, free: 308 kB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.2884, allocations: 0 / 1.06 GB, free: 308 kB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.236e-05/0.2885, allocations: 19.94 kB / 1.06 GB, free: 288 kB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.2885, allocations: 0 / 1.06 GB, free: 288 kB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.332e-05/0.2885, allocations: 7.984 kB / 1.06 GB, free: 280 kB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.2885, allocations: 0 / 1.06 GB, free: 280 kB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.2885, allocations: 0 / 1.06 GB, free: 280 kB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003196/0.2889, allocations: 212.8 kB / 1.061 GB, free: 48 kB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 5.408e-05/0.2889, allocations: 88.92 kB / 1.061 GB, free: 15.94 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.533e-05/0.289, allocations: 8 kB / 1.061 GB, free: 15.93 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.851e-05/0.289, allocations: 0 / 1.061 GB, free: 15.93 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.974e-05/0.2891, allocations: 11.98 kB / 1.061 GB, free: 15.92 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.845e-05/0.2891, allocations: 8 kB / 1.061 GB, free: 15.91 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001271/0.2892, allocations: 158.9 kB / 1.061 GB, free: 15.76 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.31e-07/0.2892, allocations: 0 / 1.061 GB, free: 15.76 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002581/0.2895, allocations: 43.98 kB / 1.061 GB, free: 15.71 MB / 0.8262 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.001447/0.291, allocations: 1.098 MB / 1.062 GB, free: 14.77 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.000274/0.2912, allocations: 135.5 kB / 1.062 GB, free: 14.64 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.2913, allocations: 0 / 1.062 GB, free: 14.64 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001157/0.2914, allocations: 63.91 kB / 1.062 GB, free: 14.57 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002643/0.2916, allocations: 34.05 kB / 1.062 GB, free: 14.54 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001945/0.2936, allocations: 1.934 MB / 1.064 GB, free: 12.52 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000227/0.2938, allocations: 0.7241 MB / 1.065 GB, free: 11.77 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001074/0.294, allocations: 49.64 kB / 1.065 GB, free: 11.73 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.297e-05/0.2941, allocations: 55.41 kB / 1.065 GB, free: 11.67 MB / 0.8262 GB Notification: Performance of SimCode: time 2.41e-07/0.2941, allocations: 3.938 kB / 1.065 GB, free: 11.67 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03072/0.3248, allocations: 4.588 MB / 1.069 GB, free: 7.246 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.228/9.553, allocations: 11.84 kB / 1.069 GB, free: 7.234 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)