Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.DHC.Networks.Pipes.Validation.Pipe.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.DHC.Networks.Pipes.Validation.Pipe,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pipSta1.dh|pipAut1.dh|pipSta2.dh|pipAut2.dh|pipSta1.dp|pipAut1.dp|pipSta2.dp|pipAut2.dp",fileNamePrefix="Buildings_latest_Buildings.DHC.Networks.Pipes.Validation.Pipe") translateModel(Buildings.DHC.Networks.Pipes.Validation.Pipe,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pipSta1.dh|pipAut1.dh|pipSta2.dh|pipAut2.dh|pipSta1.dp|pipAut1.dp|pipSta2.dp|pipAut2.dp",fileNamePrefix="Buildings_latest_Buildings.DHC.Networks.Pipes.Validation.Pipe") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001105/0.001105, allocations: 109.1 kB / 16.42 MB, free: 6.434 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001065/0.001065, allocations: 185.5 kB / 17.36 MB, free: 5.684 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.11/1.11, allocations: 222.9 MB / 241 MB, free: 15.06 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.171/2.171, allocations: 472.6 MB / 0.7459 GB, free: 0.5156 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.178e-05/1.179e-05, allocations: 6.219 kB / 1.07 GB, free: 9.699 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Networks.Pipes.Validation.Pipe): time 0.406/0.406, allocations: 28.91 MB / 1.098 GB, free: 2.34 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.007759/0.4138, allocations: 6.8 MB / 1.105 GB, free: 13.51 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004515/0.4142, allocations: 37.81 kB / 1.105 GB, free: 13.5 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0008306/0.4151, allocations: 416.3 kB / 1.105 GB, free: 13.23 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.002453/0.4175, allocations: 1.363 MB / 1.107 GB, free: 12.46 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.00134/0.4189, allocations: 0.6289 MB / 1.107 GB, free: 12.16 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.002453/0.4214, allocations: 2.257 MB / 1.109 GB, free: 11.17 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007087/0.4221, allocations: 0.6044 MB / 1.11 GB, free: 10.87 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001192/0.4233, allocations: 0.8996 MB / 1.111 GB, free: 10.49 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005832/0.4239, allocations: 0.5464 MB / 1.111 GB, free: 10.25 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 8.057e-05/0.424, allocations: 41.19 kB / 1.112 GB, free: 10.25 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001486/0.4255, allocations: 0.9913 MB / 1.112 GB, free: 9.898 MB / 0.8575 GB Notification: Performance of combineBinaries: time 0.0009221/0.4264, allocations: 1.369 MB / 1.114 GB, free: 9.035 MB / 0.8575 GB Notification: Performance of replaceArrayConstructors: time 0.0005351/0.4269, allocations: 0.9209 MB / 1.115 GB, free: 8.398 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001288/0.4271, allocations: 129 kB / 1.115 GB, free: 8.34 MB / 0.8575 GB Notification: Performance of FrontEnd: time 8.716e-05/0.4272, allocations: 31.42 kB / 1.115 GB, free: 8.328 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 84 (78) * Number of variables: 84 (75) Notification: Performance of Bindings: time 0.002705/0.4299, allocations: 3.271 MB / 1.118 GB, free: 6.027 MB / 0.8575 GB Notification: Performance of FunctionAlias: time 0.0001793/0.4301, allocations: 195.4 kB / 1.118 GB, free: 5.898 MB / 0.8575 GB Notification: Performance of Early Inline: time 0.0009041/0.431, allocations: 0.9813 MB / 1.119 GB, free: 5.27 MB / 0.8575 GB Notification: Performance of simplify1: time 6.79e-05/0.431, allocations: 70.27 kB / 1.119 GB, free: 5.238 MB / 0.8575 GB Notification: Performance of Alias: time 0.00157/0.4326, allocations: 1.495 MB / 1.121 GB, free: 4.281 MB / 0.8575 GB Notification: Performance of simplify2: time 5.549e-05/0.4327, allocations: 57.62 kB / 1.121 GB, free: 4.254 MB / 0.8575 GB Notification: Performance of Detect States: time 0.0002094/0.4329, allocations: 239.4 kB / 1.121 GB, free: 4.086 MB / 0.8575 GB Notification: Performance of Events: time 0.0002044/0.4331, allocations: 206.4 kB / 1.121 GB, free: 3.938 MB / 0.8575 GB Notification: Performance of Partitioning: time 0.000414/0.4335, allocations: 473.9 kB / 1.122 GB, free: 3.508 MB / 0.8575 GB Notification: Performance of Causalize: time 0.001542/0.4351, allocations: 1.609 MB / 1.123 GB, free: 2.707 MB / 0.8575 GB Notification: Performance of After Index Reduction Inline: time 0.0005982/0.4357, allocations: 0.674 MB / 1.124 GB, free: 2.273 MB / 0.8575 GB Notification: Performance of Inline: time 0.001934/0.4376, allocations: 1.942 MB / 1.126 GB, free: 1.117 MB / 0.8575 GB Notification: Performance of Partitioning: time 0.0001099/0.4377, allocations: 101.4 kB / 1.126 GB, free: 1.047 MB / 0.8575 GB Notification: Performance of Cleanup: time 0.0001592/0.4379, allocations: 178.5 kB / 1.126 GB, free: 0.9453 MB / 0.8575 GB Notification: Performance of Causalize: time 0.004825/0.4427, allocations: 4.748 MB / 1.131 GB, free: 15.12 MB / 0.8731 GB Notification: Performance of Tearing: time 1.508e-05/0.4428, allocations: 1.406 kB / 1.131 GB, free: 15.12 MB / 0.8731 GB Notification: Performance of Initialization: time 3.51e-07/0.4428, allocations: 0 / 1.131 GB, free: 15.12 MB / 0.8731 GB Notification: Performance of Tearing: time 8.737e-06/0.4428, allocations: 6.531 kB / 1.131 GB, free: 15.12 MB / 0.8731 GB Notification: Performance of Categorize: time 1.699e-05/0.4428, allocations: 12.25 kB / 1.131 GB, free: 15.11 MB / 0.8731 GB Error: Internal error NBDifferentiate.differentiateBuiltinCall2Arg failed for: min Error: Internal error NBSolve.solveStrongComponent failed with status = Solve.UNSOLVABLE while trying to solve following strong component: BLOCK: Single Strong Component (status = Solve.UNPROCESSED) ------------------------------------------------------------- ### Variable: parameter Real pipAut2.dh ### Equation: [SCAL] (1) pipAut2.dpStraightPipe_nominal = Modelica.Fluid.Pipes.BaseClasses.WallFriction.Detailed.pressureLoss_m_flow(1000.0, pipAut2.rho_default, pipAut2.rho_default, pipAut2.mu_default, pipAut2.mu_default, pipAut2.length, pipAut2.dh, 0.7853981633974483 * pipAut2.dh ^ 2.0, pipAut2.roughness, pipAut2.m_flow_small, 4000.0) ($RES_BND_116)