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.001023/0.001023, allocations: 104 kB / 15.61 MB, free: 148 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.001066/0.001066, allocations: 196.3 kB / 16.53 MB, free: 6.684 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.437/1.437, allocations: 205.1 MB / 222.4 MB, free: 4.621 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.685/1.685, allocations: 292.3 MB / 0.5489 GB, free: 12.8 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.001431/0.001431, allocations: 79.45 kB / 0.6716 GB, free: 26.34 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2246/0.2261, allocations: 114.5 MB / 0.7835 GB, free: 13.38 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData): time 0.00314/0.2293, allocations: 1.629 MB / 0.7851 GB, free: 11.73 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001916/0.2312, allocations: 1.407 MB / 0.7865 GB, free: 10.31 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.928e-05/0.2313, allocations: 0 / 0.7865 GB, free: 10.31 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0004401/0.2318, allocations: 55.73 kB / 0.7865 GB, free: 10.25 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.0001798/0.232, allocations: 55.7 kB / 0.7866 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.000216/0.2322, allocations: 82.95 kB / 0.7866 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002035/0.2324, allocations: 175.6 kB / 0.7868 GB, free: 9.949 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.323e-05/0.2325, allocations: 4.234 kB / 0.7868 GB, free: 9.945 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 9.401e-05/0.2326, allocations: 59.78 kB / 0.7869 GB, free: 9.887 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001895/0.2328, allocations: 75.73 kB / 0.7869 GB, free: 9.812 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.412e-05/0.2328, allocations: 8 kB / 0.787 GB, free: 9.805 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001356/0.2329, allocations: 67.97 kB / 0.787 GB, free: 9.738 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 6.614e-05/0.233, allocations: 39.89 kB / 0.7871 GB, free: 9.699 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 7.352e-05/0.2331, allocations: 63.59 kB / 0.7871 GB, free: 9.637 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002897/0.2334, allocations: 195.7 kB / 0.7873 GB, free: 9.445 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.2334, allocations: 4 kB / 0.7873 GB, free: 9.441 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.383e-06/0.2334, allocations: 0 / 0.7873 GB, free: 9.441 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.79e-06/0.2334, allocations: 0 / 0.7873 GB, free: 9.441 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.0006622/0.2341, allocations: 466.5 kB / 0.7878 GB, free: 8.938 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.959e-05/0.2341, allocations: 12.03 kB / 0.7878 GB, free: 8.926 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.077e-05/0.2342, allocations: 34.73 kB / 0.7878 GB, free: 8.883 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.639e-05/0.2343, allocations: 20.75 kB / 0.7878 GB, free: 8.863 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003552/0.2346, allocations: 267.5 kB / 0.7881 GB, free: 8.562 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.598e-06/0.2346, allocations: 4.375 kB / 0.7881 GB, free: 8.559 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.206e-05/0.2347, allocations: 11.94 kB / 0.7881 GB, free: 8.547 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002316/0.2349, allocations: 115.3 kB / 0.7882 GB, free: 8.422 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.145e-06/0.2349, allocations: 0 / 0.7882 GB, free: 8.422 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.423e-05/0.2349, allocations: 0 / 0.7882 GB, free: 8.422 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.593e-06/0.235, allocations: 8 kB / 0.7882 GB, free: 8.414 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002141/0.2352, allocations: 139.9 kB / 0.7883 GB, free: 8.277 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002415/0.2354, allocations: 225.6 kB / 0.7886 GB, free: 8.008 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003648/0.2358, allocations: 182.5 kB / 0.7887 GB, free: 7.82 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001024/0.2359, allocations: 52.78 kB / 0.7888 GB, free: 7.766 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.878e-05/0.236, allocations: 11.98 kB / 0.7888 GB, free: 7.754 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002911/0.2362, allocations: 107.4 kB / 0.7889 GB, free: 7.637 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=13): time 1.433e-06/0.2363, allocations: 4 kB / 0.7889 GB, free: 7.633 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13): time 0.0004813/0.2367, allocations: 217.4 kB / 0.7891 GB, free: 7.414 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.565e-05/0.2368, allocations: 85.05 kB / 0.7892 GB, free: 7.312 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001901/0.237, allocations: 206.5 kB / 0.7894 GB, free: 7.098 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.507e-05/0.237, allocations: 33.7 kB / 0.7894 GB, free: 7.059 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.73e-05/0.2371, allocations: 108.1 kB / 0.7895 GB, free: 6.949 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 5.127e-05/0.2372, allocations: 47.44 kB / 0.7896 GB, free: 6.902 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.208e-05/0.2372, allocations: 33.7 kB / 0.7896 GB, free: 6.863 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001102/0.2373, allocations: 330.8 kB / 0.7899 GB, free: 6.531 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.141e-05/0.2374, allocations: 51.97 kB / 0.79 GB, free: 6.48 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001032/0.2375, allocations: 70.55 kB / 0.79 GB, free: 6.402 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000196/0.2377, allocations: 120.9 kB / 0.7901 GB, free: 6.281 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.2378, allocations: 3.938 kB / 0.7901 GB, free: 6.277 MB / 0.6075 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003143/0.2381, allocations: 209.3 kB / 0.7903 GB, free: 6.066 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.59e-05/0.2381, allocations: 4 kB / 0.7903 GB, free: 6.062 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.2381, allocations: 0 / 0.7903 GB, free: 6.062 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.048e-05/0.2381, allocations: 4 kB / 0.7904 GB, free: 6.059 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001161/0.2383, allocations: 27.92 kB / 0.7904 GB, free: 6.031 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.68e-06/0.2383, allocations: 0 / 0.7904 GB, free: 6.031 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.735e-05/0.2383, allocations: 7.938 kB / 0.7904 GB, free: 6.023 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.209e-05/0.2384, allocations: 4 kB / 0.7904 GB, free: 6.02 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.0001221/0.2385, allocations: 149.2 kB / 0.7905 GB, free: 5.867 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.395e-05/0.2385, allocations: 15.84 kB / 0.7905 GB, free: 5.852 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.545e-05/0.2386, allocations: 25.47 kB / 0.7906 GB, free: 5.824 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.2386, allocations: 4 kB / 0.7906 GB, free: 5.82 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.2386, allocations: 3.938 kB / 0.7906 GB, free: 5.816 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.619e-06/0.2386, allocations: 3.984 kB / 0.7906 GB, free: 5.812 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001893/0.2388, allocations: 233.4 kB / 0.7908 GB, free: 5.535 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.2388, allocations: 0 / 0.7908 GB, free: 5.535 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.244e-05/0.2389, allocations: 23.92 kB / 0.7908 GB, free: 5.512 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.2389, allocations: 0 / 0.7908 GB, free: 5.512 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.421e-05/0.2389, allocations: 8 kB / 0.7908 GB, free: 5.504 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.2389, allocations: 0 / 0.7908 GB, free: 5.504 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.2389, allocations: 4 kB / 0.7908 GB, free: 5.5 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003389/0.2393, allocations: 212.8 kB / 0.791 GB, free: 5.273 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.753e-05/0.2393, allocations: 88.92 kB / 0.7911 GB, free: 5.168 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.464e-05/0.2394, allocations: 8 kB / 0.7911 GB, free: 5.16 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.868e-05/0.2394, allocations: 8 kB / 0.7911 GB, free: 5.152 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.327e-05/0.2395, allocations: 7.984 kB / 0.7911 GB, free: 5.145 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.022e-05/0.2395, allocations: 11.98 kB / 0.7912 GB, free: 5.133 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001308/0.2396, allocations: 155 kB / 0.7913 GB, free: 4.98 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2396, allocations: 0 / 0.7913 GB, free: 4.98 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002683/0.2399, allocations: 39.98 kB / 0.7913 GB, free: 4.941 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.001488/0.2414, allocations: 1.101 MB / 0.7924 GB, free: 3.992 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002932/0.2417, allocations: 139.9 kB / 0.7926 GB, free: 3.855 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.2417, allocations: 0 / 0.7926 GB, free: 3.855 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001174/0.2418, allocations: 59.92 kB / 0.7926 GB, free: 3.797 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002818/0.2421, allocations: 33.45 kB / 0.7926 GB, free: 3.77 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002068/0.2442, allocations: 1.944 MB / 0.7945 GB, free: 1.746 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002628/0.2445, allocations: 0.7202 MB / 0.7952 GB, free: 1 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0001187/0.2446, allocations: 41.67 kB / 0.7953 GB, free: 0.957 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001003/0.2447, allocations: 59.41 kB / 0.7953 GB, free: 0.8984 MB / 0.6075 GB Notification: Performance of SimCode: time 3.2e-07/0.2447, allocations: 0 / 0.7953 GB, free: 0.8984 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0279/0.2726, allocations: 4.586 MB / 0.7998 GB, free: 12.48 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.328/7.601, allocations: 14.62 kB / 0.7998 GB, free: 12.47 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData_fmu --startTime=0 --stopTime=603900 --timeout=50 --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)