Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData,fileNamePrefix="Buildings_8_0_0_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/Buildings 8.0.0/package.mo): time 1.57/1.57, allocations: 287.4 MB / 302.6 MB, free: 8.355 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009848/0.0009849, allocations: 180.5 kB / 371.1 MB, free: 10.82 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.5/1.5, allocations: 205.4 MB / 0.6298 GB, free: 10.55 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008426/0.0008427, allocations: 89.23 kB / 0.7431 GB, free: 6.531 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003537/0.0003538, allocations: 11.84 kB / 0.8662 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1915/0.1919, allocations: 115.3 MB / 0.9788 GB, free: 28.06 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData): time 0.001699/0.1936, allocations: 1.331 MB / 0.9801 GB, free: 26.71 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001384/0.195, allocations: 1.326 MB / 0.9813 GB, free: 25.38 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.552e-05/0.1951, allocations: 0 / 0.9813 GB, free: 25.38 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0003439/0.1955, allocations: 43.83 kB / 0.9814 GB, free: 25.34 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001067/0.1956, allocations: 43.83 kB / 0.9814 GB, free: 25.29 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001795/0.1958, allocations: 73.72 kB / 0.9815 GB, free: 25.22 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001467/0.1959, allocations: 143.6 kB / 0.9816 GB, free: 25.08 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.224e-05/0.196, allocations: 4.234 kB / 0.9816 GB, free: 25.08 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 7.45e-05/0.1961, allocations: 59.77 kB / 0.9817 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001355/0.1962, allocations: 63.81 kB / 0.9818 GB, free: 24.96 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.984e-05/0.1962, allocations: 4 kB / 0.9818 GB, free: 24.95 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 9.565e-05/0.1963, allocations: 55.97 kB / 0.9818 GB, free: 24.9 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 4.479e-05/0.1964, allocations: 39.84 kB / 0.9819 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.717e-05/0.1964, allocations: 45.62 kB / 0.9819 GB, free: 24.81 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001529/0.1966, allocations: 143.9 kB / 0.982 GB, free: 24.67 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.449e-06/0.1966, allocations: 0 / 0.982 GB, free: 24.67 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.865e-06/0.1966, allocations: 4 kB / 0.982 GB, free: 24.66 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.888e-06/0.1966, allocations: 0 / 0.982 GB, free: 24.66 MB / 0.6198 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.0004779/0.1971, allocations: 444.7 kB / 0.9825 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.681e-05/0.1971, allocations: 8.031 kB / 0.9825 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.336e-05/0.1972, allocations: 38.73 kB / 0.9825 GB, free: 24.13 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.745e-05/0.1972, allocations: 16.75 kB / 0.9825 GB, free: 24.11 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002985/0.1975, allocations: 271.5 kB / 0.9828 GB, free: 23.81 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.027e-05/0.1976, allocations: 384 / 0.9828 GB, free: 23.81 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.939e-05/0.1976, allocations: 7.938 kB / 0.9828 GB, free: 23.8 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001989/0.1978, allocations: 123.3 kB / 0.9829 GB, free: 23.67 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.995e-06/0.1978, allocations: 0 / 0.9829 GB, free: 23.67 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.242e-05/0.1978, allocations: 0 / 0.9829 GB, free: 23.67 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.1978, allocations: 4 kB / 0.9829 GB, free: 23.66 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001877/0.198, allocations: 143.9 kB / 0.983 GB, free: 23.52 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001905/0.1982, allocations: 233.4 kB / 0.9833 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003072/0.1985, allocations: 182.5 kB / 0.9834 GB, free: 23.06 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.42e-05/0.1986, allocations: 56.83 kB / 0.9835 GB, free: 23 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.12e-05/0.1987, allocations: 4 kB / 0.9835 GB, free: 23 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002213/0.1989, allocations: 107.4 kB / 0.9836 GB, free: 22.88 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=13): time 1.363e-06/0.1989, allocations: 0 / 0.9836 GB, free: 22.88 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13): time 0.0003785/0.1993, allocations: 226.8 kB / 0.9838 GB, free: 22.65 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.988e-05/0.1993, allocations: 77.11 kB / 0.9839 GB, free: 22.56 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001495/0.1995, allocations: 210.8 kB / 0.9841 GB, free: 22.34 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.448e-05/0.1995, allocations: 25.7 kB / 0.9841 GB, free: 22.31 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.343e-05/0.1996, allocations: 116.1 kB / 0.9842 GB, free: 22.19 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.034e-05/0.1996, allocations: 47.42 kB / 0.9843 GB, free: 22.14 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.853e-06/0.1996, allocations: 4 kB / 0.9843 GB, free: 22.14 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.283e-05/0.1997, allocations: 326.8 kB / 0.9846 GB, free: 21.81 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.095e-05/0.1998, allocations: 43.98 kB / 0.9846 GB, free: 21.77 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.574e-05/0.1999, allocations: 74.55 kB / 0.9847 GB, free: 21.69 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001624/0.2, allocations: 126.6 kB / 0.9848 GB, free: 21.56 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.2001, allocations: 3.938 kB / 0.9848 GB, free: 21.55 MB / 0.6198 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002385/0.2003, allocations: 189.4 kB / 0.985 GB, free: 21.36 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.248e-05/0.2003, allocations: 4 kB / 0.985 GB, free: 21.36 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-06/0.2003, allocations: 0 / 0.985 GB, free: 21.36 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.079e-05/0.2003, allocations: 4 kB / 0.985 GB, free: 21.36 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.813e-05/0.2004, allocations: 23.98 kB / 0.985 GB, free: 21.33 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.821e-06/0.2005, allocations: 8.047 kB / 0.985 GB, free: 21.32 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.449e-05/0.2005, allocations: 19.83 kB / 0.9851 GB, free: 21.3 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.032e-05/0.2005, allocations: 4 kB / 0.9851 GB, free: 21.3 MB / 0.6198 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.538e-05/0.2006, allocations: 141.7 kB / 0.9852 GB, free: 21.15 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.114e-05/0.2007, allocations: 19.75 kB / 0.9852 GB, free: 21.13 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.213e-05/0.2007, allocations: 25.52 kB / 0.9853 GB, free: 21.11 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.2007, allocations: 0 / 0.9853 GB, free: 21.11 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.2007, allocations: 0 / 0.9853 GB, free: 21.11 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.2007, allocations: 8 kB / 0.9853 GB, free: 21.1 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000161/0.2009, allocations: 241.5 kB / 0.9855 GB, free: 20.82 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.021e-06/0.2009, allocations: 0 / 0.9855 GB, free: 20.82 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.447e-05/0.201, allocations: 16 kB / 0.9855 GB, free: 20.8 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.201, allocations: 0 / 0.9855 GB, free: 20.8 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.171e-05/0.201, allocations: 7.984 kB / 0.9855 GB, free: 20.79 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.193e-06/0.201, allocations: 0 / 0.9855 GB, free: 20.79 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.201, allocations: 0 / 0.9855 GB, free: 20.79 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002487/0.2013, allocations: 221.9 kB / 0.9857 GB, free: 20.56 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.243e-05/0.2013, allocations: 96.92 kB / 0.9858 GB, free: 20.45 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.052e-05/0.2013, allocations: 4 kB / 0.9858 GB, free: 20.44 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.663e-05/0.2014, allocations: 7.984 kB / 0.9858 GB, free: 20.43 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.765e-05/0.2014, allocations: 15.92 kB / 0.9858 GB, free: 20.42 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.63e-05/0.2015, allocations: 8 kB / 0.9859 GB, free: 20.41 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 9.535e-05/0.2016, allocations: 156 kB / 0.986 GB, free: 20.26 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2016, allocations: 0 / 0.986 GB, free: 20.26 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002076/0.2018, allocations: 36 kB / 0.986 GB, free: 20.22 MB / 0.6198 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 (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.001167/0.2029, allocations: 1.099 MB / 0.9871 GB, free: 19.27 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002068/0.2032, allocations: 123.9 kB / 0.9872 GB, free: 19.15 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.2032, allocations: 0 / 0.9872 GB, free: 19.15 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 8.881e-05/0.2033, allocations: 55.92 kB / 0.9873 GB, free: 19.1 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002341/0.2035, allocations: 40.8 kB / 0.9873 GB, free: 19.06 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001151/0.2047, allocations: 0.9918 MB / 0.9883 GB, free: 18.03 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001289/0.2048, allocations: 0.7318 MB / 0.989 GB, free: 17.27 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001052/0.2049, allocations: 53.64 kB / 0.9891 GB, free: 17.21 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.756e-05/0.205, allocations: 59.41 kB / 0.9891 GB, free: 17.16 MB / 0.6198 GB Notification: Performance of SimCode: time 2.6e-07/0.205, allocations: 0 / 0.9891 GB, free: 17.16 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1199/0.3249, allocations: 4.152 MB / 0.9932 GB, free: 13.2 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001586/0.3251, allocations: 259 kB / 0.9934 GB, free: 12.86 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.576/1.901, allocations: 0 / 0.9934 GB, free: 12.86 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData_fmu --startTime=0 --stopTime=603900 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData.fmu > Buildings_8.0.0_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe 2>&1)