Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.TransportWaterAir.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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: translateModel(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.TransportWaterAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Tin.y|senTemOutW.T|senTemOutA.T|duc.port_b.Xi_outflow.1.|XiIn.1..y|duc.port_b.C_outflow.1.|CIn.1..y|pip.v_nominal|pip.v|duc.v_nominal|duc.v",fileNamePrefix="Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.TransportWaterAir") translateModel(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.TransportWaterAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Tin.y|senTemOutW.T|senTemOutA.T|duc.port_b.Xi_outflow.1.|XiIn.1..y|duc.port_b.C_outflow.1.|CIn.1..y|pip.v_nominal|pip.v|duc.v_nominal|duc.v",fileNamePrefix="Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.TransportWaterAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001019/0.001019, allocations: 100.5 kB / 15.71 MB, free: 452 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.001243/0.001243, allocations: 178.9 kB / 16.58 MB, free: 6.422 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.492/1.492, allocations: 223.2 MB / 240.6 MB, free: 5.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.732/2.732, allocations: 436.7 MB / 0.7113 GB, free: 7.906 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004124/0.0004124, allocations: 8.219 kB / 0.8717 GB, free: 4.766 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.831/0.8314, allocations: 153.7 MB / 1.022 GB, free: 1.266 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.TransportWaterAir): time 1.163/1.994, allocations: 283.8 MB / 1.299 GB, free: 7.191 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.03312/2.027, allocations: 24.93 MB / 1.323 GB, free: 6.715 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006319/2.033, allocations: 109 kB / 1.323 GB, free: 6.715 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.004866/2.038, allocations: 1.097 MB / 1.324 GB, free: 6.703 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.01452/2.053, allocations: 4.188 MB / 1.329 GB, free: 6.508 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.00918/2.062, allocations: 2.506 MB / 1.331 GB, free: 6.438 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.01363/2.076, allocations: 9.777 MB / 1.341 GB, free: 6.418 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005007/2.081, allocations: 2.14 MB / 1.343 GB, free: 22.12 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008372/2.089, allocations: 2.987 MB / 1.346 GB, free: 22.09 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005603/2.095, allocations: 2.315 MB / 1.348 GB, free: 22.08 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0009/2.096, allocations: 130.4 kB / 1.348 GB, free: 22.08 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01087/2.107, allocations: 2.843 MB / 1.351 GB, free: 22.02 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.002308/2.109, allocations: 0.8745 MB / 1.352 GB, free: 21.93 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0021/2.111, allocations: 0.6988 MB / 1.352 GB, free: 21.9 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.008508/2.12, allocations: 4.751 MB / 1.357 GB, free: 19.54 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.903e-06/2.12, allocations: 0 / 1.357 GB, free: 19.54 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.645e-06/2.12, allocations: 4 kB / 1.357 GB, free: 19.54 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0001346/2.12, allocations: 0 / 1.357 GB, free: 19.54 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 547 * Number of variables: 547 Notification: Performance of Generate backend data structure: time 0.007797/2.128, allocations: 3.297 MB / 1.36 GB, free: 17.48 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.78e-05/2.128, allocations: 12.7 kB / 1.36 GB, free: 17.48 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005526/2.133, allocations: 0.8169 MB / 1.361 GB, free: 17.14 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005865/2.139, allocations: 2.425 MB / 1.363 GB, free: 16.13 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001425/2.139, allocations: 164 kB / 1.363 GB, free: 16.12 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004608/2.14, allocations: 214.5 kB / 1.364 GB, free: 16.12 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004599/2.144, allocations: 2.546 MB / 1.366 GB, free: 15.36 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.314e-05/2.144, allocations: 6.219 kB / 1.366 GB, free: 15.36 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002099/2.145, allocations: 89.66 kB / 1.366 GB, free: 15.36 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.927e-05/2.145, allocations: 89.72 kB / 1.366 GB, free: 15.35 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003369/2.148, allocations: 2.02 MB / 1.368 GB, free: 15.03 MB / 0.9981 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.02057/2.169, allocations: 12.37 MB / 1.38 GB, free: 6.789 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002022/2.171, allocations: 1.496 MB / 1.382 GB, free: 6.406 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001024/2.172, allocations: 0.7707 MB / 1.383 GB, free: 6.301 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00174/2.174, allocations: 1.987 MB / 1.384 GB, free: 4.078 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.166e-05/2.174, allocations: 58.91 kB / 1.385 GB, free: 4.027 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=150): time 3.586e-06/2.174, allocations: 3.938 kB / 1.385 GB, free: 4.023 MB / 0.9981 GB Notification: Performance of matching and sorting (n=152): time 0.01115/2.185, allocations: 5.015 MB / 1.389 GB, free: 2.281 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.121e-05/2.185, allocations: 76.5 kB / 1.39 GB, free: 2.215 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003087/2.188, allocations: 2.082 MB / 1.392 GB, free: 1.652 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.000252/2.188, allocations: 57.33 kB / 1.392 GB, free: 1.621 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009004/2.189, allocations: 1.247 MB / 1.393 GB, free: 1.09 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005819/2.19, allocations: 0.5291 MB / 1.393 GB, free: 0.6992 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.604e-05/2.19, allocations: 35.19 kB / 1.393 GB, free: 0.6992 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.000152/2.19, allocations: 366.4 kB / 1.394 GB, free: 384 kB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001052/2.191, allocations: 0.5992 MB / 1.394 GB, free: 296 kB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001283/2.192, allocations: 0.9738 MB / 1.395 GB, free: 15.79 MB / 1.014 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_b.dynBal.medium.p = duc.vol_b.dynBal.p_start (sin1.p = duc.vol_b.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.01595/2.208, allocations: 3.974 MB / 1.399 GB, free: 12.68 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.298e-05/2.208, allocations: 0 / 1.399 GB, free: 12.68 MB / 1.014 GB Notification: Performance of matching and sorting (n=208) (initialization): time 0.004517/2.213, allocations: 2.107 MB / 1.401 GB, free: 11.2 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002852/2.213, allocations: 395.8 kB / 1.402 GB, free: 10.71 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.076e-05/2.213, allocations: 16 kB / 1.402 GB, free: 10.7 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009378/2.214, allocations: 211.8 kB / 1.402 GB, free: 10.52 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001517/2.216, allocations: 370.2 kB / 1.402 GB, free: 10.19 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001274/2.217, allocations: 1.779 MB / 1.404 GB, free: 8.422 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002657/2.22, allocations: 201.5 kB / 1.404 GB, free: 8.25 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001999/2.22, allocations: 86.53 kB / 1.404 GB, free: 8.18 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.08e-05/2.22, allocations: 0 / 1.404 GB, free: 8.18 MB / 1.014 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003579/2.224, allocations: 1.849 MB / 1.406 GB, free: 6.988 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.269e-05/2.224, allocations: 21.84 kB / 1.406 GB, free: 6.969 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000923/2.224, allocations: 220.6 kB / 1.406 GB, free: 6.777 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001213/2.226, allocations: 341.2 kB / 1.407 GB, free: 6.477 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008945/2.227, allocations: 1.186 MB / 1.408 GB, free: 5.316 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002661/2.229, allocations: 203.1 kB / 1.408 GB, free: 5.141 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001693/2.229, allocations: 77.67 kB / 1.408 GB, free: 5.078 MB / 1.014 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_b.dynBal.medium.p = duc.vol_b.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 44 * 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 (196): * Single equations (assignments): 187 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 2 * 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: 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.001586/2.231, allocations: 0.7138 MB / 1.409 GB, free: 4.629 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006509/2.232, allocations: 260.8 kB / 1.409 GB, free: 4.371 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004736/2.236, allocations: 2.372 MB / 1.411 GB, free: 2.75 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.465e-05/2.237, allocations: 25.11 kB / 1.411 GB, free: 2.73 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.463e-05/2.237, allocations: 0 / 1.411 GB, free: 2.73 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003329/2.24, allocations: 2.1 MB / 1.413 GB, free: 1.109 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01131/2.251, allocations: 5.378 MB / 1.419 GB, free: 13.29 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.27e-05/2.251, allocations: 15.94 kB / 1.419 GB, free: 13.27 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001254/2.253, allocations: 286.7 kB / 1.419 GB, free: 13.02 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001093/2.254, allocations: 251.4 kB / 1.419 GB, free: 12.81 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002058/2.254, allocations: 52.23 kB / 1.419 GB, free: 12.79 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005153/2.259, allocations: 4.653 MB / 1.424 GB, free: 8.16 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-05/2.259, allocations: 12.06 kB / 1.424 GB, free: 8.148 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007266/2.266, allocations: 3.241 MB / 1.427 GB, free: 5.781 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002472/2.269, allocations: 0.5738 MB / 1.427 GB, free: 5.332 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009629/2.27, allocations: 43.36 kB / 1.427 GB, free: 5.312 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002591/2.273, allocations: 186.6 kB / 1.428 GB, free: 5.156 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003495/2.273, allocations: 155 kB / 1.428 GB, free: 5.027 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002376/2.273, allocations: 80.41 kB / 1.428 GB, free: 4.961 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.003365/2.277, allocations: 1.451 MB / 1.429 GB, free: 3.918 MB / 1.029 GB Notification: Performance of sort global known variables: time 4.1e-07/2.277, allocations: 1.969 kB / 1.429 GB, free: 3.918 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.007679/2.284, allocations: 1.348 MB / 1.431 GB, free: 2.672 MB / 1.029 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 24 * Number of states: 13 (pip.del.x,pip.timDel.x,pip.vol_b.dynBal.U,pip.vol_a.dynBal.U,duc.del.x,duc.timDel.x,duc.vol_b.dynBal.medium.Xi[1],duc.vol_b.dynBal.U,duc.vol_b.dynBal.mC[1],duc.vol_a.dynBal.medium.Xi[1],duc.vol_a.dynBal.U,duc.vol_a.dynBal.m,duc.vol_a.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 (156): * Single equations (assignments): 133 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 18 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 4 * 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: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 2,(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.001952/2.286, allocations: 0.6774 MB / 1.431 GB, free: 2.09 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.006005/2.292, allocations: 2.885 MB / 1.434 GB, free: 15.96 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-05/2.292, allocations: 4 kB / 1.434 GB, free: 15.96 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.002666/2.295, allocations: 1.447 MB / 1.435 GB, free: 14.81 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009114/2.304, allocations: 1.498 MB / 1.437 GB, free: 13.6 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01524/2.319, allocations: 7.004 MB / 1.444 GB, free: 7.102 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002615/2.322, allocations: 1.9 MB / 1.446 GB, free: 5.172 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001194/2.323, allocations: 230.2 kB / 1.446 GB, free: 4.949 MB / 1.045 GB Notification: Performance of SimCode: time 4.258e-06/2.323, allocations: 3.938 kB / 1.446 GB, free: 4.945 MB / 1.045 GB [CodegenCppOld.tpl:12289:11-12289:11:writable] Error: Template error: UNKNOWN ZERO CROSSING for 4 . [CodegenCppOld.tpl:12289:11-12289:11:writable] Error: Template error: UNKNOWN ZERO CROSSING for 6 . [CodegenCppOld.tpl:12289:11-12289:11:writable] Error: Template error: UNKNOWN ZERO CROSSING for 7 . [CodegenCppOld.tpl:12289:11-12289:11:writable] Error: Template error: UNKNOWN ZERO CROSSING for 8 . [CodegenCppOld.tpl:12289:11-12289:11:writable] Error: Template error: UNKNOWN ZERO CROSSING for 9 . [CodegenCppOld.tpl:12289:11-12289:11:writable] Error: Template error: UNKNOWN ZERO CROSSING for 11 .