Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.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.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volDyn.port_a.m_flow|volSte.port_a.m_flow|volDyn.VLiq|volSte.VLiq|volDyn.T|volSte.T",fileNamePrefix="Buildings_latest_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation") translateModel(Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volDyn.port_a.m_flow|volSte.port_a.m_flow|volDyn.VLiq|volSte.VLiq|volDyn.T|volSte.T",fileNamePrefix="Buildings_latest_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00723/0.00723, allocations: 99.11 kB / 15.73 MB, free: 6.008 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.00152/0.001519, allocations: 189.8 kB / 16.67 MB, free: 5.926 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.328/1.328, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.57/2.57, allocations: 472.7 MB / 0.7453 GB, free: 464 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001259/0.001259, allocations: 63.91 kB / 1.069 GB, free: 9.609 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.046/1.047, allocations: 159.9 MB / 1.226 GB, free: 13.55 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation): time 0.183/1.23, allocations: 162.7 MB / 1.384 GB, free: 10.27 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.01143/1.242, allocations: 8.862 MB / 1.393 GB, free: 1.383 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008407/1.243, allocations: 15.94 kB / 1.393 GB, free: 1.367 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.001096/1.244, allocations: 345.8 kB / 1.393 GB, free: 1.027 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.002892/1.247, allocations: 1.114 MB / 1.395 GB, free: 15.91 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.005508/1.252, allocations: 2.115 MB / 1.397 GB, free: 13.8 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.00186/1.254, allocations: 1.38 MB / 1.398 GB, free: 12.42 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005867/1.255, allocations: 437.4 kB / 1.398 GB, free: 11.99 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005311/1.26, allocations: 2.086 MB / 1.4 GB, free: 9.895 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002883/1.263, allocations: 1.303 MB / 1.402 GB, free: 8.582 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.0001002/1.263, allocations: 52 kB / 1.402 GB, free: 8.531 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005479/1.269, allocations: 2.891 MB / 1.405 GB, free: 5.637 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.000187/1.269, allocations: 155.5 kB / 1.405 GB, free: 5.484 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0004217/1.269, allocations: 354.4 kB / 1.405 GB, free: 5.137 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.003107/1.272, allocations: 2.209 MB / 1.407 GB, free: 2.922 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/1.272, allocations: 0 / 1.407 GB, free: 2.922 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.243e-06/1.272, allocations: 4 kB / 1.407 GB, free: 2.918 MB / 1.123 GB Notification: Performance of Transformations before backend: time 1.057e-05/1.272, allocations: 0 / 1.407 GB, free: 2.918 MB / 1.123 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 133 * Number of variables: 133 Notification: Performance of Generate backend data structure: time 0.001834/1.274, allocations: 1.02 MB / 1.408 GB, free: 1.848 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 3.941e-05/1.274, allocations: 8.031 kB / 1.408 GB, free: 1.84 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001085/1.275, allocations: 151.6 kB / 1.408 GB, free: 1.691 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006408/1.276, allocations: 437.9 kB / 1.409 GB, free: 1.227 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.439e-05/1.276, allocations: 45.3 kB / 1.409 GB, free: 1.18 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.259e-05/1.276, allocations: 55.94 kB / 1.409 GB, free: 1.125 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001165/1.277, allocations: 0.6565 MB / 1.41 GB, free: 428 kB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.952e-05/1.277, allocations: 0 / 1.41 GB, free: 428 kB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.114e-05/1.277, allocations: 28 kB / 1.41 GB, free: 400 kB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.548e-05/1.277, allocations: 19.92 kB / 1.41 GB, free: 380 kB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001015/1.278, allocations: 495.5 kB / 1.41 GB, free: 15.89 MB / 1.139 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.003152/1.282, allocations: 2.991 MB / 1.413 GB, free: 12.66 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000579/1.282, allocations: 262.5 kB / 1.413 GB, free: 12.4 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003325/1.282, allocations: 168.8 kB / 1.413 GB, free: 12.23 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01726/1.3, allocations: 5.808 MB / 1.419 GB, free: 6.195 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.793e-05/1.3, allocations: 42.5 kB / 1.419 GB, free: 6.145 MB / 1.139 GB Notification: Performance of pre-optimization done (n=36): time 2.514e-06/1.3, allocations: 0 / 1.419 GB, free: 6.145 MB / 1.139 GB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: volDyn.p Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=52): time 0.09238/1.392, allocations: 31.88 MB / 1.45 GB, free: 6.215 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001051/1.392, allocations: 140.9 kB / 1.45 GB, free: 6.047 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005056/1.393, allocations: 373.6 kB / 1.451 GB, free: 5.68 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 4.823e-05/1.393, allocations: 37.7 kB / 1.451 GB, free: 5.637 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002054/1.393, allocations: 300.8 kB / 1.451 GB, free: 5.336 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001531/1.393, allocations: 186.4 kB / 1.451 GB, free: 5.152 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001945/1.394, allocations: 114.2 kB / 1.451 GB, free: 5.031 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.000165/1.394, allocations: 358.8 kB / 1.452 GB, free: 4.672 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005474/1.394, allocations: 237 kB / 1.452 GB, free: 4.441 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006527/1.395, allocations: 372.5 kB / 1.452 GB, free: 4.027 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001175/1.396, allocations: 0.5864 MB / 1.453 GB, free: 3.398 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/1.396, allocations: 0 / 1.453 GB, free: 3.398 MB / 1.17 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.00199/1.398, allocations: 0.8016 MB / 1.454 GB, free: 2.582 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.48e-05/1.398, allocations: 11.94 kB / 1.454 GB, free: 2.57 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.618e-06/1.398, allocations: 384 / 1.454 GB, free: 2.57 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005136/1.399, allocations: 125.6 kB / 1.454 GB, free: 2.441 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005722/1.399, allocations: 123.8 kB / 1.454 GB, free: 2.32 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003345/1.403, allocations: 3.429 MB / 1.457 GB, free: 14.61 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005686/1.403, allocations: 39.91 kB / 1.457 GB, free: 14.57 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.651e-05/1.403, allocations: 28.08 kB / 1.457 GB, free: 14.54 MB / 1.186 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (65): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0002958/1.404, allocations: 194.3 kB / 1.457 GB, free: 14.34 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001941/1.404, allocations: 51.72 kB / 1.457 GB, free: 14.29 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001814/1.406, allocations: 0.783 MB / 1.458 GB, free: 13.5 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.593e-06/1.406, allocations: 8 kB / 1.458 GB, free: 13.49 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.495e-06/1.406, allocations: 7.938 kB / 1.458 GB, free: 13.48 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.664e-06/1.406, allocations: 7.922 kB / 1.458 GB, free: 13.47 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003137/1.409, allocations: 1.61 MB / 1.46 GB, free: 11.76 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.143e-06/1.409, allocations: 4 kB / 1.46 GB, free: 11.76 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005295/1.409, allocations: 99.88 kB / 1.46 GB, free: 11.66 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002416/1.41, allocations: 68.8 kB / 1.46 GB, free: 11.59 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.833e-05/1.41, allocations: 16 kB / 1.46 GB, free: 11.57 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001649/1.411, allocations: 1.788 MB / 1.462 GB, free: 9.648 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/1.411, allocations: 0 / 1.462 GB, free: 9.648 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002054/1.413, allocations: 1.028 MB / 1.463 GB, free: 8.559 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001438/1.414, allocations: 128.8 kB / 1.463 GB, free: 8.414 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.661e-05/1.414, allocations: 23.92 kB / 1.463 GB, free: 8.391 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00047/1.414, allocations: 24.05 kB / 1.463 GB, free: 8.367 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.25e-05/1.414, allocations: 39.95 kB / 1.463 GB, free: 8.328 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.798e-05/1.414, allocations: 27.92 kB / 1.463 GB, free: 8.301 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0004524/1.415, allocations: 354.8 kB / 1.463 GB, free: 7.953 MB / 1.186 GB Notification: Performance of sort global known variables: time 1.21e-07/1.415, allocations: 0 / 1.463 GB, free: 7.953 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.00429/1.419, allocations: 1.39 MB / 1.465 GB, free: 6.562 MB / 1.186 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 2 (volDyn.VWat,volSte.VWat) * 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 (48): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.007817/1.427, allocations: 0.7647 MB / 1.465 GB, free: 5.801 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.002089/1.429, allocations: 0.8152 MB / 1.466 GB, free: 4.957 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 5.511e-06/1.429, allocations: 0 / 1.466 GB, free: 4.957 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0008326/1.43, allocations: 390.5 kB / 1.467 GB, free: 4.562 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001739/1.432, allocations: 338.8 kB / 1.467 GB, free: 4.238 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001965/1.434, allocations: 1.214 MB / 1.468 GB, free: 2.957 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000426/1.434, allocations: 0.8751 MB / 1.469 GB, free: 2.055 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.000541/1.435, allocations: 149.1 kB / 1.469 GB, free: 1.918 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001789/1.435, allocations: 67.36 kB / 1.469 GB, free: 1.852 MB / 1.186 GB Notification: Performance of SimCode: time 4e-07/1.435, allocations: 0 / 1.469 GB, free: 1.852 MB / 1.186 GB Notification: Performance of Templates: time 0.08775/1.522, allocations: 63.9 MB / 1.532 GB, free: 2.578 MB / 1.248 GB make -j1 -f Buildings_latest_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.makefile (rm -f Buildings_latest_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.pipe ; mkfifo Buildings_latest_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.pipe ; head -c 1048576 < Buildings_latest_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.pipe >> ../files/Buildings_latest_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.sim & ./Buildings_latest_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.pipe 2>&1)