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.001575/0.001575, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001837/0.001837, allocations: 195.9 kB / 16.14 MB, free: 6.664 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.418/1.418, allocations: 205.1 MB / 222 MB, free: 4.977 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.683/1.683, allocations: 292.3 MB / 0.5484 GB, free: 13.67 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.001388/0.001388, allocations: 71 kB / 0.6709 GB, free: 26.38 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2139/0.2153, allocations: 114.6 MB / 0.7828 GB, free: 13.91 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData): time 0.002822/0.2181, allocations: 1.698 MB / 0.7845 GB, free: 12.19 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001814/0.22, allocations: 1.379 MB / 0.7858 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.482e-05/0.22, allocations: 4 kB / 0.7858 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0003759/0.2204, allocations: 47.83 kB / 0.7859 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001305/0.2206, allocations: 43.83 kB / 0.7859 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001997/0.2208, allocations: 79.83 kB / 0.786 GB, free: 10.63 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001901/0.221, allocations: 159.6 kB / 0.7861 GB, free: 10.47 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.174e-05/0.221, allocations: 4.234 kB / 0.7861 GB, free: 10.47 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 9.465e-05/0.2211, allocations: 63.7 kB / 0.7862 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001733/0.2213, allocations: 55.81 kB / 0.7863 GB, free: 10.35 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.36e-05/0.2213, allocations: 8 kB / 0.7863 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001247/0.2215, allocations: 63.95 kB / 0.7863 GB, free: 10.28 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 6.97e-05/0.2216, allocations: 39.78 kB / 0.7864 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 6.783e-05/0.2216, allocations: 55.66 kB / 0.7864 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002496/0.2219, allocations: 191.7 kB / 0.7866 GB, free: 10 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.898e-06/0.2219, allocations: 4 kB / 0.7866 GB, free: 9.996 MB / 0.6075 GB Notification: Performance of FrontEnd: time 8.41e-07/0.2219, allocations: 0 / 0.7866 GB, free: 9.996 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.877e-06/0.2219, allocations: 0 / 0.7866 GB, free: 9.996 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.0006069/0.2225, allocations: 466.6 kB / 0.787 GB, free: 9.492 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.281e-05/0.2226, allocations: 8.031 kB / 0.7871 GB, free: 9.484 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.075e-05/0.2226, allocations: 42.73 kB / 0.7871 GB, free: 9.434 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.217e-05/0.2227, allocations: 16.75 kB / 0.7871 GB, free: 9.418 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003307/0.223, allocations: 267.5 kB / 0.7874 GB, free: 9.117 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.37e-05/0.2231, allocations: 4.375 kB / 0.7874 GB, free: 9.113 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.621e-05/0.2231, allocations: 11.94 kB / 0.7874 GB, free: 9.102 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002274/0.2233, allocations: 119.3 kB / 0.7875 GB, free: 8.973 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.328e-06/0.2233, allocations: 0 / 0.7875 GB, free: 8.973 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.258e-05/0.2234, allocations: 0 / 0.7875 GB, free: 8.973 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.122e-06/0.2234, allocations: 4 kB / 0.7875 GB, free: 8.969 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002275/0.2236, allocations: 143.8 kB / 0.7876 GB, free: 8.828 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002391/0.2238, allocations: 225.6 kB / 0.7879 GB, free: 8.559 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003734/0.2242, allocations: 182.5 kB / 0.788 GB, free: 8.371 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001072/0.2243, allocations: 48.84 kB / 0.7881 GB, free: 8.32 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.023e-05/0.2244, allocations: 15.97 kB / 0.7881 GB, free: 8.305 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002577/0.2246, allocations: 103.4 kB / 0.7882 GB, free: 8.191 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=13): time 1.643e-06/0.2247, allocations: 3.938 kB / 0.7882 GB, free: 8.188 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13): time 0.0004794/0.2251, allocations: 228.4 kB / 0.7884 GB, free: 7.961 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.01e-05/0.2252, allocations: 81.11 kB / 0.7885 GB, free: 7.863 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002136/0.2254, allocations: 210.5 kB / 0.7887 GB, free: 7.645 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.349e-05/0.2255, allocations: 25.7 kB / 0.7887 GB, free: 7.613 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 7.345e-05/0.2255, allocations: 116.1 kB / 0.7888 GB, free: 7.496 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 5.209e-05/0.2256, allocations: 43.36 kB / 0.7889 GB, free: 7.453 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.496e-05/0.2257, allocations: 33.7 kB / 0.7889 GB, free: 7.414 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0002097/0.2259, allocations: 326.8 kB / 0.7892 GB, free: 7.086 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001029/0.226, allocations: 51.97 kB / 0.7893 GB, free: 7.035 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001176/0.2261, allocations: 74.55 kB / 0.7893 GB, free: 6.953 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002171/0.2263, allocations: 125.6 kB / 0.7894 GB, free: 6.824 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/0.2263, allocations: 3.938 kB / 0.7894 GB, free: 6.82 MB / 0.6075 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000342/0.2267, allocations: 185.4 kB / 0.7896 GB, free: 6.633 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.281e-05/0.2267, allocations: 12.06 kB / 0.7896 GB, free: 6.621 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.2267, allocations: 0 / 0.7896 GB, free: 6.621 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.479e-05/0.2267, allocations: 3.984 kB / 0.7896 GB, free: 6.617 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001135/0.2269, allocations: 27.98 kB / 0.7897 GB, free: 6.59 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.232e-06/0.2269, allocations: 0 / 0.7897 GB, free: 6.59 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.79e-05/0.2269, allocations: 15.94 kB / 0.7897 GB, free: 6.574 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.281e-05/0.227, allocations: 4 kB / 0.7897 GB, free: 6.57 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.000116/0.2271, allocations: 146.3 kB / 0.7898 GB, free: 6.418 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.234e-05/0.2271, allocations: 19.75 kB / 0.7898 GB, free: 6.398 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.195e-05/0.2272, allocations: 25.53 kB / 0.7899 GB, free: 6.371 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.2272, allocations: 0 / 0.7899 GB, free: 6.371 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.151e-06/0.2272, allocations: 3.984 kB / 0.7899 GB, free: 6.367 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.2272, allocations: 0 / 0.7899 GB, free: 6.367 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001861/0.2274, allocations: 241.4 kB / 0.7901 GB, free: 6.082 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.2274, allocations: 4 kB / 0.7901 GB, free: 6.078 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.829e-05/0.2275, allocations: 15.98 kB / 0.7901 GB, free: 6.062 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/0.2275, allocations: 4 kB / 0.7901 GB, free: 6.059 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.397e-05/0.2275, allocations: 4 kB / 0.7901 GB, free: 6.055 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.786e-06/0.2275, allocations: 4 kB / 0.7901 GB, free: 6.051 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.2275, allocations: 0 / 0.7901 GB, free: 6.051 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003361/0.2279, allocations: 220.5 kB / 0.7903 GB, free: 5.82 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.287e-05/0.2279, allocations: 88.92 kB / 0.7904 GB, free: 5.715 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.38e-05/0.228, allocations: 11.94 kB / 0.7904 GB, free: 5.703 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.832e-05/0.228, allocations: 3.984 kB / 0.7904 GB, free: 5.699 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.232e-05/0.2281, allocations: 15.98 kB / 0.7905 GB, free: 5.684 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.914e-05/0.2281, allocations: 4 kB / 0.7905 GB, free: 5.68 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001345/0.2282, allocations: 159 kB / 0.7906 GB, free: 5.523 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2282, allocations: 0 / 0.7906 GB, free: 5.523 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002566/0.2285, allocations: 36 kB / 0.7906 GB, free: 5.488 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.001562/0.2301, allocations: 1.105 MB / 0.7917 GB, free: 4.531 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002634/0.2303, allocations: 120.9 kB / 0.7918 GB, free: 4.414 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.2303, allocations: 0 / 0.7918 GB, free: 4.414 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001172/0.2305, allocations: 55.98 kB / 0.7919 GB, free: 4.359 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002827/0.2308, allocations: 31.97 kB / 0.7919 GB, free: 4.328 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002333/0.2331, allocations: 1.96 MB / 0.7938 GB, free: 2.293 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003251/0.2334, allocations: 0.7241 MB / 0.7945 GB, free: 1.543 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0001537/0.2336, allocations: 57.58 kB / 0.7946 GB, free: 1.484 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001074/0.2337, allocations: 59.41 kB / 0.7947 GB, free: 1.426 MB / 0.6075 GB Notification: Performance of SimCode: time 3.51e-07/0.2337, allocations: 0 / 0.7947 GB, free: 1.426 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01579/0.2495, allocations: 4.389 MB / 0.7989 GB, free: 13.23 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002048/0.2497, allocations: 272.1 kB / 0.7992 GB, free: 12.88 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.77/2.02, allocations: 0 / 0.7992 GB, free: 12.88 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)