Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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_8_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_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.001289/0.001289, allocations: 109.4 kB / 15.69 MB, free: 128 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.001208/0.001208, allocations: 186.6 kB / 16.62 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.43/1.43, allocations: 205.1 MB / 222.5 MB, free: 4.539 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.645/1.645, allocations: 292.3 MB / 0.549 GB, free: 12.77 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001414/0.001414, allocations: 67.2 kB / 0.6718 GB, free: 26.37 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2099/0.2113, allocations: 114.5 MB / 0.7836 GB, free: 13.25 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData): time 0.002824/0.2142, allocations: 1.639 MB / 0.7852 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001811/0.216, allocations: 1.419 MB / 0.7866 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.665e-05/0.2161, allocations: 0 / 0.7866 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0003648/0.2165, allocations: 51.7 kB / 0.7867 GB, free: 10.11 MB / 0.6075 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.0001615/0.2166, allocations: 59.73 kB / 0.7867 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001944/0.2169, allocations: 71.16 kB / 0.7868 GB, free: 9.984 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002003/0.2171, allocations: 171.6 kB / 0.787 GB, free: 9.816 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.021e-05/0.2171, allocations: 12.23 kB / 0.787 GB, free: 9.805 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001103/0.2172, allocations: 63.77 kB / 0.787 GB, free: 9.742 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000149/0.2174, allocations: 63.8 kB / 0.7871 GB, free: 9.68 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.221e-05/0.2174, allocations: 8 kB / 0.7871 GB, free: 9.672 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001165/0.2175, allocations: 67.97 kB / 0.7872 GB, free: 9.605 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 6.93e-05/0.2176, allocations: 43.89 kB / 0.7872 GB, free: 9.562 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 6.834e-05/0.2177, allocations: 63.55 kB / 0.7873 GB, free: 9.5 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002513/0.2179, allocations: 191.7 kB / 0.7875 GB, free: 9.312 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.695e-06/0.218, allocations: 0 / 0.7875 GB, free: 9.312 MB / 0.6075 GB Notification: Performance of FrontEnd: time 7.82e-07/0.218, allocations: 4 kB / 0.7875 GB, free: 9.309 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.839e-06/0.218, allocations: 4 kB / 0.7875 GB, free: 9.305 MB / 0.6075 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.000572/0.2185, allocations: 466.6 kB / 0.7879 GB, free: 8.801 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.097e-05/0.2186, allocations: 11.97 kB / 0.7879 GB, free: 8.789 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.908e-05/0.2186, allocations: 42.73 kB / 0.788 GB, free: 8.738 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.742e-05/0.2187, allocations: 16.75 kB / 0.788 GB, free: 8.723 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003815/0.2191, allocations: 255.9 kB / 0.7882 GB, free: 8.434 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.002e-05/0.2191, allocations: 4.375 kB / 0.7882 GB, free: 8.43 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.748e-05/0.2191, allocations: 7.938 kB / 0.7882 GB, free: 8.422 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002134/0.2193, allocations: 123.3 kB / 0.7883 GB, free: 8.289 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.001e-06/0.2194, allocations: 0 / 0.7883 GB, free: 8.289 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.192e-05/0.2194, allocations: 0 / 0.7883 GB, free: 8.289 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.448e-06/0.2194, allocations: 0 / 0.7883 GB, free: 8.289 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002255/0.2196, allocations: 147.8 kB / 0.7885 GB, free: 8.145 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002271/0.2199, allocations: 233.5 kB / 0.7887 GB, free: 7.867 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003485/0.2202, allocations: 182.4 kB / 0.7889 GB, free: 7.68 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.725e-05/0.2203, allocations: 52.83 kB / 0.7889 GB, free: 7.625 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.051e-05/0.2204, allocations: 4 kB / 0.7889 GB, free: 7.621 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001945/0.2206, allocations: 123.3 kB / 0.7891 GB, free: 7.488 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=13): time 1.283e-06/0.2206, allocations: 0 / 0.7891 GB, free: 7.488 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13): time 0.0004505/0.221, allocations: 213.5 kB / 0.7893 GB, free: 7.273 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.607e-05/0.2211, allocations: 89.09 kB / 0.7893 GB, free: 7.168 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000232/0.2213, allocations: 210.5 kB / 0.7895 GB, free: 6.949 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.019e-05/0.2214, allocations: 25.7 kB / 0.7896 GB, free: 6.918 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.9e-05/0.2214, allocations: 116.1 kB / 0.7897 GB, free: 6.801 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.473e-05/0.2215, allocations: 39.45 kB / 0.7897 GB, free: 6.762 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.835e-05/0.2215, allocations: 33.7 kB / 0.7898 GB, free: 6.723 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001027/0.2216, allocations: 326.8 kB / 0.7901 GB, free: 6.395 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.038e-05/0.2217, allocations: 47.98 kB / 0.7901 GB, free: 6.348 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001088/0.2218, allocations: 78.48 kB / 0.7902 GB, free: 6.262 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001942/0.222, allocations: 121.7 kB / 0.7903 GB, free: 6.137 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/0.2221, allocations: 3.938 kB / 0.7903 GB, free: 6.133 MB / 0.6075 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002998/0.2224, allocations: 196.5 kB / 0.7905 GB, free: 5.938 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.429e-05/0.2224, allocations: 12.88 kB / 0.7905 GB, free: 5.926 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.2224, allocations: 4.062 kB / 0.7905 GB, free: 5.922 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.06e-05/0.2224, allocations: 0 / 0.7905 GB, free: 5.922 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001076/0.2225, allocations: 23.98 kB / 0.7905 GB, free: 5.898 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.809e-06/0.2225, allocations: 4 kB / 0.7905 GB, free: 5.895 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.917e-05/0.2226, allocations: 15.92 kB / 0.7905 GB, free: 5.879 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.159e-05/0.2226, allocations: 4 kB / 0.7906 GB, free: 5.875 MB / 0.6075 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.0001062/0.2227, allocations: 141.7 kB / 0.7907 GB, free: 5.727 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.129e-05/0.2228, allocations: 15.81 kB / 0.7907 GB, free: 5.711 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.196e-05/0.2228, allocations: 21.52 kB / 0.7907 GB, free: 5.688 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.2228, allocations: 4 kB / 0.7907 GB, free: 5.684 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.2228, allocations: 0 / 0.7907 GB, free: 5.684 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.2228, allocations: 0 / 0.7907 GB, free: 5.684 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000188/0.223, allocations: 245.4 kB / 0.791 GB, free: 5.395 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.223, allocations: 0 / 0.791 GB, free: 5.395 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.674e-05/0.2231, allocations: 19.98 kB / 0.791 GB, free: 5.375 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.2231, allocations: 0 / 0.791 GB, free: 5.375 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.424e-05/0.2231, allocations: 8 kB / 0.791 GB, free: 5.367 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.2231, allocations: 0 / 0.791 GB, free: 5.367 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.2232, allocations: 0 / 0.791 GB, free: 5.367 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003231/0.2235, allocations: 216.8 kB / 0.7912 GB, free: 5.137 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.678e-05/0.2235, allocations: 88.92 kB / 0.7913 GB, free: 5.031 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.448e-05/0.2236, allocations: 15.92 kB / 0.7913 GB, free: 5.016 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.407e-05/0.2236, allocations: 0 / 0.7913 GB, free: 5.016 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.216e-05/0.2237, allocations: 15.98 kB / 0.7913 GB, free: 5 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.79e-05/0.2237, allocations: 4 kB / 0.7913 GB, free: 4.996 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001333/0.2238, allocations: 156.2 kB / 0.7915 GB, free: 4.844 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2238, allocations: 0 / 0.7915 GB, free: 4.844 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002392/0.2241, allocations: 40 kB / 0.7915 GB, free: 4.805 MB / 0.6075 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.001507/0.2256, allocations: 1.098 MB / 0.7926 GB, free: 3.855 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002796/0.2259, allocations: 127.5 kB / 0.7927 GB, free: 3.734 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.2259, allocations: 4 kB / 0.7927 GB, free: 3.73 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.000114/0.226, allocations: 55.97 kB / 0.7928 GB, free: 3.676 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002751/0.2263, allocations: 38.81 kB / 0.7928 GB, free: 3.641 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002192/0.2285, allocations: 1.94 MB / 0.7947 GB, free: 1.609 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003212/0.2288, allocations: 0.7241 MB / 0.7954 GB, free: 0.8594 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0001063/0.229, allocations: 45.61 kB / 0.7954 GB, free: 0.8164 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.771e-05/0.2291, allocations: 59.34 kB / 0.7955 GB, free: 0.7578 MB / 0.6075 GB Notification: Performance of SimCode: time 1.9e-07/0.2291, allocations: 0 / 0.7955 GB, free: 0.7578 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02125/0.2503, allocations: 4.609 MB / 0.8 GB, free: 12.33 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.51/7.76, allocations: 3.938 kB / 0.8 GB, free: 12.32 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe ; mkfifo Buildings_8_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe >> ../files/Buildings_8_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.sim & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData_res.csv --start-time 0 --stop-time 603900 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData.fmu > Buildings_8_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe 2>&1)