Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowAIT.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.PlugFlowAIT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1342,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowAIT") translateModel(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowAIT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1342,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowAIT") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.369/1.369, allocations: 252 MB / 267.6 MB, free: 10.89 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.001054/0.001054, allocations: 189.8 kB / 327.3 MB, free: 2.199 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.779/1.779, allocations: 205.4 MB / 0.5783 GB, free: 20.23 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.000778/0.000778, allocations: 82.41 kB / 0.6829 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003253/0.0003253, allocations: 12.47 kB / 0.797 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2275/0.2279, allocations: 106.3 MB / 0.9008 GB, free: 63.91 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowAIT): time 0.7722/1, allocations: 196.4 MB / 1.093 GB, free: 10 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.06792/1.068, allocations: 58.09 MB / 1.149 GB, free: 9.078 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01167/1.08, allocations: 182 kB / 1.149 GB, free: 9.078 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0107/1.091, allocations: 2.173 MB / 1.152 GB, free: 8.809 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.03217/1.123, allocations: 7.681 MB / 1.159 GB, free: 6.281 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.01585/1.139, allocations: 3.548 MB / 1.163 GB, free: 4.227 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.03692/1.176, allocations: 20.09 MB / 1.182 GB, free: 8.805 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01225/1.188, allocations: 4.301 MB / 1.186 GB, free: 6.254 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01852/1.206, allocations: 5.714 MB / 1.192 GB, free: 3.379 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01244/1.219, allocations: 4.665 MB / 1.197 GB, free: 15.15 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 0.003017/1.222, allocations: 264 kB / 1.197 GB, free: 14.89 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01476/1.237, allocations: 3.133 MB / 1.2 GB, free: 11.88 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.00333/1.24, allocations: 1.092 MB / 1.201 GB, free: 10.82 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.004827/1.245, allocations: 1.346 MB / 1.202 GB, free: 9.461 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.01637/1.261, allocations: 8.724 MB / 1.211 GB, free: 1.125 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 7.273e-06/1.261, allocations: 0 / 1.211 GB, free: 1.125 MB / 0.7292 GB Notification: Performance of FrontEnd: time 3.125e-06/1.262, allocations: 4 kB / 1.211 GB, free: 1.121 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.0004302/1.262, allocations: 0 / 1.211 GB, free: 1.121 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 945 * Number of variables: 945 Notification: Performance of Generate backend data structure: time 0.01978/1.282, allocations: 6.302 MB / 1.217 GB, free: 10.83 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.542e-05/1.282, allocations: 8.031 kB / 1.217 GB, free: 10.82 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003305/1.285, allocations: 0.7047 MB / 1.218 GB, free: 10.11 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01735/1.302, allocations: 5.837 MB / 1.223 GB, free: 4.359 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003841/1.303, allocations: 287.3 kB / 1.224 GB, free: 4.078 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00142/1.304, allocations: 379.3 kB / 1.224 GB, free: 3.711 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01131/1.316, allocations: 4.046 MB / 1.228 GB, free: 15.57 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001811/1.316, allocations: 15.78 kB / 1.228 GB, free: 15.55 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007775/1.317, allocations: 151.4 kB / 1.228 GB, free: 15.41 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001265/1.317, allocations: 105.9 kB / 1.228 GB, free: 15.3 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007869/1.325, allocations: 3.116 MB / 1.231 GB, free: 12.18 MB / 0.7605 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.03336/1.358, allocations: 23.38 MB / 1.254 GB, free: 3.02 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003668/1.362, allocations: 2.289 MB / 1.256 GB, free: 0.7344 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001878/1.364, allocations: 1.299 MB / 1.258 GB, free: 15.43 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004778/1.369, allocations: 6.372 MB / 1.264 GB, free: 7.66 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002572/1.371, allocations: 1.38 MB / 1.265 GB, free: 6.258 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=261): time 5.611e-06/1.371, allocations: 3.938 kB / 1.265 GB, free: 6.254 MB / 0.7917 GB Notification: Performance of matching and sorting (n=261): time 0.007179/1.378, allocations: 3.655 MB / 1.269 GB, free: 2.551 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.597e-05/1.378, allocations: 107.1 kB / 1.269 GB, free: 2.43 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009005/1.387, allocations: 4.217 MB / 1.273 GB, free: 14.23 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 0.0008097/1.388, allocations: 77.7 kB / 1.273 GB, free: 14.14 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.002611/1.391, allocations: 2.44 MB / 1.275 GB, free: 11.69 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 0.00155/1.393, allocations: 0.8947 MB / 1.276 GB, free: 10.8 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001577/1.393, allocations: 56 kB / 1.276 GB, free: 10.75 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0002237/1.393, allocations: 415.8 kB / 1.277 GB, free: 10.34 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001876/1.395, allocations: 0.9893 MB / 1.278 GB, free: 9.344 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002271/1.397, allocations: 1.657 MB / 1.279 GB, free: 7.426 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002172/1.399, allocations: 1.247 MB / 1.28 GB, free: 6.16 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.35e-05/1.399, allocations: 9.312 kB / 1.28 GB, free: 6.152 MB / 0.8073 GB Notification: Performance of matching and sorting (n=360) (initialization): time 0.007479/1.407, allocations: 3.333 MB / 1.284 GB, free: 2.77 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006828/1.408, allocations: 0.575 MB / 1.284 GB, free: 1.969 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.35e-05/1.408, allocations: 31.98 kB / 1.284 GB, free: 1.938 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.429e-05/1.408, allocations: 35.94 kB / 1.284 GB, free: 1.902 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0024/1.41, allocations: 0.6007 MB / 1.285 GB, free: 1.301 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.595e-05/1.41, allocations: 39.86 kB / 1.285 GB, free: 1.262 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004826/1.415, allocations: 497 kB / 1.285 GB, free: 0.7734 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000428/1.415, allocations: 143.9 kB / 1.286 GB, free: 0.6328 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 2.001e-05/1.415, allocations: 8 kB / 1.286 GB, free: 0.625 MB / 0.8073 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005622/1.421, allocations: 2.871 MB / 1.288 GB, free: 13.72 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.293e-05/1.421, allocations: 32.17 kB / 1.288 GB, free: 13.69 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.229e-05/1.421, allocations: 42.67 kB / 1.288 GB, free: 13.65 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002216/1.423, allocations: 0.6006 MB / 1.289 GB, free: 13.05 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.034e-05/1.424, allocations: 39.91 kB / 1.289 GB, free: 13.01 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004931/1.428, allocations: 461.6 kB / 1.29 GB, free: 12.55 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004304/1.429, allocations: 143.9 kB / 1.29 GB, free: 12.41 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 70 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.DataReader.nextTimeEvent,DataReader.nextTimeEvent,$PRE.DataReader.nextTimeEventScaled,DataReader.nextTimeEventScaled,lessThreshold.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (348): * Single equations (assignments): 336 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002821/1.432, allocations: 1.067 MB / 1.291 GB, free: 11.34 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001748/1.434, allocations: 489.9 kB / 1.291 GB, free: 10.85 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009264/1.443, allocations: 4.861 MB / 1.296 GB, free: 5.977 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.928e-05/1.443, allocations: 55.95 kB / 1.296 GB, free: 5.922 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.293e-05/1.443, allocations: 0 / 1.296 GB, free: 5.922 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005142/1.448, allocations: 3.474 MB / 1.299 GB, free: 2.34 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01953/1.468, allocations: 9.332 MB / 1.308 GB, free: 8.984 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.172e-05/1.468, allocations: 15.98 kB / 1.309 GB, free: 8.969 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002232/1.47, allocations: 0.5188 MB / 1.309 GB, free: 8.449 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.586e-05/1.47, allocations: 12.12 kB / 1.309 GB, free: 8.438 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002317/1.47, allocations: 107.9 kB / 1.309 GB, free: 8.332 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.796e-05/1.47, allocations: 12 kB / 1.309 GB, free: 8.32 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.709e-06/1.47, allocations: 4 kB / 1.309 GB, free: 8.316 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01023/1.481, allocations: 5.922 MB / 1.315 GB, free: 2.312 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003899/1.484, allocations: 1.219 MB / 1.316 GB, free: 1.066 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001649/1.486, allocations: 66.62 kB / 1.316 GB, free: 1.004 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005339/1.492, allocations: 376.5 kB / 1.317 GB, free: 0.6367 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007496/1.492, allocations: 266.2 kB / 1.317 GB, free: 384 kB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006046/1.493, allocations: 143.9 kB / 1.317 GB, free: 240 kB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.007771/1.501, allocations: 2.822 MB / 1.32 GB, free: 13.43 MB / 0.8542 GB Notification: Performance of sort global known variables: time 8.12e-07/1.501, allocations: 4 kB / 1.32 GB, free: 13.43 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.01495/1.516, allocations: 3.168 MB / 1.323 GB, free: 10.25 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 23 (pip1.cor.del.x,pip1.cor.timDel.x,pip1.vol.dynBal.U,pip4.cor.del.x,pip4.cor.timDel.x,pip4.vol.dynBal.U,pip5.cor.del.x,pip5.cor.timDel.x,pip5.vol.dynBal.U,pip2.cor.del.x,pip2.cor.timDel.x,pip2.vol.dynBal.U,pip3.cor.del.x,pip3.cor.timDel.x,pip3.vol.dynBal.U,senTem_p3.T,senTem_p2.T,senTem_p4.T,senTem_p1.T,pip0.cor.del.x,pip0.cor.timDel.x,pip0.vol.dynBal.U,senTemIn_p2.T) * Number of discrete variables: 4 ($whenCondition1,DataReader.nextTimeEvent,DataReader.nextTimeEventScaled,lessThreshold.y) * Number of discrete states: 2 (DataReader.nextTimeEvent,DataReader.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (343): * Single equations (assignments): 277 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 64 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005607/1.521, allocations: 2.131 MB / 1.325 GB, free: 8.398 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.01122/1.533, allocations: 5.192 MB / 1.33 GB, free: 3.043 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.138e-05/1.533, allocations: 0 / 1.33 GB, free: 3.043 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.004402/1.537, allocations: 2.254 MB / 1.332 GB, free: 0.7148 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01534/1.553, allocations: 2.229 MB / 1.334 GB, free: 14.5 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02631/1.579, allocations: 12.29 MB / 1.346 GB, free: 2.172 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00442/1.583, allocations: 2.839 MB / 1.349 GB, free: 15.3 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00289/1.586, allocations: 495.2 kB / 1.35 GB, free: 14.82 MB / 0.8855 GB Notification: Performance of SimCode: time 1.944e-06/1.586, allocations: 0 / 1.35 GB, free: 14.82 MB / 0.8855 GB [CodegenCppOld.tpl:12289:11-12289:11:writable] Error: Template error: UNKNOWN ZERO CROSSING for 2 . [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 7 . [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 . [CodegenCppOld.tpl:12289:11-12289:11:writable] Error: Template error: UNKNOWN ZERO CROSSING for 13 . [CodegenCppOld.tpl:12289:11-12289:11:writable] Error: Template error: UNKNOWN ZERO CROSSING for 15 . [CodegenCppOld.tpl:12289:11-12289:11:writable] Error: Template error: UNKNOWN ZERO CROSSING for 17 . [CodegenCppOld.tpl:12289:11-12289:11:writable] Error: Template error: UNKNOWN ZERO CROSSING for 19 . [CodegenCppOld.tpl:12289:11-12289:11:writable] Error: Template error: UNKNOWN ZERO CROSSING for 21 . [CodegenCppOld.tpl:12289:11-12289:11:writable] Error: Template error: UNKNOWN ZERO CROSSING for 23 . [CodegenCppOld.tpl:12289:11-12289:11:writable] Error: Template error: UNKNOWN ZERO CROSSING for 25 .