Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.TransportWaterAir.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.TransportWaterAir,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_TransportWaterAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.TransportWaterAir,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_TransportWaterAir",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.468/1.468, allocations: 252 MB / 267 MB, free: 10.95 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.001089/0.001089, allocations: 183.4 kB / 326.6 MB, free: 2.188 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.858/1.858, allocations: 205.4 MB / 0.5777 GB, free: 20.56 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.0008685/0.0008687, allocations: 91.92 kB / 0.6823 GB, free: 13.3 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004041/0.0004042, allocations: 10 kB / 0.7965 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2561/0.2565, allocations: 106.3 MB / 0.9003 GB, free: 64.14 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.TransportWaterAir): time 0.8295/1.086, allocations: 242 MB / 1.137 GB, free: 2.906 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0289/1.115, allocations: 22.84 MB / 1.159 GB, free: 2.41 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004337/1.119, allocations: 71.72 kB / 1.159 GB, free: 2.41 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.004009/1.123, allocations: 0.892 MB / 1.16 GB, free: 2.398 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.01273/1.136, allocations: 3.527 MB / 1.163 GB, free: 1.547 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.007349/1.144, allocations: 2.014 MB / 1.165 GB, free: 0.7734 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.01276/1.156, allocations: 7.977 MB / 1.173 GB, free: 15.78 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003545/1.16, allocations: 1.763 MB / 1.175 GB, free: 15.06 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007376/1.167, allocations: 2.615 MB / 1.177 GB, free: 13.91 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004705/1.172, allocations: 1.908 MB / 1.179 GB, free: 13.04 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 0.00109/1.173, allocations: 112.5 kB / 1.179 GB, free: 13.04 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009549/1.183, allocations: 2.437 MB / 1.182 GB, free: 12.22 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.00212/1.185, allocations: 0.6892 MB / 1.182 GB, free: 11.89 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.002317/1.187, allocations: 0.5811 MB / 1.183 GB, free: 11.78 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0095/1.197, allocations: 4.089 MB / 1.187 GB, free: 9.516 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 8.135e-06/1.197, allocations: 5.938 kB / 1.187 GB, free: 9.512 MB / 0.7136 GB Notification: Performance of FrontEnd: time 3.386e-06/1.197, allocations: 0 / 1.187 GB, free: 9.512 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0001821/1.197, allocations: 0 / 1.187 GB, free: 9.512 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 426 * Number of variables: 426 Notification: Performance of Generate backend data structure: time 0.008169/1.205, allocations: 2.876 MB / 1.19 GB, free: 7.684 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.97e-05/1.205, allocations: 14.36 kB / 1.19 GB, free: 7.68 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005902/1.206, allocations: 250 kB / 1.19 GB, free: 7.586 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003864/1.21, allocations: 0.6519 MB / 1.191 GB, free: 7.312 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005245/1.215, allocations: 2.2 MB / 1.193 GB, free: 5.895 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.418e-05/1.215, allocations: 128.7 kB / 1.193 GB, free: 5.82 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002555/1.215, allocations: 176 kB / 1.193 GB, free: 5.703 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003489/1.219, allocations: 1.972 MB / 1.195 GB, free: 4.32 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.765e-05/1.219, allocations: 7.906 kB / 1.195 GB, free: 4.312 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001539/1.219, allocations: 73.36 kB / 1.195 GB, free: 4.293 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.418e-05/1.219, allocations: 70.19 kB / 1.195 GB, free: 4.227 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002789/1.222, allocations: 1.543 MB / 1.197 GB, free: 2.859 MB / 0.7136 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.01406/1.236, allocations: 10.35 MB / 1.207 GB, free: 7.621 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00175/1.238, allocations: 1.065 MB / 1.208 GB, free: 6.527 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008819/1.239, allocations: 0.5533 MB / 1.208 GB, free: 5.973 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001886/1.241, allocations: 1.892 MB / 1.21 GB, free: 3.676 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.893e-05/1.241, allocations: 47.55 kB / 1.21 GB, free: 3.617 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=106): time 3.837e-06/1.241, allocations: 0 / 1.21 GB, free: 3.617 MB / 0.7292 GB Notification: Performance of matching and sorting (n=108): time 0.009545/1.25, allocations: 3.895 MB / 1.214 GB, free: 15.61 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.112e-05/1.25, allocations: 64.36 kB / 1.214 GB, free: 15.54 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003232/1.254, allocations: 1.989 MB / 1.216 GB, free: 13.52 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 0.0001608/1.254, allocations: 49.7 kB / 1.216 GB, free: 13.46 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009094/1.255, allocations: 1.036 MB / 1.217 GB, free: 12.42 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004174/1.255, allocations: 390.4 kB / 1.218 GB, free: 12.03 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.354e-05/1.255, allocations: 20 kB / 1.218 GB, free: 12.01 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001583/1.255, allocations: 353.9 kB / 1.218 GB, free: 11.66 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008345/1.256, allocations: 453.1 kB / 1.218 GB, free: 11.22 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001059/1.257, allocations: 0.7885 MB / 1.219 GB, free: 10.29 MB / 0.7448 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: duc.vol.dynBal.medium.p = duc.vol.dynBal.p_start (sin1.p = duc.vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.01425/1.272, allocations: 3.129 MB / 1.222 GB, free: 7.148 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.768e-06/1.272, allocations: 4 kB / 1.222 GB, free: 7.145 MB / 0.7448 GB Notification: Performance of matching and sorting (n=151) (initialization): time 0.003916/1.276, allocations: 1.673 MB / 1.224 GB, free: 5.461 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003157/1.276, allocations: 355.6 kB / 1.224 GB, free: 4.992 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.464e-05/1.276, allocations: 19.98 kB / 1.224 GB, free: 4.973 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001012/1.277, allocations: 215.7 kB / 1.224 GB, free: 4.758 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009256/1.278, allocations: 243.6 kB / 1.225 GB, free: 4.52 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001027/1.279, allocations: 1.206 MB / 1.226 GB, free: 3.262 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002125/1.281, allocations: 143.7 kB / 1.226 GB, free: 3.121 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001274/1.281, allocations: 63.97 kB / 1.226 GB, free: 3.059 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 9.658e-06/1.281, allocations: 4 kB / 1.226 GB, free: 3.055 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002928/1.284, allocations: 1.44 MB / 1.227 GB, free: 1.609 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.636e-05/1.284, allocations: 19.98 kB / 1.227 GB, free: 1.59 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009298/1.285, allocations: 220.8 kB / 1.228 GB, free: 1.371 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008909/1.286, allocations: 243.6 kB / 1.228 GB, free: 1.133 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009242/1.287, allocations: 1.206 MB / 1.229 GB, free: 15.88 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002226/1.289, allocations: 143.6 kB / 1.229 GB, free: 15.73 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000143/1.289, allocations: 59.98 kB / 1.229 GB, free: 15.68 MB / 0.7605 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: duc.vol.dynBal.medium.p = duc.vol.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * 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 (139): * Single equations (assignments): 131 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 3,1 3} Notification: Performance of prepare postOptimizeDAE: time 0.001192/1.291, allocations: 0.6143 MB / 1.23 GB, free: 15.05 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003665/1.291, allocations: 229.2 kB / 1.23 GB, free: 14.82 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003789/1.295, allocations: 1.978 MB / 1.232 GB, free: 12.86 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-05/1.295, allocations: 19.98 kB / 1.232 GB, free: 12.84 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.796e-06/1.295, allocations: 0 / 1.232 GB, free: 12.84 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002677/1.298, allocations: 1.525 MB / 1.233 GB, free: 11.26 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007731/1.305, allocations: 4.2 MB / 1.238 GB, free: 6.926 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.39e-05/1.305, allocations: 19.94 kB / 1.238 GB, free: 6.906 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007963/1.306, allocations: 180.4 kB / 1.238 GB, free: 6.73 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008072/1.307, allocations: 209.3 kB / 1.238 GB, free: 6.52 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.644e-05/1.307, allocations: 43.97 kB / 1.238 GB, free: 6.477 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002118/1.309, allocations: 2.651 MB / 1.241 GB, free: 3.637 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.322e-06/1.309, allocations: 8 kB / 1.241 GB, free: 3.629 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004492/1.314, allocations: 2.57 MB / 1.243 GB, free: 0.9766 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001301/1.315, allocations: 0.5057 MB / 1.244 GB, free: 460 kB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000288/1.315, allocations: 28 kB / 1.244 GB, free: 432 kB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001395/1.317, allocations: 128.4 kB / 1.244 GB, free: 304 kB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002296/1.317, allocations: 128.7 kB / 1.244 GB, free: 172 kB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001173/1.317, allocations: 55.98 kB / 1.244 GB, free: 116 kB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.002281/1.319, allocations: 1.393 MB / 1.245 GB, free: 14.71 MB / 0.7761 GB Notification: Performance of sort global known variables: time 2.81e-07/1.319, allocations: 0 / 1.245 GB, free: 14.71 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.002881/1.322, allocations: 1.07 MB / 1.246 GB, free: 13.64 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 21 * Number of states: 8 (pip.cor.del.x,pip.cor.timDel.x,pip.vol.dynBal.U,duc.cor.del.x,duc.cor.timDel.x,duc.vol.dynBal.U,duc.vol.dynBal.mXi[1],duc.vol.dynBal.mC[1]) * 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 (111): * Single equations (assignments): 90 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 18 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 2 {1 5,1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.00522/1.328, allocations: 3.562 MB / 1.25 GB, free: 10 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.003764/1.331, allocations: 2.221 MB / 1.252 GB, free: 7.711 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 9.157e-06/1.331, allocations: 4.25 kB / 1.252 GB, free: 7.707 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.001741/1.333, allocations: 1.126 MB / 1.253 GB, free: 6.531 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006426/1.34, allocations: 1.262 MB / 1.254 GB, free: 5.285 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03492/1.374, allocations: 15.12 MB / 1.269 GB, free: 4.949 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001387/1.376, allocations: 1.643 MB / 1.271 GB, free: 3.273 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.002781/1.379, allocations: 0.5964 MB / 1.271 GB, free: 2.68 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001337/1.38, allocations: 0.96 MB / 1.272 GB, free: 1.719 MB / 0.7917 GB Notification: Performance of SimCode: time 1.312e-06/1.38, allocations: 0 / 1.272 GB, free: 1.719 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1249/1.505, allocations: 71.83 MB / 1.342 GB, free: 10.55 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002323/1.505, allocations: 292.7 kB / 1.343 GB, free: 10.2 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.462/5.967, allocations: 0 / 1.343 GB, free: 10.2 MB / 0.8698 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.TransportWaterAir.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.TransportWaterAir.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.TransportWaterAir.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.TransportWaterAir.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_TransportWaterAir_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_TransportWaterAir.fmu > Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.TransportWaterAir.pipe 2>&1)