Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8805/0.8805, allocations: 141.8 MB / 149.3 MB, free: 9.238 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001117/0.001117, allocations: 179.9 kB / 182.2 MB, free: 9.469 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.577/1.577, allocations: 221.5 MB / 436.4 MB, free: 13.36 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009371/0.000937, allocations: 91.98 kB / 0.5074 GB, free: 10.19 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001768/0.001768, allocations: 269.8 kB / 0.5889 GB, free: 54.7 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 2.382e-05/2.357e-05, allocations: 4 kB / 0.6766 GB, free: 12.75 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5254/0.5254, allocations: 82.78 MB / 0.7575 GB, free: 31.96 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1515/0.677, allocations: 111.7 MB / 0.8665 GB, free: 128 kB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002282/0.6773, allocations: 87.94 kB / 0.8666 GB, free: 40 kB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.01412/0.6914, allocations: 5.261 MB / 0.8718 GB, free: 10.78 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.573e-06/0.6914, allocations: 4 kB / 0.8718 GB, free: 10.77 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.546e-05/0.6915, allocations: 4 kB / 0.8718 GB, free: 10.77 MB / 0.5417 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.0005509/0.692, allocations: 434 kB / 0.8722 GB, free: 10.3 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.849e-05/0.6921, allocations: 11.97 kB / 0.8722 GB, free: 10.29 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.847e-05/0.6921, allocations: 15.81 kB / 0.8722 GB, free: 10.27 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003863/0.6925, allocations: 254.7 kB / 0.8725 GB, free: 9.984 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.649e-05/0.6926, allocations: 4 kB / 0.8725 GB, free: 9.98 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.1e-05/0.6926, allocations: 3.984 kB / 0.8725 GB, free: 9.977 MB / 0.5417 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002916/0.6929, allocations: 187.8 kB / 0.8726 GB, free: 9.793 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002024/0.6931, allocations: 123.3 kB / 0.8728 GB, free: 9.66 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.077e-06/0.6931, allocations: 0 / 0.8728 GB, free: 9.66 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.633e-05/0.6931, allocations: 0 / 0.8728 GB, free: 9.66 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.923e-06/0.6932, allocations: 4 kB / 0.8728 GB, free: 9.656 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002918/0.6935, allocations: 229.9 kB / 0.873 GB, free: 9.395 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003965/0.6939, allocations: 202.5 kB / 0.8732 GB, free: 9.188 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.512e-05/0.694, allocations: 56.84 kB / 0.8732 GB, free: 9.129 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 2.136e-05/0.694, allocations: 0 / 0.8732 GB, free: 9.129 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002249/0.6942, allocations: 121.2 kB / 0.8733 GB, free: 9 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=13): time 5.941e-06/0.6942, allocations: 0 / 0.8733 GB, free: 9 MB / 0.5417 GB Notification: Performance of matching and sorting (n=13): time 0.0003742/0.6946, allocations: 189.4 kB / 0.8735 GB, free: 8.809 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.887e-05/0.6947, allocations: 85.11 kB / 0.8736 GB, free: 8.707 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003217/0.695, allocations: 213.9 kB / 0.8738 GB, free: 8.484 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 3.393e-05/0.6951, allocations: 33.69 kB / 0.8738 GB, free: 8.445 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 7.493e-05/0.6951, allocations: 108.1 kB / 0.8739 GB, free: 8.336 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 7.198e-05/0.6952, allocations: 47.44 kB / 0.874 GB, free: 8.289 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.005e-05/0.6952, allocations: 0 / 0.874 GB, free: 8.289 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001557/0.6954, allocations: 322.8 kB / 0.8743 GB, free: 7.965 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001223/0.6955, allocations: 55.92 kB / 0.8744 GB, free: 7.91 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001279/0.6957, allocations: 82.55 kB / 0.8744 GB, free: 7.82 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001014/0.6958, allocations: 61.59 kB / 0.8745 GB, free: 7.762 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.508e-06/0.6958, allocations: 0 / 0.8745 GB, free: 7.762 MB / 0.5417 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002894/0.6961, allocations: 209.3 kB / 0.8747 GB, free: 7.551 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.604e-05/0.6961, allocations: 4 kB / 0.8747 GB, free: 7.547 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.6961, allocations: 0 / 0.8747 GB, free: 7.547 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.401e-05/0.6961, allocations: 4 kB / 0.8747 GB, free: 7.543 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001359/0.6963, allocations: 27.92 kB / 0.8747 GB, free: 7.516 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.9e-06/0.6963, allocations: 0 / 0.8747 GB, free: 7.516 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.25e-05/0.6964, allocations: 15.95 kB / 0.8747 GB, free: 7.5 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.526e-05/0.6964, allocations: 7.984 kB / 0.8748 GB, free: 7.492 MB / 0.5417 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 ($whenCondition1,$PRE.combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEvent,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEventScaled) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.629e-05/0.6965, allocations: 105.8 kB / 0.8749 GB, free: 7.383 MB / 0.5417 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000277/0.6968, allocations: 190.5 kB / 0.875 GB, free: 7.191 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.02e-05/0.6968, allocations: 19.8 kB / 0.8751 GB, free: 7.172 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004384/0.6973, allocations: 266.8 kB / 0.8753 GB, free: 6.91 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.6973, allocations: 4 kB / 0.8753 GB, free: 6.906 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.735e-06/0.6973, allocations: 4 kB / 0.8753 GB, free: 6.902 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.377e-06/0.6973, allocations: 3.984 kB / 0.8753 GB, free: 6.898 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002233/0.6975, allocations: 230.3 kB / 0.8755 GB, free: 6.637 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.6975, allocations: 3.984 kB / 0.8755 GB, free: 6.633 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001157/0.6977, allocations: 35.89 kB / 0.8756 GB, free: 6.598 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.028e-06/0.6977, allocations: 3.984 kB / 0.8756 GB, free: 6.594 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.661e-05/0.6977, allocations: 8 kB / 0.8756 GB, free: 6.586 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.6977, allocations: 0 / 0.8756 GB, free: 6.586 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.6977, allocations: 3.938 kB / 0.8756 GB, free: 6.582 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000323/0.698, allocations: 259.1 kB / 0.8758 GB, free: 6.312 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 8.279e-05/0.6981, allocations: 104.8 kB / 0.8759 GB, free: 6.191 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.674e-05/0.6982, allocations: 15.89 kB / 0.876 GB, free: 6.176 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.071e-05/0.6983, allocations: 4 kB / 0.876 GB, free: 6.172 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.219e-05/0.6983, allocations: 11.98 kB / 0.876 GB, free: 6.16 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.704e-05/0.6984, allocations: 11.98 kB / 0.876 GB, free: 6.148 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0001635/0.6985, allocations: 176 kB / 0.8761 GB, free: 5.977 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6985, allocations: 4 kB / 0.8762 GB, free: 5.973 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002735/0.6988, allocations: 59.91 kB / 0.8762 GB, free: 5.914 MB / 0.5417 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.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00144/0.7003, allocations: 1.067 MB / 0.8773 GB, free: 4.926 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.000261/0.7005, allocations: 147.8 kB / 0.8774 GB, free: 4.781 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.7006, allocations: 7.938 kB / 0.8774 GB, free: 4.773 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0001224/0.7007, allocations: 87.98 kB / 0.8775 GB, free: 4.688 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002661/0.701, allocations: 28.58 kB / 0.8775 GB, free: 4.66 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006672/0.7016, allocations: 311.1 kB / 0.8778 GB, free: 4.316 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000282/0.7019, allocations: 0.7366 MB / 0.8785 GB, free: 3.551 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0001185/0.7021, allocations: 50.91 kB / 0.8786 GB, free: 3.508 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001449/0.7022, allocations: 71.41 kB / 0.8786 GB, free: 3.438 MB / 0.5417 GB Notification: Performance of SimCode: time 2.61e-07/0.7022, allocations: 0 / 0.8786 GB, free: 3.438 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02475/0.727, allocations: 4.471 MB / 0.883 GB, free: 15 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002321/0.7273, allocations: 205.2 kB / 0.8832 GB, free: 14.71 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.791/2.518, allocations: 1.25 kB / 0.8832 GB, free: 14.71 MB / 0.5573 GB (rm -f BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData_fmu --startTime=0 --stopTime=603900 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData.fmu > BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe 2>&1)