Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.FixedResistances.BaseClasses.Validation.PlugFlowCore.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.BaseClasses.Validation.PlugFlowCore,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_FixedResistances_BaseClasses_Validation_PlugFlowCore",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.BaseClasses.Validation.PlugFlowCore,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_FixedResistances_BaseClasses_Validation_PlugFlowCore",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.636/1.636, allocations: 287.4 MB / 302.6 MB, free: 8.281 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.001177/0.001176, allocations: 180.7 kB / 371.1 MB, free: 10.84 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.523/1.523, allocations: 205.4 MB / 0.6298 GB, free: 10.57 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.000773/0.0007731, allocations: 96.45 kB / 0.7431 GB, free: 6.551 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004111/0.0004112, allocations: 15.94 kB / 0.8662 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1737/0.1742, allocations: 115.3 MB / 0.9787 GB, free: 28.09 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.BaseClasses.Validation.PlugFlowCore): time 0.02112/0.1953, allocations: 30.82 MB / 1.009 GB, free: 13.18 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.01071/0.2061, allocations: 9.151 MB / 1.018 GB, free: 4.012 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001051/0.2072, allocations: 23.81 kB / 1.018 GB, free: 3.988 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0009714/0.2082, allocations: 274.2 kB / 1.018 GB, free: 3.719 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.003246/0.2115, allocations: 1.131 MB / 1.019 GB, free: 2.582 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.002106/0.2136, allocations: 0.7161 MB / 1.02 GB, free: 1.867 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.002677/0.2163, allocations: 2.303 MB / 1.022 GB, free: 15.56 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007066/0.217, allocations: 0.5142 MB / 1.023 GB, free: 15.02 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00139/0.2184, allocations: 0.7777 MB / 1.023 GB, free: 14.24 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006683/0.2191, allocations: 0.5757 MB / 1.024 GB, free: 13.66 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 8.053e-05/0.2192, allocations: 36 kB / 1.024 GB, free: 13.62 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001955/0.2212, allocations: 1.017 MB / 1.025 GB, free: 12.61 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.0001331/0.2213, allocations: 131.3 kB / 1.025 GB, free: 12.48 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.0001888/0.2215, allocations: 181.3 kB / 1.025 GB, free: 12.29 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.001259/0.2228, allocations: 1.095 MB / 1.026 GB, free: 11.2 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.2228, allocations: 0 / 1.026 GB, free: 11.2 MB / 0.6511 GB Notification: Performance of FrontEnd: time 6.182e-06/0.2228, allocations: 0 / 1.026 GB, free: 11.2 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 8.997e-06/0.2228, allocations: 3.938 kB / 1.026 GB, free: 11.19 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 111 * Number of variables: 111 Notification: Performance of Generate backend data structure: time 0.001723/0.2245, allocations: 1.09 MB / 1.027 GB, free: 10.05 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.15e-05/0.2246, allocations: 12.03 kB / 1.027 GB, free: 10.04 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.901e-05/0.2247, allocations: 82.7 kB / 1.027 GB, free: 9.949 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001145/0.2248, allocations: 87.91 kB / 1.028 GB, free: 9.863 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001009/0.2258, allocations: 0.6519 MB / 1.028 GB, free: 9.172 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.853e-05/0.2259, allocations: 41 kB / 1.028 GB, free: 9.133 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.606e-05/0.226, allocations: 43.94 kB / 1.028 GB, free: 9.09 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007649/0.2267, allocations: 438.4 kB / 1.029 GB, free: 8.656 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.196e-05/0.2268, allocations: 0 / 1.029 GB, free: 8.656 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.205e-05/0.2268, allocations: 16 kB / 1.029 GB, free: 8.641 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.437e-05/0.2268, allocations: 12 kB / 1.029 GB, free: 8.629 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007388/0.2276, allocations: 379.7 kB / 1.029 GB, free: 8.254 MB / 0.6511 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004185/0.2318, allocations: 2.787 MB / 1.032 GB, free: 5.18 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008481/0.2327, allocations: 393.5 kB / 1.032 GB, free: 4.789 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000303/0.233, allocations: 160.9 kB / 1.032 GB, free: 4.629 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001133/0.2341, allocations: 1.433 MB / 1.034 GB, free: 2.883 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.542e-05/0.2342, allocations: 38.84 kB / 1.034 GB, free: 2.836 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=35): time 2.525e-06/0.2342, allocations: 0 / 1.034 GB, free: 2.836 MB / 0.6511 GB Notification: Performance of matching and sorting (n=35): time 0.001102/0.2353, allocations: 0.5009 MB / 1.034 GB, free: 2.328 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.629e-05/0.2353, allocations: 59.39 kB / 1.034 GB, free: 2.258 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009911/0.2363, allocations: 0.7273 MB / 1.035 GB, free: 1.52 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 3.69e-05/0.2364, allocations: 37.7 kB / 1.035 GB, free: 1.477 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002419/0.2366, allocations: 332.2 kB / 1.035 GB, free: 1.148 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001017/0.2367, allocations: 130.1 kB / 1.036 GB, free: 1.02 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.014e-05/0.2368, allocations: 4 kB / 1.036 GB, free: 1.016 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 9.254e-05/0.2369, allocations: 329.9 kB / 1.036 GB, free: 0.6875 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002808/0.2372, allocations: 132.7 kB / 1.036 GB, free: 0.5586 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003225/0.2375, allocations: 201.4 kB / 1.036 GB, free: 348 kB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006145/0.2381, allocations: 350 kB / 1.036 GB, free: 15.98 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/0.2381, allocations: 3.938 kB / 1.036 GB, free: 15.97 MB / 0.6667 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0008822/0.239, allocations: 469.9 kB / 1.037 GB, free: 15.51 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 7.951e-05/0.2391, allocations: 128.6 kB / 1.037 GB, free: 15.36 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.096e-05/0.2391, allocations: 7.938 kB / 1.037 GB, free: 15.36 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.882e-05/0.2392, allocations: 7.938 kB / 1.037 GB, free: 15.35 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004987/0.2397, allocations: 107.9 kB / 1.037 GB, free: 15.24 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003846/0.2401, allocations: 0.59 MB / 1.038 GB, free: 14.63 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005185/0.2406, allocations: 67.36 kB / 1.038 GB, free: 14.56 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.846e-05/0.2407, allocations: 23.98 kB / 1.038 GB, free: 14.54 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 7.975e-06/0.2407, allocations: 4 kB / 1.038 GB, free: 14.54 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007503/0.2414, allocations: 383.2 kB / 1.038 GB, free: 14.16 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.272e-05/0.2415, allocations: 4 kB / 1.038 GB, free: 14.16 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.981e-06/0.2415, allocations: 4 kB / 1.038 GB, free: 14.15 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003404/0.2418, allocations: 100 kB / 1.038 GB, free: 14.05 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.995e-06/0.2418, allocations: 3.938 kB / 1.038 GB, free: 14.05 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004715/0.2423, allocations: 63.5 kB / 1.038 GB, free: 13.99 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.776e-05/0.2424, allocations: 27.98 kB / 1.038 GB, free: 13.96 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003077/0.2427, allocations: 265 kB / 1.039 GB, free: 13.69 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001382/0.2428, allocations: 75.06 kB / 1.039 GB, free: 13.62 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001589/0.2444, allocations: 0.8157 MB / 1.04 GB, free: 12.81 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.016e-05/0.2445, allocations: 11.94 kB / 1.04 GB, free: 12.8 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.284e-06/0.2445, allocations: 4 kB / 1.04 GB, free: 12.8 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.476e-06/0.2445, allocations: 7.984 kB / 1.04 GB, free: 12.79 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002164/0.2467, allocations: 1.458 MB / 1.041 GB, free: 11.27 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.154e-05/0.2467, allocations: 96 / 1.041 GB, free: 11.27 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003618/0.2471, allocations: 87.88 kB / 1.041 GB, free: 11.18 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.343e-06/0.2471, allocations: 4 kB / 1.041 GB, free: 11.18 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.909e-05/0.2471, allocations: 19.98 kB / 1.041 GB, free: 11.16 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002738/0.2474, allocations: 0.5899 MB / 1.042 GB, free: 10.54 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.2474, allocations: 0 / 1.042 GB, free: 10.54 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00184/0.2493, allocations: 1.008 MB / 1.043 GB, free: 9.512 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000478/0.2498, allocations: 243.8 kB / 1.043 GB, free: 9.254 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001401/0.2499, allocations: 12 kB / 1.043 GB, free: 9.242 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004374/0.2504, allocations: 39.97 kB / 1.043 GB, free: 9.203 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001052/0.2505, allocations: 44.31 kB / 1.043 GB, free: 9.16 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.196e-05/0.2505, allocations: 23.92 kB / 1.043 GB, free: 9.137 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0007222/0.2512, allocations: 0.5146 MB / 1.043 GB, free: 8.625 MB / 0.6667 GB Notification: Performance of sort global known variables: time 2.11e-07/0.2513, allocations: 0 / 1.043 GB, free: 8.625 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.001197/0.2525, allocations: 443.5 kB / 1.044 GB, free: 8.191 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (pip.del.x,pip.timDel.x,senTemOut.T,senTemIn.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (52): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 14 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002513/0.255, allocations: 1.89 MB / 1.046 GB, free: 6.273 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.001471/0.2565, allocations: 0.7384 MB / 1.046 GB, free: 5.516 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.2565, allocations: 4.188 kB / 1.046 GB, free: 5.512 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0005494/0.257, allocations: 357.8 kB / 1.047 GB, free: 5.152 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002026/0.2591, allocations: 372.6 kB / 1.047 GB, free: 4.797 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007388/0.2665, allocations: 4.516 MB / 1.052 GB, free: 196 kB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004666/0.267, allocations: 0.9353 MB / 1.053 GB, free: 15.23 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0007757/0.2678, allocations: 219.1 kB / 1.053 GB, free: 15.03 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004238/0.2682, allocations: 311.2 kB / 1.053 GB, free: 14.73 MB / 0.6823 GB Notification: Performance of SimCode: time 7.51e-07/0.2682, allocations: 0 / 1.053 GB, free: 14.73 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8694/1.138, allocations: 26.19 MB / 1.079 GB, free: 83.9 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001867/1.138, allocations: 268.8 kB / 1.079 GB, free: 83.54 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.552/3.69, allocations: 2.828 kB / 1.079 GB, free: 83.54 MB / 0.6823 GB (rm -f Buildings_8.0.0_Buildings.Fluid.FixedResistances.BaseClasses.Validation.PlugFlowCore.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.FixedResistances.BaseClasses.Validation.PlugFlowCore.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.FixedResistances.BaseClasses.Validation.PlugFlowCore.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.FixedResistances.BaseClasses.Validation.PlugFlowCore.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_FixedResistances_BaseClasses_Validation_PlugFlowCore_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_FixedResistances_BaseClasses_Validation_PlugFlowCore.fmu > Buildings_8.0.0_Buildings.Fluid.FixedResistances.BaseClasses.Validation.PlugFlowCore.pipe 2>&1)