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.001498/0.001498, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.00167/0.00167, allocations: 192.2 kB / 16.14 MB, free: 6.688 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.382/1.382, allocations: 222.9 MB / 239.8 MB, free: 4.629 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.764/2.764, allocations: 472.6 MB / 0.7447 GB, free: 4.918 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001252/0.001252, allocations: 61.39 kB / 0.9114 GB, free: 33.57 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3017/0.303, allocations: 159.9 MB / 1.068 GB, free: 10.86 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.Steam.BaseClasses.Examples.SteamTrap): time 0.03772/0.3408, allocations: 37.11 MB / 1.104 GB, free: 5.617 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.151/0.4918, allocations: 146.6 MB / 1.247 GB, free: 2.469 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001955/0.4938, allocations: 43.75 kB / 1.247 GB, free: 2.426 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.5597/1.054, allocations: 3.865 MB / 1.251 GB, free: 7.602 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.005219/1.059, allocations: 1.79 MB / 1.253 GB, free: 7.602 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003205/1.062, allocations: 1.29 MB / 1.254 GB, free: 7.598 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.009879/1.072, allocations: 7.33 MB / 1.261 GB, free: 7.562 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001842/1.074, allocations: 0.9684 MB / 1.262 GB, free: 7.453 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003001/1.077, allocations: 1.262 MB / 1.263 GB, free: 7.43 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001764/1.079, allocations: 0.9996 MB / 1.264 GB, free: 7.43 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002149/1.079, allocations: 61.66 kB / 1.264 GB, free: 7.43 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002713/1.082, allocations: 1.083 MB / 1.265 GB, free: 7.426 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0007/1.082, allocations: 461.5 kB / 1.266 GB, free: 7.426 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001245/1.083, allocations: 0.7903 MB / 1.266 GB, free: 7.426 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.004406/1.088, allocations: 2.644 MB / 1.269 GB, free: 7.219 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/1.088, allocations: 1.094 kB / 1.269 GB, free: 7.219 MB / 0.9981 GB Notification: Performance of FrontEnd: time 8.62e-07/1.088, allocations: 0 / 1.269 GB, free: 7.219 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.393e-05/1.088, allocations: 0 / 1.269 GB, free: 7.219 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.004303/1.092, allocations: 2.063 MB / 1.271 GB, free: 6.102 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.877e-05/1.092, allocations: 10.55 kB / 1.271 GB, free: 6.102 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002036/1.094, allocations: 356.3 kB / 1.271 GB, free: 5.996 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003803/1.098, allocations: 2.122 MB / 1.273 GB, free: 5.559 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.391e-05/1.098, allocations: 66.02 kB / 1.273 GB, free: 5.551 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001514/1.098, allocations: 81.48 kB / 1.274 GB, free: 5.551 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001778/1.1, allocations: 0.8562 MB / 1.274 GB, free: 5.426 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.527e-05/1.1, allocations: 1.562 kB / 1.274 GB, free: 5.426 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.961e-05/1.1, allocations: 33.12 kB / 1.274 GB, free: 5.422 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.647e-05/1.1, allocations: 28.78 kB / 1.274 GB, free: 5.418 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00164/1.102, allocations: 0.6741 MB / 1.275 GB, free: 5.406 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.005732/1.108, allocations: 3.789 MB / 1.279 GB, free: 19.78 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001293/1.109, allocations: 0.5313 MB / 1.279 GB, free: 19.74 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005635/1.11, allocations: 253.6 kB / 1.28 GB, free: 19.73 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003071/1.113, allocations: 1.819 MB / 1.281 GB, free: 18.56 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.139e-05/1.113, allocations: 38.78 kB / 1.281 GB, free: 18.52 MB / 1.014 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004475/1.113, allocations: 64.39 kB / 1.281 GB, free: 18.49 MB / 1.014 GB Notification: Performance of pre-optimization done (n=44): time 2.104e-06/1.113, allocations: 4 kB / 1.281 GB, free: 18.48 MB / 1.014 GB Notification: Performance of matching and sorting (n=44): time 0.001876/1.115, allocations: 0.742 MB / 1.282 GB, free: 18.36 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.324e-05/1.115, allocations: 59.75 kB / 1.282 GB, free: 18.29 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001974/1.117, allocations: 1.517 MB / 1.284 GB, free: 18.1 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 7.193e-05/1.117, allocations: 38.02 kB / 1.284 GB, free: 18.07 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004504/1.118, allocations: 0.6714 MB / 1.284 GB, free: 17.84 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001201/1.118, allocations: 165.5 kB / 1.285 GB, free: 17.74 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003348/1.118, allocations: 250.9 kB / 1.285 GB, free: 17.71 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001393/1.118, allocations: 355 kB / 1.285 GB, free: 17.41 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007938/1.119, allocations: 429.2 kB / 1.286 GB, free: 17.4 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009787/1.12, allocations: 0.704 MB / 1.286 GB, free: 17.1 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001573/1.122, allocations: 1.042 MB / 1.287 GB, free: 16.8 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.288e-06/1.122, allocations: 7.062 kB / 1.287 GB, free: 16.8 MB / 1.014 GB Notification: Performance of matching and sorting (n=149) (initialization): time 0.002511/1.124, allocations: 1.3 MB / 1.289 GB, free: 16.66 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.512e-05/1.124, allocations: 7.375 kB / 1.289 GB, free: 16.66 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.635e-05/1.124, allocations: 12.25 kB / 1.289 GB, free: 16.66 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.881e-05/1.124, allocations: 14.98 kB / 1.289 GB, free: 16.66 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009064/1.125, allocations: 230.1 kB / 1.289 GB, free: 16.66 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.067e-05/1.125, allocations: 15 kB / 1.289 GB, free: 16.66 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001222/1.127, allocations: 90.69 kB / 1.289 GB, free: 16.64 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.359e-05/1.127, allocations: 44.34 kB / 1.289 GB, free: 16.64 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001327/1.128, allocations: 0.7586 MB / 1.29 GB, free: 16.55 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008886/1.129, allocations: 0.6909 MB / 1.29 GB, free: 16.26 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001423/1.13, allocations: 1.032 MB / 1.291 GB, free: 15.96 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.891e-06/1.13, allocations: 2.281 kB / 1.291 GB, free: 15.96 MB / 1.014 GB Notification: Performance of matching and sorting (n=149) (initialization_lambda0): time 0.002247/1.133, allocations: 1.287 MB / 1.293 GB, free: 15.81 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.555e-05/1.133, allocations: 7.969 kB / 1.293 GB, free: 15.81 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.117e-05/1.133, allocations: 7.375 kB / 1.293 GB, free: 15.81 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.594e-05/1.133, allocations: 11.47 kB / 1.293 GB, free: 15.81 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008288/1.134, allocations: 232.3 kB / 1.293 GB, free: 15.81 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.809e-05/1.134, allocations: 15 kB / 1.293 GB, free: 15.81 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001148/1.135, allocations: 91.84 kB / 1.293 GB, free: 15.8 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.509e-05/1.135, allocations: 45.44 kB / 1.293 GB, free: 15.8 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.0003062/1.135, allocations: 236.4 kB / 1.293 GB, free: 15.61 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002306/1.135, allocations: 137.1 kB / 1.293 GB, free: 15.54 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001799/1.137, allocations: 0.7469 MB / 1.294 GB, free: 15.44 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.313e-05/1.137, allocations: 5.438 kB / 1.294 GB, free: 15.44 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/1.137, allocations: 4.609 kB / 1.294 GB, free: 15.44 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00122/1.138, allocations: 0.752 MB / 1.295 GB, free: 15.09 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.003325/1.142, allocations: 1.845 MB / 1.297 GB, free: 14.66 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.32e-06/1.142, allocations: 2.344 kB / 1.297 GB, free: 14.66 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005786/1.142, allocations: 114.4 kB / 1.297 GB, free: 14.65 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.997e-06/1.142, allocations: 3.469 kB / 1.297 GB, free: 14.65 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.641e-05/1.142, allocations: 16.7 kB / 1.297 GB, free: 14.65 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.352e-06/1.142, allocations: 2.125 kB / 1.297 GB, free: 14.65 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/1.142, allocations: 10.03 kB / 1.297 GB, free: 14.64 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002121/1.145, allocations: 1.059 MB / 1.298 GB, free: 14.37 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005505/1.145, allocations: 296.1 kB / 1.298 GB, free: 14.2 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001888/1.145, allocations: 11 kB / 1.298 GB, free: 14.2 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007159/1.146, allocations: 61.3 kB / 1.298 GB, free: 14.19 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.857e-05/1.146, allocations: 37.25 kB / 1.298 GB, free: 14.19 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.967e-05/1.146, allocations: 19.83 kB / 1.298 GB, free: 14.19 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.00135/1.148, allocations: 1.015 MB / 1.299 GB, free: 14.08 MB / 1.014 GB Notification: Performance of sort global known variables: time 2.5e-07/1.148, allocations: 0 / 1.299 GB, free: 14.08 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.00229/1.15, allocations: 0.7429 MB / 1.3 GB, free: 13.98 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.0013/1.151, allocations: 0.5085 MB / 1.3 GB, free: 13.83 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.002744/1.154, allocations: 1.462 MB / 1.302 GB, free: 13.8 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/1.154, allocations: 0 / 1.302 GB, free: 13.8 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.000585/1.155, allocations: 286.8 kB / 1.302 GB, free: 13.8 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002873/1.157, allocations: 0.6546 MB / 1.303 GB, free: 13.73 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003908/1.161, allocations: 3.031 MB / 1.306 GB, free: 12.16 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008155/1.162, allocations: 1.293 MB / 1.307 GB, free: 11.43 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001713/1.164, allocations: 404.9 kB / 1.307 GB, free: 11.32 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003475/1.164, allocations: 121.9 kB / 1.308 GB, free: 11.31 MB / 1.014 GB Notification: Performance of SimCode: time 1.162e-06/1.164, allocations: 0 / 1.308 GB, free: 11.31 MB / 1.014 GB Notification: Performance of Templates: time 0.04936/1.214, allocations: 27.79 MB / 1.335 GB, free: 3.141 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)