Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData,fileNamePrefix="Buildings_maint_7_0_x_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 7.0.3-maint.7.0.x/package.mo): time 1.585/1.585, allocations: 251.5 MB / 266.7 MB, free: 11.02 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001287/0.001287, allocations: 181 kB / 325.8 MB, free: 2.66 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.762/1.762, allocations: 205 MB / 0.576 GB, free: 20.97 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007697/0.0007698, allocations: 79.86 kB / 0.6797 GB, free: 14.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003716/0.0003718, allocations: 15.41 kB / 0.7933 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2131/0.2135, allocations: 105.4 MB / 0.8962 GB, free: 68.03 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData): time 0.001911/0.2154, allocations: 1.379 MB / 0.8976 GB, free: 66.63 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001722/0.2172, allocations: 1.38 MB / 0.8989 GB, free: 65.24 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.605e-05/0.2173, allocations: 0 / 0.8989 GB, free: 65.24 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0004529/0.2177, allocations: 55.77 kB / 0.899 GB, free: 65.19 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001443/0.2179, allocations: 43.78 kB / 0.899 GB, free: 65.14 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002238/0.2181, allocations: 81.7 kB / 0.8991 GB, free: 65.07 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001623/0.2183, allocations: 151.6 kB / 0.8992 GB, free: 64.92 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.201e-05/0.2184, allocations: 4.234 kB / 0.8992 GB, free: 64.91 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 7.972e-05/0.2184, allocations: 59.77 kB / 0.8993 GB, free: 64.86 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001735/0.2186, allocations: 63.75 kB / 0.8994 GB, free: 64.79 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.292e-05/0.2187, allocations: 8 kB / 0.8994 GB, free: 64.79 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00012/0.2188, allocations: 67.89 kB / 0.8994 GB, free: 64.72 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 5.789e-05/0.2188, allocations: 35.91 kB / 0.8995 GB, free: 64.68 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 5.943e-05/0.2189, allocations: 59.59 kB / 0.8995 GB, free: 64.62 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002195/0.2191, allocations: 175.5 kB / 0.8997 GB, free: 64.45 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.636e-06/0.2192, allocations: 0 / 0.8997 GB, free: 64.45 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.693e-06/0.2192, allocations: 0 / 0.8997 GB, free: 64.45 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.449e-06/0.2192, allocations: 0 / 0.8997 GB, free: 64.45 MB / 0.6042 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.000504/0.2197, allocations: 454.7 kB / 0.9001 GB, free: 63.96 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.277e-05/0.2197, allocations: 12.03 kB / 0.9001 GB, free: 63.95 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.606e-05/0.2198, allocations: 34.75 kB / 0.9002 GB, free: 63.91 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.715e-05/0.2198, allocations: 16.75 kB / 0.9002 GB, free: 63.89 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002745/0.2201, allocations: 263.7 kB / 0.9004 GB, free: 63.59 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.283e-05/0.2201, allocations: 384 / 0.9004 GB, free: 63.59 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.58e-05/0.2201, allocations: 15.92 kB / 0.9004 GB, free: 63.58 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001896/0.2203, allocations: 119.3 kB / 0.9006 GB, free: 63.45 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.523e-06/0.2204, allocations: 3.938 kB / 0.9006 GB, free: 63.45 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.257e-05/0.2204, allocations: 4 kB / 0.9006 GB, free: 63.44 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-06/0.2204, allocations: 0 / 0.9006 GB, free: 63.44 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001853/0.2206, allocations: 139.9 kB / 0.9007 GB, free: 63.3 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001667/0.2208, allocations: 233.5 kB / 0.9009 GB, free: 63.03 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003132/0.2211, allocations: 174.4 kB / 0.9011 GB, free: 62.85 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.164e-05/0.2212, allocations: 52.84 kB / 0.9011 GB, free: 62.79 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.976e-05/0.2212, allocations: 11.98 kB / 0.9012 GB, free: 62.78 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002068/0.2214, allocations: 107.3 kB / 0.9013 GB, free: 62.66 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=13): time 1.503e-06/0.2214, allocations: 4 kB / 0.9013 GB, free: 62.66 MB / 0.6042 GB Notification: Performance of matching and sorting (n=13): time 0.0004059/0.2218, allocations: 223.8 kB / 0.9015 GB, free: 62.44 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.342e-05/0.2219, allocations: 81.05 kB / 0.9016 GB, free: 62.34 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001454/0.222, allocations: 202.8 kB / 0.9017 GB, free: 62.13 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.527e-05/0.2221, allocations: 33.7 kB / 0.9018 GB, free: 62.09 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.98e-05/0.2221, allocations: 108.1 kB / 0.9019 GB, free: 61.98 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.931e-05/0.2221, allocations: 47.39 kB / 0.9019 GB, free: 61.93 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.361e-05/0.2222, allocations: 17.72 kB / 0.9019 GB, free: 61.91 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.146e-05/0.2222, allocations: 330.8 kB / 0.9023 GB, free: 61.58 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.072e-05/0.2223, allocations: 47.98 kB / 0.9023 GB, free: 61.53 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.077e-05/0.2224, allocations: 76.06 kB / 0.9024 GB, free: 61.45 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001709/0.2226, allocations: 121.6 kB / 0.9025 GB, free: 61.32 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.2226, allocations: 3.938 kB / 0.9025 GB, free: 61.32 MB / 0.6042 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002561/0.2229, allocations: 197.3 kB / 0.9027 GB, free: 61.12 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.365e-05/0.2229, allocations: 4 kB / 0.9027 GB, free: 61.12 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.2229, allocations: 0 / 0.9027 GB, free: 61.12 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.344e-05/0.2229, allocations: 4 kB / 0.9027 GB, free: 61.11 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001053/0.223, allocations: 27.98 kB / 0.9027 GB, free: 61.09 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.59e-06/0.223, allocations: 4 kB / 0.9027 GB, free: 61.08 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.696e-05/0.2231, allocations: 11.92 kB / 0.9027 GB, free: 61.07 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.144e-05/0.2231, allocations: 8 kB / 0.9027 GB, free: 61.06 MB / 0.6042 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 8.661e-05/0.2232, allocations: 137.8 kB / 0.9029 GB, free: 60.92 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.933e-05/0.2233, allocations: 15.81 kB / 0.9029 GB, free: 60.9 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.278e-05/0.2233, allocations: 29.5 kB / 0.9029 GB, free: 60.88 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.2233, allocations: 0 / 0.9029 GB, free: 60.88 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.089e-06/0.2233, allocations: 4 kB / 0.9029 GB, free: 60.87 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.2233, allocations: 4 kB / 0.9029 GB, free: 60.87 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001473/0.2235, allocations: 245.4 kB / 0.9032 GB, free: 60.58 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.2235, allocations: 0 / 0.9032 GB, free: 60.58 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.63e-05/0.2236, allocations: 27.92 kB / 0.9032 GB, free: 60.55 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.2236, allocations: 0 / 0.9032 GB, free: 60.55 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.262e-05/0.2236, allocations: 7.984 kB / 0.9032 GB, free: 60.54 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.2236, allocations: 0 / 0.9032 GB, free: 60.54 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.2236, allocations: 0 / 0.9032 GB, free: 60.54 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002755/0.2239, allocations: 207.5 kB / 0.9034 GB, free: 60.32 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.366e-05/0.2239, allocations: 104.8 kB / 0.9035 GB, free: 60.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.996e-05/0.224, allocations: 0 / 0.9035 GB, free: 60.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.835e-05/0.224, allocations: 8 kB / 0.9035 GB, free: 60.2 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.257e-05/0.2241, allocations: 11.97 kB / 0.9035 GB, free: 60.18 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.821e-05/0.2241, allocations: 4 kB / 0.9035 GB, free: 60.18 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001001/0.2242, allocations: 164.2 kB / 0.9037 GB, free: 60.02 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.373e-06/0.2242, allocations: 0 / 0.9037 GB, free: 60.02 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002319/0.2244, allocations: 43.86 kB / 0.9037 GB, free: 59.98 MB / 0.6042 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.001349/0.2258, allocations: 1.09 MB / 0.9048 GB, free: 59.03 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002325/0.226, allocations: 127.9 kB / 0.9049 GB, free: 58.91 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.2261, allocations: 0 / 0.9049 GB, free: 58.91 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 9.66e-05/0.2262, allocations: 59.91 kB / 0.905 GB, free: 58.85 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002708/0.2264, allocations: 31.98 kB / 0.905 GB, free: 58.82 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001714/0.2282, allocations: 1.97 MB / 0.9069 GB, free: 56.75 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001374/0.2283, allocations: 0.7202 MB / 0.9076 GB, free: 56.01 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001131/0.2284, allocations: 53.66 kB / 0.9077 GB, free: 55.96 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.998e-05/0.2285, allocations: 59.41 kB / 0.9077 GB, free: 55.9 MB / 0.6042 GB Notification: Performance of SimCode: time 3.41e-07/0.2285, allocations: 0 / 0.9077 GB, free: 55.9 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1299/0.3584, allocations: 4.154 MB / 0.9118 GB, free: 51.91 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002455/0.3587, allocations: 293.1 kB / 0.9121 GB, free: 51.52 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.776/2.134, allocations: 0 / 0.9121 GB, free: 51.52 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData_fmu --startTime=0 --stopTime=603900 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData.fmu > Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe 2>&1)