Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/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_9_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_9_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.0009881/0.0009881, allocations: 102.6 kB / 15.71 MB, free: 460 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.001292/0.001292, allocations: 176.6 kB / 16.58 MB, free: 6.402 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.419/1.419, allocations: 223.2 MB / 240.6 MB, free: 5.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.588/2.588, allocations: 390.4 MB / 0.6662 GB, free: 2.879 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004595/0.0004595, allocations: 11.98 kB / 0.8154 GB, free: 14.17 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9663/0.9668, allocations: 142.3 MB / 0.9544 GB, free: 8.023 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.TransportWaterAir): time 0.352/1.319, allocations: 283.8 MB / 1.232 GB, free: 3.527 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.9006/2.219, allocations: 24.91 MB / 1.256 GB, free: 21.34 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00597/2.226, allocations: 112.6 kB / 1.256 GB, free: 21.33 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.005092/2.231, allocations: 1.097 MB / 1.257 GB, free: 21.33 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.01594/2.247, allocations: 4.184 MB / 1.261 GB, free: 21.26 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.01057/2.257, allocations: 2.513 MB / 1.264 GB, free: 21.19 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.02019/2.277, allocations: 9.776 MB / 1.273 GB, free: 21.17 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005471/2.283, allocations: 2.152 MB / 1.275 GB, free: 20.88 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01047/2.293, allocations: 2.978 MB / 1.278 GB, free: 20.86 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006778/2.3, allocations: 2.321 MB / 1.28 GB, free: 20.85 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0009299/2.301, allocations: 130.4 kB / 1.281 GB, free: 20.85 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01226/2.313, allocations: 2.848 MB / 1.283 GB, free: 20.79 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001704/2.315, allocations: 0.8723 MB / 1.284 GB, free: 20.79 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.002261/2.317, allocations: 0.696 MB / 1.285 GB, free: 20.76 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.008726/2.326, allocations: 4.745 MB / 1.29 GB, free: 20.4 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 7.825e-06/2.326, allocations: 0 / 1.29 GB, free: 20.4 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.525e-06/2.326, allocations: 1.781 kB / 1.29 GB, free: 20.4 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.000105/2.326, allocations: 0 / 1.29 GB, free: 20.4 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.006855/2.333, allocations: 3.31 MB / 1.293 GB, free: 18.7 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.865e-05/2.333, allocations: 13.19 kB / 1.293 GB, free: 18.7 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004852/2.338, allocations: 0.8111 MB / 1.294 GB, free: 18.52 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005007/2.343, allocations: 2.42 MB / 1.296 GB, free: 17.99 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001258/2.343, allocations: 163.1 kB / 1.296 GB, free: 17.98 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000331/2.344, allocations: 222.9 kB / 1.296 GB, free: 17.98 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004597/2.348, allocations: 2.536 MB / 1.299 GB, free: 17.68 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.116e-05/2.348, allocations: 8.906 kB / 1.299 GB, free: 17.68 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001966/2.349, allocations: 92.86 kB / 1.299 GB, free: 17.68 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.974e-05/2.349, allocations: 85.22 kB / 1.299 GB, free: 17.67 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00344/2.352, allocations: 2.025 MB / 1.301 GB, free: 17.64 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.01489/2.367, allocations: 12.37 MB / 1.313 GB, free: 11.13 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00211/2.369, allocations: 1.495 MB / 1.314 GB, free: 10.89 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001098/2.37, allocations: 0.7685 MB / 1.315 GB, free: 10.88 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001435/2.372, allocations: 1.989 MB / 1.317 GB, free: 8.715 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.036e-05/2.372, allocations: 56.59 kB / 1.317 GB, free: 8.676 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=150): time 5.45e-06/2.372, allocations: 0 / 1.317 GB, free: 8.676 MB / 0.9981 GB Notification: Performance of matching and sorting (n=152): time 0.01188/2.384, allocations: 5.018 MB / 1.322 GB, free: 23.35 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.1e-05/2.384, allocations: 67.94 kB / 1.322 GB, free: 23.28 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003383/2.387, allocations: 2.075 MB / 1.324 GB, free: 23.05 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0002096/2.387, allocations: 55.14 kB / 1.324 GB, free: 23.02 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.001091/2.388, allocations: 1.264 MB / 1.326 GB, free: 22.61 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006106/2.389, allocations: 0.5269 MB / 1.326 GB, free: 22.27 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.32e-05/2.389, allocations: 31 kB / 1.326 GB, free: 22.27 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001924/2.389, allocations: 373.1 kB / 1.326 GB, free: 21.96 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00105/2.39, allocations: 0.597 MB / 1.327 GB, free: 21.95 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001282/2.392, allocations: 0.9771 MB / 1.328 GB, free: 21.56 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.01498/2.407, allocations: 3.969 MB / 1.332 GB, free: 21.3 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.867e-05/2.407, allocations: 4.891 kB / 1.332 GB, free: 21.3 MB / 1.014 GB Notification: Performance of matching and sorting (n=208) (initialization): time 0.005039/2.412, allocations: 2.111 MB / 1.334 GB, free: 21.07 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003366/2.412, allocations: 388.2 kB / 1.334 GB, free: 20.61 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.098e-05/2.412, allocations: 19.48 kB / 1.334 GB, free: 20.61 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009327/2.413, allocations: 211.6 kB / 1.334 GB, free: 20.59 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001353/2.415, allocations: 372 kB / 1.335 GB, free: 20.58 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001392/2.416, allocations: 1.772 MB / 1.337 GB, free: 18.96 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003088/2.419, allocations: 207 kB / 1.337 GB, free: 18.93 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002263/2.419, allocations: 79.94 kB / 1.337 GB, free: 18.93 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.46e-05/2.419, allocations: 3.25 kB / 1.337 GB, free: 18.93 MB / 1.014 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00399/2.423, allocations: 1.862 MB / 1.339 GB, free: 18.76 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.205e-05/2.423, allocations: 21.31 kB / 1.339 GB, free: 18.76 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008794/2.424, allocations: 213.9 kB / 1.339 GB, free: 18.7 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001175/2.425, allocations: 346.8 kB / 1.339 GB, free: 18.65 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008842/2.426, allocations: 1.187 MB / 1.34 GB, free: 17.59 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002799/2.429, allocations: 206.2 kB / 1.341 GB, free: 17.51 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002272/2.429, allocations: 75.83 kB / 1.341 GB, free: 17.51 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.001836/2.431, allocations: 0.7148 MB / 1.341 GB, free: 17.26 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008616/2.432, allocations: 263.1 kB / 1.342 GB, free: 17.13 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005208/2.437, allocations: 2.371 MB / 1.344 GB, free: 16.57 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.678e-05/2.437, allocations: 22.23 kB / 1.344 GB, free: 16.56 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.907e-05/2.437, allocations: 3.125 kB / 1.344 GB, free: 16.56 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003357/2.441, allocations: 2.096 MB / 1.346 GB, free: 15.82 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01209/2.453, allocations: 5.378 MB / 1.351 GB, free: 13.91 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.246e-05/2.453, allocations: 9.938 kB / 1.351 GB, free: 13.91 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001196/2.454, allocations: 284.4 kB / 1.352 GB, free: 13.87 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009398/2.455, allocations: 250.9 kB / 1.352 GB, free: 13.79 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001678/2.455, allocations: 54.81 kB / 1.352 GB, free: 13.78 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003584/2.459, allocations: 4.655 MB / 1.356 GB, free: 9.52 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.176e-05/2.459, allocations: 11.22 kB / 1.356 GB, free: 9.52 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006107/2.465, allocations: 3.242 MB / 1.36 GB, free: 8.594 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002085/2.467, allocations: 0.5781 MB / 1.36 GB, free: 8.27 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009876/2.468, allocations: 40.31 kB / 1.36 GB, free: 8.27 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002578/2.471, allocations: 193 kB / 1.36 GB, free: 8.199 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003311/2.471, allocations: 153 kB / 1.36 GB, free: 8.145 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002434/2.471, allocations: 80.33 kB / 1.361 GB, free: 8.129 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.00338/2.475, allocations: 1.451 MB / 1.362 GB, free: 7.75 MB / 1.014 GB Notification: Performance of sort global known variables: time 5.01e-07/2.475, allocations: 0 / 1.362 GB, free: 7.75 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.006308/2.481, allocations: 1.347 MB / 1.363 GB, free: 7.676 MB / 1.014 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.001928/2.483, allocations: 0.6839 MB / 1.364 GB, free: 7.402 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.005767/2.489, allocations: 2.887 MB / 1.367 GB, free: 6.68 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.106e-05/2.489, allocations: 0 / 1.367 GB, free: 6.68 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.002505/2.491, allocations: 1.453 MB / 1.368 GB, free: 6.121 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009315/2.501, allocations: 1.497 MB / 1.37 GB, free: 5.637 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01587/2.517, allocations: 7.003 MB / 1.376 GB, free: 1.609 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002673/2.519, allocations: 1.904 MB / 1.378 GB, free: 15.77 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001186/2.521, allocations: 219.1 kB / 1.379 GB, free: 15.56 MB / 1.029 GB Notification: Performance of SimCode: time 1.523e-06/2.521, allocations: 0 / 1.379 GB, free: 15.56 MB / 1.029 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 .