Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.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.Fluid.FixedResistances.Validation.LosslessPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.FixedResistances.Validation.LosslessPipe") translateModel(Buildings.Fluid.FixedResistances.Validation.LosslessPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.FixedResistances.Validation.LosslessPipe") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001059/0.001059, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001138/0.001138, allocations: 190.8 kB / 16.25 MB, free: 6.586 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.493/1.493, allocations: 222.9 MB / 239.9 MB, free: 4.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.85/2.85, allocations: 472.6 MB / 0.7448 GB, free: 4.934 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001214/0.001214, allocations: 59.48 kB / 0.9115 GB, free: 33.54 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2976/0.2988, allocations: 159.9 MB / 1.068 GB, free: 10.88 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.LosslessPipe): time 0.1713/0.4702, allocations: 159.1 MB / 1.223 GB, free: 11.13 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001887/0.4721, allocations: 0.9509 MB / 1.224 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000374/0.4725, allocations: 7.938 kB / 1.224 GB, free: 10.17 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0006407/0.4732, allocations: 135.2 kB / 1.224 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001697/0.475, allocations: 0.5993 MB / 1.225 GB, free: 9.434 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006871/0.4757, allocations: 203.2 kB / 1.225 GB, free: 9.238 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.000753/0.4764, allocations: 0.5265 MB / 1.225 GB, free: 8.711 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003706/0.4768, allocations: 176.2 kB / 1.226 GB, free: 8.535 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004944/0.4773, allocations: 235.1 kB / 1.226 GB, free: 8.305 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000254/0.4776, allocations: 175.2 kB / 1.226 GB, free: 8.133 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.902e-05/0.4776, allocations: 12 kB / 1.226 GB, free: 8.121 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009355/0.4786, allocations: 0.5649 MB / 1.227 GB, free: 7.555 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001302/0.4787, allocations: 87.77 kB / 1.227 GB, free: 7.469 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001417/0.4789, allocations: 111.4 kB / 1.227 GB, free: 7.359 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0008848/0.4797, allocations: 0.5141 MB / 1.227 GB, free: 6.844 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.4798, allocations: 0 / 1.227 GB, free: 6.844 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.423e-06/0.4798, allocations: 0 / 1.227 GB, free: 6.844 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.358e-05/0.4798, allocations: 4 kB / 1.227 GB, free: 6.84 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.001481/0.4813, allocations: 0.5961 MB / 1.228 GB, free: 6.195 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.344e-05/0.4813, allocations: 8.031 kB / 1.228 GB, free: 6.188 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002707/0.4816, allocations: 43.69 kB / 1.228 GB, free: 6.145 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003355/0.482, allocations: 280.3 kB / 1.228 GB, free: 5.832 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.889e-05/0.482, allocations: 12.33 kB / 1.228 GB, free: 5.82 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.913e-05/0.482, allocations: 16 kB / 1.228 GB, free: 5.805 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005176/0.4826, allocations: 247 kB / 1.228 GB, free: 5.559 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.078e-05/0.4826, allocations: 3.938 kB / 1.228 GB, free: 5.555 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.449e-05/0.4826, allocations: 8 kB / 1.228 GB, free: 5.547 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.14e-05/0.4826, allocations: 8 kB / 1.228 GB, free: 5.539 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006303/0.4833, allocations: 255.8 kB / 1.229 GB, free: 5.289 MB / 0.9825 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.001289/0.4846, allocations: 0.8275 MB / 1.23 GB, free: 4.383 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003256/0.4849, allocations: 146.6 kB / 1.23 GB, free: 4.23 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002261/0.4852, allocations: 116.7 kB / 1.23 GB, free: 4.113 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002743/0.4854, allocations: 190.2 kB / 1.23 GB, free: 3.891 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.116e-05/0.4855, allocations: 34.56 kB / 1.23 GB, free: 3.848 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=14): time 1.513e-06/0.4855, allocations: 0 / 1.23 GB, free: 3.848 MB / 0.9825 GB Notification: Performance of matching and sorting (n=14): time 0.0008463/0.4863, allocations: 304.7 kB / 1.23 GB, free: 3.547 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.201e-05/0.4864, allocations: 55.41 kB / 1.23 GB, free: 3.48 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002276/0.4866, allocations: 241 kB / 1.231 GB, free: 3.234 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.588e-05/0.4866, allocations: 33.7 kB / 1.231 GB, free: 3.195 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 9.486e-05/0.4867, allocations: 132.2 kB / 1.231 GB, free: 3.062 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.339e-05/0.4868, allocations: 51.3 kB / 1.231 GB, free: 3.012 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.103e-05/0.4869, allocations: 33.7 kB / 1.231 GB, free: 2.973 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0002047/0.4871, allocations: 334.8 kB / 1.231 GB, free: 2.637 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001785/0.4873, allocations: 71.95 kB / 1.231 GB, free: 2.566 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002168/0.4875, allocations: 104 kB / 1.231 GB, free: 2.457 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003619/0.4879, allocations: 162.5 kB / 1.231 GB, free: 2.289 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.4879, allocations: 4 kB / 1.231 GB, free: 2.285 MB / 0.9825 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004537/0.4883, allocations: 221.2 kB / 1.232 GB, free: 2.062 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.849e-05/0.4884, allocations: 7.938 kB / 1.232 GB, free: 2.055 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.4884, allocations: 3.938 kB / 1.232 GB, free: 2.051 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.359e-05/0.4884, allocations: 4 kB / 1.232 GB, free: 2.047 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001961/0.4886, allocations: 27.97 kB / 1.232 GB, free: 2.02 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.4886, allocations: 4 kB / 1.232 GB, free: 2.016 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001818/0.4888, allocations: 23.89 kB / 1.232 GB, free: 1.992 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.594e-05/0.4888, allocations: 12 kB / 1.232 GB, free: 1.98 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (15): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001303/0.489, allocations: 141.7 kB / 1.232 GB, free: 1.832 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.906e-05/0.489, allocations: 27.75 kB / 1.232 GB, free: 1.805 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001076/0.4891, allocations: 29.83 kB / 1.232 GB, free: 1.781 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.434e-06/0.4891, allocations: 4 kB / 1.232 GB, free: 1.777 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.371e-06/0.4892, allocations: 0 / 1.232 GB, free: 1.777 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.447e-06/0.4892, allocations: 4 kB / 1.232 GB, free: 1.773 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001016/0.4902, allocations: 0.6834 MB / 1.233 GB, free: 1.012 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.444e-06/0.4902, allocations: 0 / 1.233 GB, free: 1.012 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001651/0.4904, allocations: 35.91 kB / 1.233 GB, free: 0.9766 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.933e-06/0.4904, allocations: 4 kB / 1.233 GB, free: 0.9727 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.481e-05/0.4904, allocations: 0 / 1.233 GB, free: 0.9727 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.817e-06/0.4904, allocations: 4 kB / 1.233 GB, free: 0.9688 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.327e-06/0.4904, allocations: 4 kB / 1.233 GB, free: 0.9648 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005023/0.4909, allocations: 363.4 kB / 1.233 GB, free: 0.5742 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001025/0.491, allocations: 116.8 kB / 1.233 GB, free: 452 kB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.846e-05/0.4911, allocations: 4 kB / 1.233 GB, free: 448 kB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001803/0.4913, allocations: 11.98 kB / 1.233 GB, free: 436 kB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.415e-05/0.4913, allocations: 15.92 kB / 1.233 GB, free: 420 kB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.37e-05/0.4914, allocations: 8 kB / 1.233 GB, free: 412 kB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001573/0.4915, allocations: 180.5 kB / 1.233 GB, free: 232 kB / 0.9825 GB Notification: Performance of sort global known variables: time 3e-07/0.4915, allocations: 0 / 1.233 GB, free: 232 kB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003775/0.4919, allocations: 63.91 kB / 1.233 GB, free: 168 kB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 simulation (14): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003793/0.4923, allocations: 152.2 kB / 1.234 GB, free: 12 kB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004936/0.4928, allocations: 183.8 kB / 1.234 GB, free: 15.83 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.4928, allocations: 0 / 1.234 GB, free: 15.83 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002207/0.493, allocations: 104.4 kB / 1.234 GB, free: 15.73 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007551/0.4938, allocations: 121.4 kB / 1.234 GB, free: 15.61 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008223/0.4946, allocations: 0.5 MB / 1.234 GB, free: 15.07 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003946/0.495, allocations: 0.7519 MB / 1.235 GB, free: 14.29 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0002466/0.4953, allocations: 61.84 kB / 1.235 GB, free: 14.23 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.087e-05/0.4954, allocations: 23.44 kB / 1.235 GB, free: 14.21 MB / 0.9981 GB Notification: Performance of SimCode: time 3.81e-07/0.4954, allocations: 0 / 1.235 GB, free: 14.21 MB / 0.9981 GB Notification: Performance of Templates: time 0.009004/0.5044, allocations: 4.346 MB / 1.239 GB, free: 9.938 MB / 0.9981 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.sim & ./Buildings_3.0.0_Buildings.Fluid.FixedResistances.Validation.LosslessPipe -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe 2>&1)