Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.DHC.Loads.Steam.BaseClasses.Examples.SteamTrap.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.Loads.Steam.BaseClasses.Examples.SteamTrap,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.DHC.Loads.Steam.BaseClasses.Examples.SteamTrap") translateModel(Buildings.DHC.Loads.Steam.BaseClasses.Examples.SteamTrap,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.DHC.Loads.Steam.BaseClasses.Examples.SteamTrap") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001194/0.001194, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001268/0.001268, allocations: 194.8 kB / 16.14 MB, free: 6.66 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.331/1.331, allocations: 222.9 MB / 239.8 MB, free: 4.59 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.686/2.686, allocations: 472.6 MB / 0.7447 GB, free: 5.004 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001203/0.001203, allocations: 60.89 kB / 0.9114 GB, free: 33.63 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2945/0.2957, allocations: 159.9 MB / 1.068 GB, free: 10.9 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.Steam.BaseClasses.Examples.SteamTrap): time 0.03546/0.3312, allocations: 37.12 MB / 1.104 GB, free: 5.648 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.1505/0.4818, allocations: 146.6 MB / 1.247 GB, free: 2.5 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00166/0.4835, allocations: 43.75 kB / 1.247 GB, free: 2.457 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.5537/1.037, allocations: 3.854 MB / 1.251 GB, free: 7.148 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.005/1.042, allocations: 1.789 MB / 1.252 GB, free: 7.148 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003191/1.045, allocations: 1.297 MB / 1.254 GB, free: 7.145 MB / 0.9981 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1088:9-1088:67:writable] Error: Internal error NFCeval.evalBinaryMul failed to evaluate ‘{0.0, 0.02008867139553991}[pressure.n] * 0.0‘ Notification: Performance of NFFlatten.flatten: time 0.009716/1.055, allocations: 7.332 MB / 1.261 GB, free: 7.109 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001769/1.057, allocations: 0.9559 MB / 1.262 GB, free: 7 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00291/1.06, allocations: 1.266 MB / 1.263 GB, free: 6.977 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001909/1.062, allocations: 1.003 MB / 1.264 GB, free: 6.977 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0003917/1.062, allocations: 58.97 kB / 1.264 GB, free: 6.977 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002875/1.065, allocations: 1.088 MB / 1.265 GB, free: 6.973 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.000793/1.066, allocations: 459 kB / 1.266 GB, free: 6.973 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001832/1.068, allocations: 0.7921 MB / 1.266 GB, free: 6.973 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.004564/1.072, allocations: 2.641 MB / 1.269 GB, free: 6.77 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/1.072, allocations: 0 / 1.269 GB, free: 6.77 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.104e-06/1.072, allocations: 1.531 kB / 1.269 GB, free: 6.77 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.751e-05/1.072, allocations: 0 / 1.269 GB, free: 6.77 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 184 * Number of variables: 184 Notification: Performance of Generate backend data structure: time 0.004453/1.077, allocations: 2.062 MB / 1.271 GB, free: 5.652 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.807e-05/1.077, allocations: 9.531 kB / 1.271 GB, free: 5.652 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002206/1.079, allocations: 357 kB / 1.271 GB, free: 5.547 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003952/1.083, allocations: 2.127 MB / 1.273 GB, free: 5.105 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.881e-05/1.083, allocations: 65.81 kB / 1.273 GB, free: 5.102 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001688/1.083, allocations: 81.06 kB / 1.274 GB, free: 5.102 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001801/1.085, allocations: 0.8495 MB / 1.274 GB, free: 4.977 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.638e-05/1.085, allocations: 1.969 kB / 1.274 GB, free: 4.977 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.194e-05/1.085, allocations: 39.06 kB / 1.274 GB, free: 4.973 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.472e-05/1.085, allocations: 28.38 kB / 1.274 GB, free: 4.969 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001663/1.087, allocations: 0.6703 MB / 1.275 GB, free: 4.957 MB / 0.9981 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.005926/1.093, allocations: 3.795 MB / 1.279 GB, free: 19.33 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001346/1.094, allocations: 0.5235 MB / 1.279 GB, free: 19.29 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005962/1.095, allocations: 253.1 kB / 1.28 GB, free: 19.28 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003063/1.098, allocations: 1.817 MB / 1.281 GB, free: 18.11 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.657e-05/1.098, allocations: 37.25 kB / 1.281 GB, free: 18.07 MB / 1.014 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004425/1.099, allocations: 65.25 kB / 1.281 GB, free: 18.04 MB / 1.014 GB Notification: Performance of pre-optimization done (n=44): time 2.735e-06/1.099, allocations: 0 / 1.281 GB, free: 18.04 MB / 1.014 GB Notification: Performance of matching and sorting (n=44): time 0.001929/1.101, allocations: 0.7511 MB / 1.282 GB, free: 17.91 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.925e-05/1.101, allocations: 55.41 kB / 1.282 GB, free: 17.84 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002365/1.103, allocations: 1.515 MB / 1.284 GB, free: 17.65 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001197/1.103, allocations: 36.8 kB / 1.284 GB, free: 17.62 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005741/1.104, allocations: 0.6741 MB / 1.284 GB, free: 17.39 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001612/1.104, allocations: 162.8 kB / 1.285 GB, free: 17.29 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004018/1.104, allocations: 254.5 kB / 1.285 GB, free: 17.27 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.000179/1.104, allocations: 353.7 kB / 1.285 GB, free: 16.96 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008859/1.105, allocations: 431.2 kB / 1.286 GB, free: 16.95 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009603/1.106, allocations: 0.7079 MB / 1.286 GB, free: 16.64 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001579/1.108, allocations: 1.044 MB / 1.287 GB, free: 16.35 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.126e-06/1.108, allocations: 5.438 kB / 1.287 GB, free: 16.35 MB / 1.014 GB Notification: Performance of matching and sorting (n=149) (initialization): time 0.002617/1.111, allocations: 1.298 MB / 1.289 GB, free: 16.21 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.758e-05/1.111, allocations: 13.91 kB / 1.289 GB, free: 16.21 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.525e-05/1.111, allocations: 8.25 kB / 1.289 GB, free: 16.21 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.659e-05/1.111, allocations: 12.28 kB / 1.289 GB, free: 16.21 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000903/1.112, allocations: 228.2 kB / 1.289 GB, free: 16.21 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.931e-05/1.112, allocations: 23 kB / 1.289 GB, free: 16.21 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001382/1.113, allocations: 83.05 kB / 1.289 GB, free: 16.2 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001057/1.113, allocations: 50.61 kB / 1.289 GB, free: 16.2 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001534/1.115, allocations: 0.7525 MB / 1.29 GB, free: 16.11 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009735/1.116, allocations: 0.6927 MB / 1.29 GB, free: 15.81 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001555/1.117, allocations: 1.03 MB / 1.291 GB, free: 15.51 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.142e-06/1.117, allocations: 2.219 kB / 1.291 GB, free: 15.51 MB / 1.014 GB Notification: Performance of matching and sorting (n=149) (initialization_lambda0): time 0.002337/1.12, allocations: 1.28 MB / 1.293 GB, free: 15.37 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.518e-05/1.12, allocations: 7.938 kB / 1.293 GB, free: 15.37 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.127e-05/1.12, allocations: 9.625 kB / 1.293 GB, free: 15.37 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.454e-05/1.12, allocations: 15.53 kB / 1.293 GB, free: 15.37 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008226/1.12, allocations: 226.2 kB / 1.293 GB, free: 15.36 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.835e-05/1.12, allocations: 16.75 kB / 1.293 GB, free: 15.36 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001291/1.122, allocations: 91.28 kB / 1.293 GB, free: 15.35 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.447e-05/1.122, allocations: 42.36 kB / 1.293 GB, free: 15.35 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * 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 (116): * Single equations (assignments): 114 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 1 * 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.0002934/1.122, allocations: 238.9 kB / 1.293 GB, free: 15.16 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002489/1.122, allocations: 137.5 kB / 1.293 GB, free: 15.09 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001785/1.124, allocations: 0.7445 MB / 1.294 GB, free: 14.99 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.644e-05/1.124, allocations: 10.27 kB / 1.294 GB, free: 14.99 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.042e-06/1.124, allocations: 2.25 kB / 1.294 GB, free: 14.99 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001224/1.125, allocations: 0.7537 MB / 1.295 GB, free: 14.64 MB / 1.014 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 postOpt removeSimpleEquations (simulation): time 0.003707/1.129, allocations: 1.846 MB / 1.297 GB, free: 14.21 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.953e-06/1.129, allocations: 3.922 kB / 1.297 GB, free: 14.21 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005871/1.13, allocations: 111.5 kB / 1.297 GB, free: 14.2 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.612e-06/1.13, allocations: 6.844 kB / 1.297 GB, free: 14.2 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.385e-05/1.13, allocations: 16.31 kB / 1.297 GB, free: 14.2 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.62e-06/1.13, allocations: 5.438 kB / 1.297 GB, free: 14.2 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/1.13, allocations: 5.719 kB / 1.297 GB, free: 14.2 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002204/1.132, allocations: 1.063 MB / 1.298 GB, free: 13.92 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006073/1.133, allocations: 295.4 kB / 1.298 GB, free: 13.75 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002046/1.133, allocations: 12.78 kB / 1.298 GB, free: 13.75 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007148/1.134, allocations: 59.92 kB / 1.298 GB, free: 13.74 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.754e-05/1.134, allocations: 34.88 kB / 1.298 GB, free: 13.74 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.927e-05/1.134, allocations: 22.69 kB / 1.298 GB, free: 13.74 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001362/1.135, allocations: 1.015 MB / 1.299 GB, free: 13.62 MB / 1.014 GB Notification: Performance of sort global known variables: time 2.61e-07/1.135, allocations: 0 / 1.299 GB, free: 13.62 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.002259/1.137, allocations: 0.749 MB / 1.3 GB, free: 13.53 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 5 (pum.vol.dynBal.U,pum.filter.s[1],pum.filter.s[2],hIn.h_out,hOut.h_out) * 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 (51): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.001232/1.139, allocations: 0.5 MB / 1.3 GB, free: 13.38 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.002724/1.141, allocations: 1.46 MB / 1.302 GB, free: 13.35 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.888e-06/1.141, allocations: 0 / 1.302 GB, free: 13.35 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0005944/1.142, allocations: 282.7 kB / 1.302 GB, free: 13.35 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002963/1.145, allocations: 0.6559 MB / 1.303 GB, free: 13.29 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004016/1.149, allocations: 3.034 MB / 1.306 GB, free: 11.71 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008122/1.15, allocations: 1.295 MB / 1.307 GB, free: 10.98 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001693/1.152, allocations: 403.9 kB / 1.307 GB, free: 10.88 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000355/1.152, allocations: 128.1 kB / 1.308 GB, free: 10.86 MB / 1.014 GB Notification: Performance of SimCode: time 7.41e-07/1.152, allocations: 0 / 1.308 GB, free: 10.86 MB / 1.014 GB Notification: Performance of Templates: time 0.0463/1.198, allocations: 27.79 MB / 1.335 GB, free: 2.742 MB / 1.014 GB make -j1 -f Buildings_1.6_Buildings.DHC.Loads.Steam.BaseClasses.Examples.SteamTrap.makefile (rm -f Buildings_1.6_Buildings.DHC.Loads.Steam.BaseClasses.Examples.SteamTrap.pipe ; mkfifo Buildings_1.6_Buildings.DHC.Loads.Steam.BaseClasses.Examples.SteamTrap.pipe ; head -c 1048576 < Buildings_1.6_Buildings.DHC.Loads.Steam.BaseClasses.Examples.SteamTrap.pipe >> ../files/Buildings_1.6_Buildings.DHC.Loads.Steam.BaseClasses.Examples.SteamTrap.sim & ./Buildings_1.6_Buildings.DHC.Loads.Steam.BaseClasses.Examples.SteamTrap -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.DHC.Loads.Steam.BaseClasses.Examples.SteamTrap.pipe 2>&1)