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: translateModel(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.TransportWaterAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.TransportWaterAir") translateModel(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.TransportWaterAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.TransportWaterAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.391/1.391, allocations: 252 MB / 267.6 MB, free: 10.91 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.0009947/0.0009949, allocations: 183.5 kB / 327.3 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.758/1.758, allocations: 205.4 MB / 0.5783 GB, free: 20.26 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.0009009/0.0009009, allocations: 89.92 kB / 0.6829 GB, free: 12.86 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000329/0.0003292, allocations: 16.95 kB / 0.797 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2294/0.2297, allocations: 106.3 MB / 0.9008 GB, free: 63.9 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.TransportWaterAir): time 0.8277/1.057, allocations: 242 MB / 1.137 GB, free: 2.844 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.03276/1.09, allocations: 22.83 MB / 1.159 GB, free: 2.348 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005054/1.095, allocations: 69.59 kB / 1.16 GB, free: 2.348 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.004212/1.1, allocations: 0.8967 MB / 1.16 GB, free: 2.336 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.01358/1.113, allocations: 3.524 MB / 1.164 GB, free: 1.34 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.007973/1.121, allocations: 2.01 MB / 1.166 GB, free: 0.5703 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0138/1.135, allocations: 7.884 MB / 1.174 GB, free: 15.26 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003795/1.139, allocations: 1.756 MB / 1.175 GB, free: 14.56 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008401/1.147, allocations: 2.61 MB / 1.178 GB, free: 13.42 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005179/1.153, allocations: 1.903 MB / 1.18 GB, free: 12.55 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 0.0006455/1.153, allocations: 118.8 kB / 1.18 GB, free: 12.55 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00892/1.162, allocations: 2.437 MB / 1.182 GB, free: 11.73 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.001305/1.164, allocations: 0.694 MB / 1.183 GB, free: 11.39 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.001739/1.165, allocations: 0.5845 MB / 1.183 GB, free: 11.28 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.008389/1.174, allocations: 4.081 MB / 1.187 GB, free: 9.023 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 6.953e-06/1.174, allocations: 3.281 kB / 1.187 GB, free: 9.023 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.735e-06/1.174, allocations: 4 kB / 1.187 GB, free: 9.02 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0001199/1.174, allocations: 0 / 1.187 GB, free: 9.02 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.007283/1.181, allocations: 2.881 MB / 1.19 GB, free: 7.184 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.716e-05/1.181, allocations: 9.906 kB / 1.19 GB, free: 7.184 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004039/1.185, allocations: 0.6533 MB / 1.191 GB, free: 6.91 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005944/1.191, allocations: 2.201 MB / 1.193 GB, free: 5.617 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001137/1.191, allocations: 132.7 kB / 1.193 GB, free: 5.539 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000306/1.192, allocations: 170.2 kB / 1.193 GB, free: 5.426 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003856/1.196, allocations: 1.978 MB / 1.195 GB, free: 4.039 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.385e-05/1.196, allocations: 7.906 kB / 1.195 GB, free: 4.031 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001665/1.196, allocations: 63.38 kB / 1.195 GB, free: 4.02 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.216e-05/1.196, allocations: 70.06 kB / 1.195 GB, free: 3.953 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003076/1.199, allocations: 1.541 MB / 1.197 GB, free: 2.941 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.01626/1.215, allocations: 10.35 MB / 1.207 GB, free: 7.867 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001781/1.217, allocations: 1.073 MB / 1.208 GB, free: 6.766 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009019/1.218, allocations: 0.5495 MB / 1.209 GB, free: 6.215 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002063/1.22, allocations: 1.903 MB / 1.21 GB, free: 3.906 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.504e-05/1.22, allocations: 43.56 kB / 1.21 GB, free: 3.852 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=106): time 3.948e-06/1.22, allocations: 0 / 1.21 GB, free: 3.852 MB / 0.7292 GB Notification: Performance of matching and sorting (n=108): time 0.01066/1.231, allocations: 3.891 MB / 1.214 GB, free: 15.85 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.882e-05/1.231, allocations: 60.41 kB / 1.214 GB, free: 15.78 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003425/1.234, allocations: 2 MB / 1.216 GB, free: 13.75 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 0.0001401/1.234, allocations: 41.7 kB / 1.216 GB, free: 13.7 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009277/1.235, allocations: 1.048 MB / 1.217 GB, free: 12.64 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004617/1.236, allocations: 378.4 kB / 1.218 GB, free: 12.27 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.809e-05/1.236, allocations: 28 kB / 1.218 GB, free: 12.24 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001968/1.236, allocations: 345.9 kB / 1.218 GB, free: 11.9 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008295/1.237, allocations: 458.4 kB / 1.218 GB, free: 11.45 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001061/1.238, allocations: 0.7729 MB / 1.219 GB, free: 10.54 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.01464/1.253, allocations: 3.143 MB / 1.222 GB, free: 7.383 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.358e-05/1.253, allocations: 4 kB / 1.222 GB, free: 7.379 MB / 0.7448 GB Notification: Performance of matching and sorting (n=151) (initialization): time 0.00409/1.257, allocations: 1.665 MB / 1.224 GB, free: 5.703 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002751/1.257, allocations: 356 kB / 1.224 GB, free: 5.234 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-05/1.257, allocations: 19.98 kB / 1.224 GB, free: 5.215 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001082/1.258, allocations: 220 kB / 1.225 GB, free: 4.996 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009608/1.259, allocations: 255.6 kB / 1.225 GB, free: 4.746 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001058/1.26, allocations: 1.202 MB / 1.226 GB, free: 3.492 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002487/1.263, allocations: 135.8 kB / 1.226 GB, free: 3.359 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000143/1.263, allocations: 67.97 kB / 1.226 GB, free: 3.293 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.105e-05/1.263, allocations: 4 kB / 1.226 GB, free: 3.289 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003147/1.266, allocations: 1.432 MB / 1.228 GB, free: 1.852 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.782e-05/1.266, allocations: 15.98 kB / 1.228 GB, free: 1.836 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009681/1.267, allocations: 232.6 kB / 1.228 GB, free: 1.605 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009265/1.268, allocations: 243.6 kB / 1.228 GB, free: 1.367 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009707/1.269, allocations: 1.199 MB / 1.229 GB, free: 120 kB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002371/1.272, allocations: 147.6 kB / 1.229 GB, free: 15.97 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001345/1.272, allocations: 67.95 kB / 1.229 GB, free: 15.91 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.001372/1.273, allocations: 0.61 MB / 1.23 GB, free: 15.29 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004622/1.274, allocations: 225.2 kB / 1.23 GB, free: 15.06 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003912/1.277, allocations: 1.975 MB / 1.232 GB, free: 13.1 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.761e-05/1.278, allocations: 23.92 kB / 1.232 GB, free: 13.08 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.165e-06/1.278, allocations: 4 kB / 1.232 GB, free: 13.07 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002754/1.28, allocations: 1.525 MB / 1.234 GB, free: 11.5 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008013/1.288, allocations: 4.198 MB / 1.238 GB, free: 7.16 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.244e-05/1.288, allocations: 11.98 kB / 1.238 GB, free: 7.148 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008107/1.289, allocations: 183.7 kB / 1.238 GB, free: 6.969 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000822/1.29, allocations: 205 kB / 1.238 GB, free: 6.762 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.407e-05/1.29, allocations: 39.98 kB / 1.238 GB, free: 6.723 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002386/1.293, allocations: 2.667 MB / 1.241 GB, free: 3.867 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.057e-06/1.293, allocations: 11.92 kB / 1.241 GB, free: 3.855 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005033/1.298, allocations: 2.566 MB / 1.243 GB, free: 1.207 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001533/1.299, allocations: 0.5096 MB / 1.244 GB, free: 0.6758 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003435/1.3, allocations: 36.08 kB / 1.244 GB, free: 0.6406 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001456/1.301, allocations: 128.4 kB / 1.244 GB, free: 0.5156 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002295/1.301, allocations: 116.7 kB / 1.244 GB, free: 408 kB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001329/1.301, allocations: 55.97 kB / 1.244 GB, free: 352 kB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.002497/1.304, allocations: 1.399 MB / 1.245 GB, free: 14.93 MB / 0.7761 GB Notification: Performance of sort global known variables: time 3.81e-07/1.304, allocations: 0 / 1.245 GB, free: 14.93 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.003408/1.307, allocations: 1.066 MB / 1.246 GB, free: 13.86 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.001324/1.309, allocations: 0.6043 MB / 1.247 GB, free: 13.27 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.00402/1.313, allocations: 2.227 MB / 1.249 GB, free: 10.98 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 5.871e-06/1.313, allocations: 1.25 kB / 1.249 GB, free: 10.98 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.001825/1.315, allocations: 1.124 MB / 1.25 GB, free: 9.812 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007008/1.322, allocations: 1.277 MB / 1.252 GB, free: 8.555 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01267/1.334, allocations: 5.62 MB / 1.257 GB, free: 2.836 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0014/1.336, allocations: 1.639 MB / 1.259 GB, free: 1.164 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007971/1.337, allocations: 183.4 kB / 1.259 GB, free: 0.9844 MB / 0.7761 GB Notification: Performance of SimCode: time 1.493e-06/1.337, allocations: 0 / 1.259 GB, free: 0.9844 MB / 0.7761 GB [CodegenCppOld.tpl:12289:11-12289:11:writable] Error: Template error: UNKNOWN ZERO CROSSING for 3 . [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 5 . [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 9 .