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.001091/0.001091, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.007169/0.007169, allocations: 169.9 kB / 16.26 MB, free: 6.613 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.395/1.395, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.775/2.775, allocations: 473.4 MB / 0.7469 GB, free: 6.086 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003925/0.0003926, allocations: 8.688 kB / 0.9158 GB, free: 32.96 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3332/0.3336, allocations: 162.2 MB / 1.074 GB, free: 7.523 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.Steam.BaseClasses.Examples.SteamTrap): time 0.03703/0.3706, allocations: 36.28 MB / 1.11 GB, free: 3.109 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.1636/0.5343, allocations: 145 MB / 1.251 GB, free: 1.562 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001846/0.5362, allocations: 43.69 kB / 1.251 GB, free: 1.52 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.5725/1.109, allocations: 3.852 MB / 1.255 GB, free: 6.992 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.006996/1.116, allocations: 1.788 MB / 1.257 GB, free: 6.977 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003995/1.12, allocations: 1.31 MB / 1.258 GB, free: 6.965 MB / 0.9981 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1080:9-1080: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.01178/1.132, allocations: 7.328 MB / 1.265 GB, free: 6.934 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002242/1.134, allocations: 0.9342 MB / 1.266 GB, free: 6.82 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00364/1.138, allocations: 1.235 MB / 1.267 GB, free: 6.797 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001833/1.139, allocations: 0.9606 MB / 1.268 GB, free: 6.797 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002962/1.14, allocations: 49.88 kB / 1.268 GB, free: 6.797 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003835/1.144, allocations: 1.08 MB / 1.269 GB, free: 6.793 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.000724/1.144, allocations: 435.1 kB / 1.27 GB, free: 6.793 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001374/1.146, allocations: 0.7947 MB / 1.271 GB, free: 6.762 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.005465/1.151, allocations: 2.591 MB / 1.273 GB, free: 6.609 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 7.844e-06/1.151, allocations: 2.469 kB / 1.273 GB, free: 6.609 MB / 0.9981 GB Notification: Performance of FrontEnd: time 4.338e-06/1.151, allocations: 0 / 1.273 GB, free: 6.609 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 7.659e-05/1.151, allocations: 0 / 1.273 GB, free: 6.609 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.004912/1.156, allocations: 1.783 MB / 1.275 GB, free: 21.55 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.281e-05/1.156, allocations: 8.969 kB / 1.275 GB, free: 21.55 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002057/1.158, allocations: 363.6 kB / 1.275 GB, free: 21.45 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00456/1.163, allocations: 2.127 MB / 1.277 GB, free: 21.01 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001114/1.163, allocations: 63.84 kB / 1.277 GB, free: 21 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001964/1.163, allocations: 80.08 kB / 1.277 GB, free: 21 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002082/1.165, allocations: 0.8583 MB / 1.278 GB, free: 20.88 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.502e-05/1.165, allocations: 3.797 kB / 1.278 GB, free: 20.88 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.06e-05/1.165, allocations: 36.19 kB / 1.278 GB, free: 20.87 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.811e-05/1.165, allocations: 31.73 kB / 1.278 GB, free: 20.87 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001647/1.167, allocations: 0.6829 MB / 1.279 GB, free: 20.86 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 preOpt removeSimpleEquations (simulation): time 0.005845/1.173, allocations: 3.799 MB / 1.283 GB, free: 19.22 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001336/1.174, allocations: 0.528 MB / 1.283 GB, free: 19.18 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005791/1.175, allocations: 255.2 kB / 1.283 GB, free: 19.17 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003144/1.178, allocations: 1.841 MB / 1.285 GB, free: 18 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.35e-05/1.178, allocations: 36.53 kB / 1.285 GB, free: 17.96 MB / 1.014 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004813/1.179, allocations: 66.83 kB / 1.285 GB, free: 17.93 MB / 1.014 GB Notification: Performance of pre-optimization done (n=44): time 3.196e-06/1.179, allocations: 0 / 1.285 GB, free: 17.93 MB / 1.014 GB Notification: Performance of matching and sorting (n=44): time 0.002092/1.181, allocations: 0.7616 MB / 1.286 GB, free: 17.8 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.731e-05/1.181, allocations: 55.5 kB / 1.286 GB, free: 17.74 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00265/1.183, allocations: 1.521 MB / 1.288 GB, free: 17.54 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 9.642e-05/1.184, allocations: 37.45 kB / 1.288 GB, free: 17.51 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005178/1.184, allocations: 0.6694 MB / 1.288 GB, free: 17.29 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001423/1.184, allocations: 171.8 kB / 1.288 GB, free: 17.18 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001463/1.184, allocations: 125.1 kB / 1.289 GB, free: 17.16 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001441/1.185, allocations: 353.8 kB / 1.289 GB, free: 16.86 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008415/1.185, allocations: 430.4 kB / 1.289 GB, free: 16.86 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001024/1.186, allocations: 0.711 MB / 1.29 GB, free: 16.55 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001657/1.188, allocations: 1.043 MB / 1.291 GB, free: 16.26 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.205e-06/1.188, allocations: 6.312 kB / 1.291 GB, free: 16.25 MB / 1.014 GB Notification: Performance of matching and sorting (n=149) (initialization): time 0.002506/1.191, allocations: 1.315 MB / 1.292 GB, free: 16.11 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001574/1.191, allocations: 315.8 kB / 1.293 GB, free: 15.75 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.662e-05/1.191, allocations: 7.438 kB / 1.293 GB, free: 15.75 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.909e-05/1.191, allocations: 12.03 kB / 1.293 GB, free: 15.75 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009082/1.192, allocations: 236.8 kB / 1.293 GB, free: 15.75 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.3e-05/1.192, allocations: 14.91 kB / 1.293 GB, free: 15.75 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001317/1.193, allocations: 90.05 kB / 1.293 GB, free: 15.75 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001229/1.193, allocations: 50.17 kB / 1.293 GB, free: 15.75 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.149e-05/1.193, allocations: 7.656 kB / 1.293 GB, free: 15.74 MB / 1.014 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002025/1.195, allocations: 1.138 MB / 1.294 GB, free: 15.7 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.483e-05/1.195, allocations: 7.281 kB / 1.294 GB, free: 15.7 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.587e-05/1.195, allocations: 14.16 kB / 1.294 GB, free: 15.7 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008033/1.196, allocations: 227.4 kB / 1.294 GB, free: 15.7 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.942e-05/1.196, allocations: 19.61 kB / 1.294 GB, free: 15.7 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001083/1.197, allocations: 98.78 kB / 1.294 GB, free: 15.68 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.302e-05/1.197, allocations: 40.59 kB / 1.295 GB, free: 15.68 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.0009365/1.198, allocations: 498.3 kB / 1.295 GB, free: 15.49 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002524/1.199, allocations: 144.4 kB / 1.295 GB, free: 15.41 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001797/1.2, allocations: 0.7543 MB / 1.296 GB, free: 15.32 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.657e-05/1.2, allocations: 12.84 kB / 1.296 GB, free: 15.32 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/1.2, allocations: 0 / 1.296 GB, free: 15.32 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00133/1.202, allocations: 0.7609 MB / 1.297 GB, free: 14.95 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.003374/1.205, allocations: 1.858 MB / 1.298 GB, free: 14.52 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.354e-06/1.205, allocations: 3.688 kB / 1.298 GB, free: 14.52 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00058/1.206, allocations: 114.3 kB / 1.299 GB, free: 14.52 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.394e-06/1.206, allocations: 2.469 kB / 1.299 GB, free: 14.52 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.547e-05/1.206, allocations: 19.12 kB / 1.299 GB, free: 14.52 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.511e-06/1.206, allocations: 2.844 kB / 1.299 GB, free: 14.52 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.496e-06/1.206, allocations: 4.938 kB / 1.299 GB, free: 14.52 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002109/1.208, allocations: 1.074 MB / 1.3 GB, free: 14.24 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005537/1.209, allocations: 294.3 kB / 1.3 GB, free: 14.07 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001774/1.209, allocations: 11.41 kB / 1.3 GB, free: 14.07 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007625/1.21, allocations: 66.08 kB / 1.3 GB, free: 14.06 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000102/1.21, allocations: 43.53 kB / 1.3 GB, free: 14.05 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.19e-05/1.21, allocations: 23.47 kB / 1.3 GB, free: 14.05 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001495/1.211, allocations: 1.016 MB / 1.301 GB, free: 13.94 MB / 1.014 GB Notification: Performance of sort global known variables: time 4.21e-07/1.211, allocations: 0 / 1.301 GB, free: 13.94 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.002308/1.214, allocations: 0.7396 MB / 1.302 GB, free: 13.85 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.001198/1.215, allocations: 0.5092 MB / 1.302 GB, free: 13.7 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.002822/1.218, allocations: 1.476 MB / 1.304 GB, free: 13.67 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 4.528e-06/1.218, allocations: 0 / 1.304 GB, free: 13.67 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0005962/1.218, allocations: 287.2 kB / 1.304 GB, free: 13.66 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003543/1.222, allocations: 0.6578 MB / 1.305 GB, free: 13.6 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004203/1.226, allocations: 3.11 MB / 1.308 GB, free: 12.01 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008625/1.227, allocations: 1.295 MB / 1.309 GB, free: 11.29 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001774/1.229, allocations: 403.8 kB / 1.309 GB, free: 11.17 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003945/1.229, allocations: 127.3 kB / 1.309 GB, free: 11.16 MB / 1.014 GB Notification: Performance of SimCode: time 1.262e-06/1.229, allocations: 0 / 1.309 GB, free: 11.16 MB / 1.014 GB Notification: Performance of Templates: time 0.04803/1.277, allocations: 27.69 MB / 1.336 GB, free: 2.031 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)