Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Experimental.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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.Experimental.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.Experimental.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation") translateModel(Buildings.Experimental.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.Experimental.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.001435/0.001435, allocations: 113.3 kB / 16.37 MB, free: 6.012 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.001515/0.001515, allocations: 193.8 kB / 17.3 MB, free: 5.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.373/1.373, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.574/2.574, allocations: 442.6 MB / 0.7165 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001306/0.001306, allocations: 74.31 kB / 0.8774 GB, free: 10.98 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2936/0.2949, allocations: 153 MB / 1.027 GB, free: 2.074 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation): time 0.8738/1.169, allocations: 162.7 MB / 1.186 GB, free: 1.375 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.01517/1.184, allocations: 8.863 MB / 1.194 GB, free: 10.36 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001155/1.185, allocations: 23.19 kB / 1.194 GB, free: 10.35 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001446/1.187, allocations: 342.7 kB / 1.195 GB, free: 10.07 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.004114/1.191, allocations: 1.11 MB / 1.196 GB, free: 9.223 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.007049/1.198, allocations: 2.12 MB / 1.198 GB, free: 7.703 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.002365/1.2, allocations: 1.385 MB / 1.199 GB, free: 6.898 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001032/1.201, allocations: 433.7 kB / 1.2 GB, free: 6.629 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005598/1.207, allocations: 2.083 MB / 1.202 GB, free: 5.242 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003575/1.211, allocations: 1.305 MB / 1.203 GB, free: 4.371 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0002193/1.211, allocations: 51.16 kB / 1.203 GB, free: 4.371 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007087/1.218, allocations: 2.891 MB / 1.206 GB, free: 2.891 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0003559/1.218, allocations: 157.3 kB / 1.206 GB, free: 2.766 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0007406/1.219, allocations: 348.9 kB / 1.206 GB, free: 2.559 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.004993/1.224, allocations: 2.222 MB / 1.208 GB, free: 1.098 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/1.224, allocations: 4 kB / 1.208 GB, free: 1.094 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.793e-06/1.224, allocations: 0 / 1.208 GB, free: 1.094 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 4.154e-05/1.224, allocations: 0 / 1.208 GB, free: 1.094 MB / 0.9044 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.002617/1.227, allocations: 0.9979 MB / 1.209 GB, free: 324 kB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.28e-05/1.227, allocations: 10.31 kB / 1.209 GB, free: 324 kB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001256/1.228, allocations: 147.8 kB / 1.21 GB, free: 248 kB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001009/1.229, allocations: 434.3 kB / 1.21 GB, free: 15.85 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.676e-05/1.229, allocations: 48.19 kB / 1.21 GB, free: 15.83 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.768e-05/1.229, allocations: 48.31 kB / 1.21 GB, free: 15.81 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001273/1.231, allocations: 0.6568 MB / 1.211 GB, free: 15.36 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.236e-05/1.231, allocations: 2.719 kB / 1.211 GB, free: 15.36 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.882e-05/1.231, allocations: 26.84 kB / 1.211 GB, free: 15.34 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.632e-05/1.231, allocations: 16.62 kB / 1.211 GB, free: 15.33 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001093/1.232, allocations: 495.7 kB / 1.211 GB, free: 15.09 MB / 0.92 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.004129/1.236, allocations: 2.983 MB / 1.214 GB, free: 12.31 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006211/1.237, allocations: 270.5 kB / 1.214 GB, free: 12.17 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003374/1.237, allocations: 169.3 kB / 1.214 GB, free: 12.08 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01704/1.254, allocations: 5.81 MB / 1.22 GB, free: 6.734 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.291e-05/1.254, allocations: 46.36 kB / 1.22 GB, free: 6.684 MB / 0.92 GB Notification: Performance of pre-optimization done (n=36): time 2.324e-06/1.254, allocations: 0 / 1.22 GB, free: 6.684 MB / 0.92 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.0856/1.34, allocations: 31.89 MB / 1.251 GB, free: 6.777 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.895e-05/1.34, allocations: 133 kB / 1.251 GB, free: 6.617 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006045/1.341, allocations: 381.5 kB / 1.252 GB, free: 6.234 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 6.934e-05/1.341, allocations: 37.7 kB / 1.252 GB, free: 6.191 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002239/1.341, allocations: 292.1 kB / 1.252 GB, free: 5.902 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001696/1.341, allocations: 181.3 kB / 1.252 GB, free: 5.723 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002009/1.341, allocations: 110.1 kB / 1.252 GB, free: 5.609 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001878/1.341, allocations: 358.8 kB / 1.253 GB, free: 5.25 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000547/1.342, allocations: 237 kB / 1.253 GB, free: 5.016 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007271/1.343, allocations: 376.4 kB / 1.253 GB, free: 4.602 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001176/1.344, allocations: 0.5903 MB / 1.254 GB, free: 3.969 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.091e-06/1.344, allocations: 4 kB / 1.254 GB, free: 3.965 MB / 0.9512 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.002134/1.346, allocations: 0.7857 MB / 1.255 GB, free: 3.168 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 3.422e-05/1.346, allocations: 8.375 kB / 1.255 GB, free: 3.16 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.039e-05/1.346, allocations: 11.94 kB / 1.255 GB, free: 3.148 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000568/1.347, allocations: 122.3 kB / 1.255 GB, free: 3.023 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005899/1.347, allocations: 123.9 kB / 1.255 GB, free: 2.902 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003838/1.351, allocations: 3.439 MB / 1.258 GB, free: 15.18 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007439/1.352, allocations: 39.89 kB / 1.258 GB, free: 15.14 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.468e-05/1.352, allocations: 24 kB / 1.258 GB, free: 15.12 MB / 0.9669 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.0003593/1.352, allocations: 201.7 kB / 1.259 GB, free: 14.91 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002698/1.353, allocations: 47.44 kB / 1.259 GB, free: 14.87 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001825/1.354, allocations: 0.7939 MB / 1.259 GB, free: 14.06 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.135e-06/1.354, allocations: 8 kB / 1.259 GB, free: 14.05 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.835e-06/1.355, allocations: 0 / 1.259 GB, free: 14.05 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.643e-06/1.355, allocations: 0 / 1.259 GB, free: 14.05 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003174/1.358, allocations: 1.61 MB / 1.261 GB, free: 12.34 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.114e-05/1.358, allocations: 4 kB / 1.261 GB, free: 12.34 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004926/1.358, allocations: 103.8 kB / 1.261 GB, free: 12.23 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002485/1.358, allocations: 64.81 kB / 1.261 GB, free: 12.17 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.593e-05/1.359, allocations: 20.27 kB / 1.261 GB, free: 12.15 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001951/1.36, allocations: 1.775 MB / 1.263 GB, free: 10.23 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.038e-06/1.361, allocations: 4 kB / 1.263 GB, free: 10.23 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002074/1.363, allocations: 1.016 MB / 1.264 GB, free: 9.156 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001772/1.363, allocations: 128.4 kB / 1.264 GB, free: 9.012 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001035/1.363, allocations: 19.94 kB / 1.264 GB, free: 8.992 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00049/1.363, allocations: 36.03 kB / 1.264 GB, free: 8.957 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001057/1.364, allocations: 43.89 kB / 1.264 GB, free: 8.914 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.928e-05/1.364, allocations: 23.98 kB / 1.264 GB, free: 8.891 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0004598/1.364, allocations: 354.8 kB / 1.264 GB, free: 8.543 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.3e-07/1.364, allocations: 0 / 1.264 GB, free: 8.543 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.004527/1.369, allocations: 1.39 MB / 1.266 GB, free: 7.152 MB / 0.9669 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.007739/1.376, allocations: 0.7566 MB / 1.267 GB, free: 6.395 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.002047/1.378, allocations: 0.828 MB / 1.267 GB, free: 5.547 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.013e-05/1.378, allocations: 4 kB / 1.267 GB, free: 5.543 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0008011/1.379, allocations: 376.2 kB / 1.268 GB, free: 5.164 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001709/1.381, allocations: 339.6 kB / 1.268 GB, free: 4.84 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002121/1.383, allocations: 1.193 MB / 1.269 GB, free: 3.578 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004354/1.384, allocations: 0.8751 MB / 1.27 GB, free: 2.676 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0005445/1.384, allocations: 149.2 kB / 1.27 GB, free: 2.543 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001695/1.384, allocations: 67.42 kB / 1.27 GB, free: 2.477 MB / 0.9669 GB Notification: Performance of SimCode: time 6.91e-07/1.384, allocations: 0 / 1.27 GB, free: 2.477 MB / 0.9669 GB Notification: Performance of Templates: time 0.09113/1.475, allocations: 64 MB / 1.333 GB, free: 3.18 MB / 1.029 GB make -j1 -f Buildings_latest_Buildings.Experimental.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.makefile (rm -f Buildings_latest_Buildings.Experimental.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.pipe ; mkfifo Buildings_latest_Buildings.Experimental.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.pipe ; head -c 1048576 < Buildings_latest_Buildings.Experimental.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.pipe >> ../files/Buildings_latest_Buildings.Experimental.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.sim & ./Buildings_latest_Buildings.Experimental.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Experimental.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.pipe 2>&1)