Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.TransportWaterAir") translateModel(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.TransportWaterAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.0008955/0.0008955, allocations: 103 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.00107/0.001071, allocations: 172.3 kB / 16.58 MB, free: 6.383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.837/1.837, allocations: 205.4 MB / 222.8 MB, free: 5.879 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.971/1.971, allocations: 292.7 MB / 0.5505 GB, free: 14.53 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0006145/0.0006145, allocations: 13.59 kB / 0.6744 GB, free: 26.45 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3097/0.3103, allocations: 116.3 MB / 0.7879 GB, free: 11.94 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.TransportWaterAir): time 0.8806/1.191, allocations: 241.7 MB / 1.024 GB, free: 0.5547 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.03938/1.23, allocations: 22.75 MB / 1.046 GB, free: 14.07 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006142/1.237, allocations: 71.69 kB / 1.046 GB, free: 14.04 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.005416/1.242, allocations: 0.8956 MB / 1.047 GB, free: 13.27 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.01626/1.258, allocations: 3.532 MB / 1.051 GB, free: 10.5 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.009612/1.268, allocations: 2.007 MB / 1.053 GB, free: 9.047 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.01551/1.284, allocations: 7.73 MB / 1.06 GB, free: 4.48 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006163/1.29, allocations: 1.751 MB / 1.062 GB, free: 3.445 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01043/1.3, allocations: 2.597 MB / 1.064 GB, free: 1.016 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005568/1.306, allocations: 1.891 MB / 1.066 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.001382/1.307, allocations: 116 kB / 1.066 GB, free: 15 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01004/1.317, allocations: 2.444 MB / 1.069 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.002174/1.32, allocations: 0.685 MB / 1.069 GB, free: 11.87 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.002565/1.322, allocations: 0.5824 MB / 1.07 GB, free: 11.28 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.009551/1.332, allocations: 4.072 MB / 1.074 GB, free: 7.195 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 9.308e-06/1.332, allocations: 4 kB / 1.074 GB, free: 7.191 MB / 0.7794 GB Notification: Performance of FrontEnd: time 3.546e-06/1.332, allocations: 0 / 1.074 GB, free: 7.191 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 0.0001823/1.332, allocations: 0 / 1.074 GB, free: 7.191 MB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 424 * Number of variables: 424 Notification: Performance of Generate backend data structure: time 0.009196/1.341, allocations: 2.86 MB / 1.077 GB, free: 4.27 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 5.992e-05/1.341, allocations: 8.031 kB / 1.077 GB, free: 4.262 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00489/1.346, allocations: 0.6563 MB / 1.077 GB, free: 3.602 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007884/1.354, allocations: 2.197 MB / 1.08 GB, free: 1.355 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002741/1.355, allocations: 127.3 kB / 1.08 GB, free: 1.23 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008152/1.355, allocations: 176 kB / 1.08 GB, free: 1.059 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005996/1.361, allocations: 1.972 MB / 1.082 GB, free: 15.03 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.089e-05/1.362, allocations: 11.92 kB / 1.082 GB, free: 15.02 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001887/1.362, allocations: 67.95 kB / 1.082 GB, free: 14.95 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.416e-05/1.362, allocations: 63.19 kB / 1.082 GB, free: 14.89 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003071/1.365, allocations: 1.547 MB / 1.083 GB, free: 13.34 MB / 0.795 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.01462/1.38, allocations: 10.33 MB / 1.093 GB, free: 2.102 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001824/1.381, allocations: 1.082 MB / 1.095 GB, free: 0.9922 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008792/1.382, allocations: 0.5392 MB / 1.095 GB, free: 464 kB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001993/1.384, allocations: 1.903 MB / 1.097 GB, free: 14.14 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.386e-05/1.384, allocations: 43.56 kB / 1.097 GB, free: 14.09 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=106): time 3.767e-06/1.384, allocations: 0 / 1.097 GB, free: 14.09 MB / 0.8106 GB Notification: Performance of matching and sorting (n=108): time 0.01006/1.394, allocations: 3.921 MB / 1.101 GB, free: 10.05 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.022e-05/1.395, allocations: 64.41 kB / 1.101 GB, free: 9.977 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00326/1.398, allocations: 1.985 MB / 1.103 GB, free: 7.965 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 0.0001568/1.398, allocations: 45.7 kB / 1.103 GB, free: 7.914 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009774/1.399, allocations: 1.04 MB / 1.104 GB, free: 6.863 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004434/1.399, allocations: 378.5 kB / 1.104 GB, free: 6.488 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.708e-05/1.399, allocations: 20 kB / 1.104 GB, free: 6.469 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001595/1.4, allocations: 357.9 kB / 1.105 GB, free: 6.113 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008096/1.4, allocations: 462.4 kB / 1.105 GB, free: 5.664 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001025/1.402, allocations: 0.7729 MB / 1.106 GB, free: 4.75 MB / 0.8106 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.01278/1.414, allocations: 3.225 MB / 1.109 GB, free: 1.504 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.051e-05/1.414, allocations: 4 kB / 1.109 GB, free: 1.5 MB / 0.8106 GB Notification: Performance of matching and sorting (n=151) (initialization): time 0.003729/1.418, allocations: 1.672 MB / 1.111 GB, free: 15.82 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002798/1.418, allocations: 355.5 kB / 1.111 GB, free: 15.34 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.329e-05/1.418, allocations: 19.98 kB / 1.111 GB, free: 15.32 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009095/1.419, allocations: 217.5 kB / 1.111 GB, free: 15.11 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008715/1.42, allocations: 251.6 kB / 1.111 GB, free: 14.86 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009467/1.421, allocations: 1.206 MB / 1.113 GB, free: 13.6 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002175/1.423, allocations: 143.7 kB / 1.113 GB, free: 13.46 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001407/1.424, allocations: 63.97 kB / 1.113 GB, free: 13.4 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.272e-05/1.424, allocations: 4 kB / 1.113 GB, free: 13.39 MB / 0.8262 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002886/1.426, allocations: 1.442 MB / 1.114 GB, free: 11.95 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.6e-05/1.427, allocations: 12.05 kB / 1.114 GB, free: 11.93 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008482/1.427, allocations: 230 kB / 1.114 GB, free: 11.7 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008822/1.428, allocations: 243.6 kB / 1.115 GB, free: 11.46 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008966/1.429, allocations: 1.206 MB / 1.116 GB, free: 10.21 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002186/1.431, allocations: 143.6 kB / 1.116 GB, free: 10.07 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001347/1.432, allocations: 59.98 kB / 1.116 GB, free: 10.01 MB / 0.8262 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.001485/1.433, allocations: 0.5983 MB / 1.117 GB, free: 9.398 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004921/1.434, allocations: 225.2 kB / 1.117 GB, free: 9.176 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003881/1.437, allocations: 2.011 MB / 1.119 GB, free: 7.172 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.97e-05/1.437, allocations: 19.98 kB / 1.119 GB, free: 7.152 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.385e-06/1.437, allocations: 0 / 1.119 GB, free: 7.152 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002493/1.44, allocations: 1.528 MB / 1.12 GB, free: 5.57 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007887/1.448, allocations: 4.2 MB / 1.124 GB, free: 1.227 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.375e-05/1.448, allocations: 15.98 kB / 1.124 GB, free: 1.211 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007655/1.449, allocations: 184.4 kB / 1.125 GB, free: 1.031 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007382/1.449, allocations: 206.3 kB / 1.125 GB, free: 0.8203 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.77e-05/1.45, allocations: 35.98 kB / 1.125 GB, free: 0.7852 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002143/1.452, allocations: 2.659 MB / 1.127 GB, free: 13.94 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.384e-06/1.452, allocations: 7.938 kB / 1.127 GB, free: 13.93 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004592/1.456, allocations: 2.588 MB / 1.13 GB, free: 11.25 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001536/1.458, allocations: 0.5056 MB / 1.13 GB, free: 10.73 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003248/1.458, allocations: 35.98 kB / 1.13 GB, free: 10.69 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001335/1.46, allocations: 127.7 kB / 1.131 GB, free: 10.57 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002402/1.46, allocations: 116.7 kB / 1.131 GB, free: 10.45 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000128/1.46, allocations: 59.97 kB / 1.131 GB, free: 10.39 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.002381/1.462, allocations: 1.389 MB / 1.132 GB, free: 8.988 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.91e-07/1.462, allocations: 0 / 1.132 GB, free: 8.988 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.003512/1.466, allocations: 1.062 MB / 1.133 GB, free: 7.926 MB / 0.8419 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.001538/1.467, allocations: 0.6158 MB / 1.134 GB, free: 7.312 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.003996/1.471, allocations: 2.229 MB / 1.136 GB, free: 5.02 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.141e-05/1.471, allocations: 4 kB / 1.136 GB, free: 5.016 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.001778/1.473, allocations: 1.113 MB / 1.137 GB, free: 3.859 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006599/1.48, allocations: 1.273 MB / 1.138 GB, free: 2.598 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01197/1.492, allocations: 5.614 MB / 1.144 GB, free: 12.88 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001363/1.493, allocations: 1.635 MB / 1.145 GB, free: 11.21 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008539/1.494, allocations: 183.3 kB / 1.145 GB, free: 11.03 MB / 0.8575 GB Notification: Performance of SimCode: time 1.313e-06/1.494, allocations: 8 kB / 1.145 GB, free: 11.02 MB / 0.8575 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 .