Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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_3.0.0_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_3.0.0_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.00132/0.00132, 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.001505/0.001505, allocations: 190.2 kB / 16.25 MB, free: 6.629 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.333/1.333, allocations: 222.9 MB / 239.9 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.717/2.717, allocations: 472.6 MB / 0.7448 GB, free: 4.938 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001196/0.001196, allocations: 59.08 kB / 0.9115 GB, free: 33.63 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2851/0.2863, allocations: 159.9 MB / 1.068 GB, free: 10.83 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.Steam.BaseClasses.Examples.SteamTrap): time 0.03729/0.3236, allocations: 37.05 MB / 1.104 GB, free: 5.652 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.1515/0.4751, allocations: 146.5 MB / 1.247 GB, free: 2.602 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001863/0.477, allocations: 43.75 kB / 1.247 GB, free: 2.559 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.5681/1.045, allocations: 4.004 MB / 1.251 GB, free: 7.172 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.00567/1.051, allocations: 1.817 MB / 1.253 GB, free: 7.172 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003449/1.054, allocations: 1.332 MB / 1.254 GB, free: 7.172 MB / 0.9981 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1089:9-1089: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.009004/1.063, allocations: 6.294 MB / 1.26 GB, free: 7.16 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002147/1.065, allocations: 1.119 MB / 1.261 GB, free: 7.07 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003912/1.069, allocations: 1.448 MB / 1.263 GB, free: 7.055 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00184/1.071, allocations: 1.029 MB / 1.264 GB, free: 7.055 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002438/1.071, allocations: 117.8 kB / 1.264 GB, free: 7.055 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002591/1.074, allocations: 1.126 MB / 1.265 GB, free: 7.039 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0006149/1.075, allocations: 0.5119 MB / 1.265 GB, free: 7.039 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001274/1.076, allocations: 0.8493 MB / 1.266 GB, free: 7.039 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.004864/1.081, allocations: 2.697 MB / 1.269 GB, free: 6.82 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/1.081, allocations: 0 / 1.269 GB, free: 6.82 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.663e-06/1.081, allocations: 0.6094 kB / 1.269 GB, free: 6.82 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.274e-05/1.081, allocations: 1.031 kB / 1.269 GB, free: 6.82 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.004399/1.085, allocations: 2.058 MB / 1.271 GB, free: 5.715 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.697e-05/1.085, allocations: 12.97 kB / 1.271 GB, free: 5.715 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002071/1.088, allocations: 356.3 kB / 1.271 GB, free: 5.621 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004143/1.092, allocations: 2.125 MB / 1.273 GB, free: 5.18 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.729e-05/1.092, allocations: 63.16 kB / 1.273 GB, free: 5.18 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001436/1.092, allocations: 85.72 kB / 1.273 GB, free: 5.18 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001817/1.094, allocations: 0.8517 MB / 1.274 GB, free: 5.055 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.485e-05/1.094, allocations: 2.281 kB / 1.274 GB, free: 5.055 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.091e-05/1.094, allocations: 36.5 kB / 1.274 GB, free: 5.051 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.08e-05/1.094, allocations: 29.05 kB / 1.274 GB, free: 5.051 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001713/1.096, allocations: 0.6712 MB / 1.275 GB, free: 5.043 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.006369/1.102, allocations: 3.784 MB / 1.279 GB, free: 19.44 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001352/1.103, allocations: 0.5311 MB / 1.279 GB, free: 19.41 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005594/1.104, allocations: 249.4 kB / 1.279 GB, free: 19.4 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002913/1.107, allocations: 1.815 MB / 1.281 GB, free: 18.23 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.59e-05/1.107, allocations: 40.62 kB / 1.281 GB, free: 18.2 MB / 1.014 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003702/1.107, allocations: 58.72 kB / 1.281 GB, free: 18.16 MB / 1.014 GB Notification: Performance of pre-optimization done (n=44): time 2.023e-06/1.107, allocations: 1 kB / 1.281 GB, free: 18.16 MB / 1.014 GB Notification: Performance of matching and sorting (n=44): time 0.002019/1.109, allocations: 0.7547 MB / 1.282 GB, free: 18.04 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.955e-05/1.109, allocations: 57.38 kB / 1.282 GB, free: 17.98 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002161/1.112, allocations: 1.522 MB / 1.284 GB, free: 17.79 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 7.174e-05/1.112, allocations: 36.7 kB / 1.284 GB, free: 17.76 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005927/1.112, allocations: 0.6715 MB / 1.284 GB, free: 17.53 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001603/1.112, allocations: 165.3 kB / 1.284 GB, free: 17.43 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004373/1.113, allocations: 254 kB / 1.285 GB, free: 17.4 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001688/1.113, allocations: 354 kB / 1.285 GB, free: 17.1 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008109/1.114, allocations: 432.7 kB / 1.285 GB, free: 17.09 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009882/1.115, allocations: 0.7073 MB / 1.286 GB, free: 16.8 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001669/1.117, allocations: 1.043 MB / 1.287 GB, free: 16.53 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.664e-06/1.117, allocations: 6.281 kB / 1.287 GB, free: 16.52 MB / 1.014 GB Notification: Performance of matching and sorting (n=149) (initialization): time 0.002429/1.119, allocations: 1.305 MB / 1.288 GB, free: 16.39 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.702e-05/1.119, allocations: 7.812 kB / 1.288 GB, free: 16.39 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.084e-05/1.119, allocations: 8.156 kB / 1.288 GB, free: 16.39 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.002e-05/1.119, allocations: 17.5 kB / 1.288 GB, free: 16.39 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009704/1.12, allocations: 233.4 kB / 1.289 GB, free: 16.39 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.795e-05/1.12, allocations: 18.64 kB / 1.289 GB, free: 16.39 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001192/1.121, allocations: 85.48 kB / 1.289 GB, free: 16.38 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001086/1.121, allocations: 47.45 kB / 1.289 GB, free: 16.38 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001423/1.123, allocations: 0.7564 MB / 1.29 GB, free: 16.29 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009581/1.124, allocations: 0.6933 MB / 1.29 GB, free: 16 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001555/1.125, allocations: 1.037 MB / 1.291 GB, free: 15.72 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.823e-06/1.125, allocations: 3.125 kB / 1.291 GB, free: 15.72 MB / 1.014 GB Notification: Performance of matching and sorting (n=149) (initialization_lambda0): time 0.002487/1.128, allocations: 1.291 MB / 1.292 GB, free: 15.59 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/1.128, allocations: 9.969 kB / 1.292 GB, free: 15.59 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.211e-05/1.128, allocations: 7.344 kB / 1.292 GB, free: 15.59 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.616e-05/1.128, allocations: 12.5 kB / 1.292 GB, free: 15.59 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008549/1.129, allocations: 226 kB / 1.293 GB, free: 15.59 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.469e-05/1.129, allocations: 23.27 kB / 1.293 GB, free: 15.59 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001092/1.13, allocations: 86.36 kB / 1.293 GB, free: 15.58 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.83e-05/1.13, allocations: 44.94 kB / 1.293 GB, free: 15.58 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.0003065/1.13, allocations: 235.1 kB / 1.293 GB, free: 15.39 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002208/1.131, allocations: 137.4 kB / 1.293 GB, free: 15.32 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001847/1.132, allocations: 0.7596 MB / 1.294 GB, free: 15.24 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-05/1.132, allocations: 5.562 kB / 1.294 GB, free: 15.24 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/1.133, allocations: 1.125 kB / 1.294 GB, free: 15.24 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001366/1.134, allocations: 0.7656 MB / 1.295 GB, free: 14.88 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003241/1.137, allocations: 1.786 MB / 1.296 GB, free: 14.52 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.368e-06/1.137, allocations: 2.188 kB / 1.296 GB, free: 14.52 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005714/1.138, allocations: 110.7 kB / 1.297 GB, free: 14.52 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.182e-06/1.138, allocations: 2.812 kB / 1.297 GB, free: 14.52 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.861e-05/1.138, allocations: 17.73 kB / 1.297 GB, free: 14.52 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.758e-06/1.138, allocations: 7.719 kB / 1.297 GB, free: 14.52 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.26e-06/1.138, allocations: 6.125 kB / 1.297 GB, free: 14.52 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00208/1.14, allocations: 1.068 MB / 1.298 GB, free: 14.26 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004787/1.14, allocations: 296 kB / 1.298 GB, free: 14.08 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002193/1.141, allocations: 15.16 kB / 1.298 GB, free: 14.08 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007162/1.141, allocations: 58.72 kB / 1.298 GB, free: 14.07 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.723e-05/1.141, allocations: 38.27 kB / 1.298 GB, free: 14.07 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.432e-05/1.142, allocations: 21.61 kB / 1.298 GB, free: 14.07 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.00163/1.143, allocations: 1.015 MB / 1.299 GB, free: 13.96 MB / 1.014 GB Notification: Performance of sort global known variables: time 2.9e-07/1.143, allocations: 3.656 kB / 1.299 GB, free: 13.96 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.002372/1.146, allocations: 0.734 MB / 1.3 GB, free: 13.88 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 (52): * Single equations (assignments): 48 * 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.001428/1.147, allocations: 0.5111 MB / 1.3 GB, free: 13.75 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.002977/1.15, allocations: 1.506 MB / 1.302 GB, free: 13.73 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 5.931e-06/1.15, allocations: 3.25 kB / 1.302 GB, free: 13.73 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.000638/1.151, allocations: 294.1 kB / 1.302 GB, free: 13.73 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002921/1.154, allocations: 0.7059 MB / 1.303 GB, free: 13.62 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004652/1.158, allocations: 3.063 MB / 1.306 GB, free: 12.05 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001119/1.159, allocations: 1.289 MB / 1.307 GB, free: 11.32 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001965/1.161, allocations: 412.5 kB / 1.307 GB, free: 11.2 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004492/1.162, allocations: 122.5 kB / 1.307 GB, free: 11.19 MB / 1.014 GB Notification: Performance of SimCode: time 6.72e-07/1.162, allocations: 0 / 1.307 GB, free: 11.19 MB / 1.014 GB Notification: Performance of Templates: time 0.05023/1.212, allocations: 28.56 MB / 1.335 GB, free: 3.723 MB / 1.014 GB make -j1 -f Buildings_3.0.0_Buildings.DHC.Loads.Steam.BaseClasses.Examples.SteamTrap.makefile (rm -f Buildings_3.0.0_Buildings.DHC.Loads.Steam.BaseClasses.Examples.SteamTrap.pipe ; mkfifo Buildings_3.0.0_Buildings.DHC.Loads.Steam.BaseClasses.Examples.SteamTrap.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.DHC.Loads.Steam.BaseClasses.Examples.SteamTrap.pipe >> ../files/Buildings_3.0.0_Buildings.DHC.Loads.Steam.BaseClasses.Examples.SteamTrap.sim & ./Buildings_3.0.0_Buildings.DHC.Loads.Steam.BaseClasses.Examples.SteamTrap -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.DHC.Loads.Steam.BaseClasses.Examples.SteamTrap.pipe 2>&1)